diff options
author | Andrew G. Morgan <morgan@kernel.org> | 2021-10-22 12:10:26 -0700 |
---|---|---|
committer | Andrew G. Morgan <morgan@kernel.org> | 2021-10-22 12:10:40 -0700 |
commit | 73194f5369286e10c9e19cbd71de59c3b45b5789 (patch) | |
tree | 494d4124afb56e113cff28ec41a83958b4cc4502 /gomods.sh | |
parent | 5b16d336d009bc927a0545b9ecbb91942f1742f5 (diff) | |
download | libcap-73194f5369286e10c9e19cbd71de59c3b45b5789.tar.gz |
Make cap_launcher_t operations atomic.
Modify the cap_launch() behavior when chroot is set. Now, the
launcher code will force the post chroot() environment to
chdir("/").
Modify the API for many of the cap_launch_*() functions that
previously were void, to returning int (0=OK, -1=see errno).
I'm confident that this should be code backwardly compatible,
since the return values are new and prior code would have been
assuming success.
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
Diffstat (limited to 'gomods.sh')
0 files changed, 0 insertions, 0 deletions