Philipp Emanuel Weidmann
Philipp Emanuel Weidmann
In principle, that's exactly what we want. Unfortunately, it doesn't actually work (see https://github.com/p-e-w/maybe/issues/34). I believe the culprit is the wrapper created by `pip install`. No matter what value is...
That's odd indeed... I was under the impression that `syscall` was just an alias for `int 0x80`. If that technique worked in general, all `ptrace` sandboxes would be ineffective, so...
@swapnilsm: Not yet, I'm still searching for a reliable way to identify those syscalls among the hundreds that Linux has in total.
@sanketplus: Here is the basic problem (bash): ``` $ sudo reb --> PRESS TAB KEY $ sudo reboot $ maybe reb --> PRESS TAB KEY $ maybe reb ``` bash...
No, and in fact I have no clue how to achieve it yet :wink: I'd be very happy to accept a pull request for this issue. Looking at `sudo` is...
argcomplete looks fantastic – I had no idea something like this existed! From the documentation, it seems that it will take care of option completion automatically, which leaves only completion...
I found `sudo`'s completion file: https://github.com/scop/bash-completion/blob/master/completions/sudo. Also, `complete -p` gives ``` complete -F _root_command sudo ``` similar to what you discovered. I have searched the web in vain for more...
Two potential issues: 1. Installing to `/etc/bash_completion.d/` requires root privileges. This means it won't work with `pip install --user` or virtualenv installs, which is quite a pity. 2. If we...
Thank you for reporting this, can you reproduce either of these errors without running as a superuser (with different commands, probably, as these two require root)?
Could you comment the exception handling around https://github.com/p-e-w/maybe/blob/master/maybe/maybe.py#L157 and then rerun so we can get the full stacktrace? Be warned that this might allow blocked syscalls to execute (unless you...