When a process with non-zero user IDs performs an execve(), the
process's capability sets are cleared. When a process with zero
user IDs performs an execve(), the process's capability sets are
set.
Signed-off-by: Yuan Sun
---
runtest/containers | 1 +
testcases/
I forgot to add .gitignore. Please ignore the patch.
On 2015/7/31 14:17, Yuan Sun wrote:
>A process created via fork(2) or clone(2) without the CLONE_NEWUSER
> flag is a member of the same user namespace as its parent.
>When unshare an user namespace, the calling process is moved into a
> n
A process created via fork(2) or clone(2) without the CLONE_NEWUSER
flag is a member of the same user namespace as its parent.
When unshare an user namespace, the calling process is moved into a
new user namespace which is not shared with any previously existing
process.
Signed-off-by: Yuan Su
The program is here.
msgrcv08.c
---
/*
* Copyright (c) 2015 Author: Gabriellla Schmidt
* Modify: Li Wang
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* publish
On 2015/7/31 14:24, Li Wang wrote:
> Then, I came up with a idea that I don't include the ltp-lib file in
> 'msgrcv08.c',
> and just add two lines in the .../ipc/msgrcv/Makefile:
>
> msgrcv08:
> gcc -g -O2 -Wall -m32 msgrcv08.c -o msgrcv08
>
> It works for me, but I know it's not appro
Signed-off-by: Yuan Sun
---
testcases/kernel/containers/libclone/libclone.c | 2 +-
testcases/kernel/containers/libclone/libclone.h | 6 +-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/testcases/kernel/containers/libclone/libclone.c
b/testcases/kernel/containers/libclone/li