History log of /external/toybox/toys/other/nsenter.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0b545a471ca8a0a6fc95838b5352510d181fa407 28-Sep-2016 Rob Landley <rob@landley.net> Make setns depend on TOYBOX_CONTAINER probed value.
/external/toybox/toys/other/nsenter.c
027a73a903af306449710ce12bc09e0e3550c6c9 04-Aug-2016 Rob Landley <rob@landley.net> Make xopen() skip stdin/stdout/stderr, add xopen_stdio() if you want stdout,
add xopenro() that takes one argument and understands "-" means stdin,
and switch over lots of users.
/external/toybox/toys/other/nsenter.c
5f238a3b5c3de7d9500cc55f33969fe516e1cb86 27-Jan-2016 izabera <izaberina@gmail.com> long opts and -f for unshare
/external/toybox/toys/other/nsenter.c
7d6af77804adc069a83e8566250f868a6cb9786e 29-Sep-2015 Rob Landley <rob@landley.net> Make defconfig build for nommu.

Adds XVFORK() macro, teaches xpopen_both() to call /proc/self/exe with NULL
argv (and converts cpio -p to use that), adds TOYBOX_FORK guards to some
unconverted commands.
/external/toybox/toys/other/nsenter.c
3c0be8a473c01a23f5413c88a3aa6e60b4772e5a 12-Apr-2015 Samuel Holland <samuel@sholland.net> unshare: fix -r

Calling unshare(2) immediately puts us in the new namespace
with the "overflow" user and group ID. By calling geteuid()
and getegid() in handle_r() after calling unshare(), we try
to map that to root, which Linux refuses to let us do.

What we really want to map to root is the caller's uid/gid
in the original namespace. So we have to save them before
calling unshare().
/external/toybox/toys/other/nsenter.c
052df4052fc5adba22a7a00593dbd19a6e4390df 12-Mar-2015 Rob Landley <rob@landley.net> Switch nsenter to default y.
/external/toybox/toys/other/nsenter.c
fb4a241f35cf4baa6d6f2ebef9f3fd9929f4989b 18-Feb-2015 Rob Landley <rob@landley.net> Patch from Isaac Dunham to add -r, fixed up so it doesn't try to include two flag contexts simultaneously.
/external/toybox/toys/other/nsenter.c
c0045207a7cd3bc11aace920d895c69b027c16af 07-Feb-2015 Rob Landley <rob@landley.net> Make toy_exec() check if argc is in optargs and deal with it there so we don't need a separate xexec_optargs().
/external/toybox/toys/other/nsenter.c
a48cfba9520a8ad9bf1308dcbac3fc6ee23894ba 07-Feb-2015 Rob Landley <rob@landley.net> Merge unshare and nsenter (promoting and cleaning up nsenter).

Needs more testing, don't have a test environment set up for this yet...
/external/toybox/toys/other/nsenter.c