diff options
author | Ludovic Courtès <ludovic.courtes@inria.fr> | 2018-05-11 16:41:35 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-05-11 18:42:42 +0200 |
commit | 30da3173d5ee69777d0e1de4f9c977dea72e8a77 (patch) | |
tree | 8a84503e606c2b97469d66160bf071fbac66e64e /guix/scripts | |
parent | 10673d150f5d374081d1d993b936370cda31b0ad (diff) | |
download | gnu-guix-30da3173d5ee69777d0e1de4f9c977dea72e8a77.tar gnu-guix-30da3173d5ee69777d0e1de4f9c977dea72e8a77.tar.gz |
pack: Relocatable wrapper now properly maps the current UID/GID.
* gnu/packages/aux-files/run-in-namespace.c (write_id_map)
(disallow_setgroups): New functions.
(main): Use 'clone' via 'syscall' instead of 'fork' followed by
'unshare'. Add calls to 'disallow_setgroups' and 'write_id_map' in the
parent process.
Diffstat (limited to 'guix/scripts')
0 files changed, 0 insertions, 0 deletions