Comments (3)
There was a related (though not duplicate) discussion in #8
from up.
Using ptrace or seccomp seem to be new (but likely rather fiddly) additions to the list of potential read-only tools.
I only speak a little golang but it seems to me like using seccomp is a promising avenue because there is an actively maintained lib for interacting with it.
https://github.com/seccomp/libseccomp-golang
I think I'm going to dig through the docs for the fun of it.
This is pretty far afield of my normal experience, sorry if this suggestion is totally stupid. :-)
from up.
As @diego898 mentioned, some comments in #8 might be worth a look (not all of them, the very initial version of up was somewhat different and executed the pipeline on every keystroke, not just on Enter, and this topic is mixed a lot in that thread).
- A few more random comments in the wiki (though I didn't give the wiki as a whole the love it deserves...).
- A subthread about some related challenges from another person in today's discussion on HN
- As to whitelists, as far as I'm aware, some flags on seemingly innocent commands can still be dangerous; so I'm personally not sold on it, and would be afraid of lulling users into a false sense of security; for now I prefer to leave the responsibility on them, and with Enter as the "execute" key, to me it doesn't feel much different from a regular shell prompt in this aspect.
- Another HN subthread about a 'maybe' tool that could possibly do something related (or not?), and my reply that one could try playing with $SHELL to wire 'maybe' to up, potentially.
@jnovek I will certainly not work on that myself, but if you're interested in experimenting, I will try to be at least helpful from the up side of things :) [I'm kinda having a lot on my plate now, and still haven't regained all of my "mojo" towards up after releasing it, but I love interesting ideas, and this one for sure is :) I feel I would find fun in watching where you might get here :) and if you're stubbornly curious enough, I know by myself you might get amazingly far :)]
from up.
Related Issues (20)
- add --help option describing usage HOT 2
- Unable to paste text longer than 11 characters HOT 13
- Add delay to unsafe-full-throttle mode HOT 6
- Add tab completion functionality HOT 3
- ZSH integration HOT 3
- terminfo and kitty term HOT 6
- Allow to change colors HOT 3
- Logo time HOT 7
- Use a persistent shell instance, preferably an interactive one HOT 2
- Allow running up with no input HOT 3
- Chinese support got an issue HOT 1
- Make Ctrl-z work
- Make Ctrl-W work to erase the word before the cursor.
- snap package HOT 2
- [idea] diff mode HOT 1
- Input line not scrolling or wrapping when longer than the screen width HOT 1
- Feature Request: Shell Widget
- Run the pipeline up to the cursor only
- Add history
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from up.