Commit Graph

19 Commits

Author SHA1 Message Date
44cd938115 Revert "Use shared LICENSE file for all xbps code."
This reverts commit be7d8cfaf1.

This commit missed some previous copyrights mentioned,
in general I think its better to have this per-file to
follow who wrote what and when.
2020-04-29 14:12:10 +02:00
be7d8cfaf1 Use shared LICENSE file for all xbps code. 2020-04-24 11:44:19 +02:00
9b695433a0 bin: sync usage and keep it consistent in all utils. 2020-04-20 21:25:14 +02:00
be06a3b578 xbps-uunshare: document end of options argument
Signed-off-by: Doan Tran Cong Danh <congdanhqx@gmail.com>
2019-11-24 12:28:45 +01:00
ca5a88e462 xbps-uunshare: Fixed typo in error message: uidmap -> uid_map.
Thanks @parke #28
2019-04-22 14:54:29 +02:00
513bf65c6d uunshare: fix argument parsing 2018-04-30 18:22:28 +02:00
449dc8a551 Revert "bin/xbps-uunshare: stop option parsing at the first nonoption argument"
This reverts commit 6cca905d64.
2018-04-16 14:00:30 +02:00
6cca905d64 bin/xbps-uunshare: stop option parsing at the first nonoption argument 2016-09-25 22:26:47 +02:00
2a6e805bb4 bin/xbps-uunshare: allow relative chroot directory 2016-09-25 22:23:17 +02:00
b1e6efeebe Use getopt_long instead of getopt, for musl. 2015-06-21 07:06:18 -07:00
2baf1ae101 xbps-uunshare: replace -D/-H/-S with -b src/dest and switch to getopt(3). 2015-05-06 11:40:19 +02:00
52dae50075 xbps-uunshare: replace clone/exec with unshare/exec cmd.
There's no reason to clone and run cmd in the child, replace the
execution environment with cmd directly to avoid the child process.
2015-03-13 21:14:28 +01:00
519ea4001c xbps-uunshare: fix typo in an error msg (thanks uggedal). 2015-03-12 19:05:05 +01:00
301b6d220e xbps-uunshare: fix previous (15977278). 2015-03-09 12:45:32 +01:00
1597727814 xbps-uunshare: do not fail if /proc/self/setgroups does not exist.
3.16 supports user_namespaces(7) but does not have /proc/self/setgroups.

Found by @cheneukirchen.
2015-03-09 12:34:57 +01:00
77e83d4b17 xbps-uunshare: for compat with uchroot, use the uid/gid of the calling process.
... rather than setting this up for uid/gid 0.
2015-03-06 07:39:31 +01:00
3da2c3fdda xbps-uunshare: silence a clang warning. 2015-03-05 19:24:33 +01:00
26944cf6be xbps-uunshare: chdir to the correct dir for bind mounts. 2015-03-05 19:06:39 +01:00
58e6d71d24 New utility: xbps-uunshare(8) - like xbps-uchroot(8) with user_namespaces(7). 2015-03-05 18:44:20 +01:00