Displaying 1 result from an estimated 1 matches for "lseccmp".
2020 Mar 05
3
[Bug 14315] New: rsync hangs when many errors
...ll Linux seccomp program to prohibit chgrp/chown syscalls.
1. Login to a linux account that belongs to at least 2 groups.
$ id
uid=1000(mvitale) gid=1000(mvitale) groups=1000(mvitale),10(wheel)
2. Build a program to simulate chown/chgrp errors:
$ sudo yum install libseccomp libseccomp-devel
$ cc -lseccmp seccomp-chown.c -o sec-kill-chown
The source code for seccomp-chown.c is attached to this ticket.
3. Create a large source directory with over 10000 files.
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
These files will all have the group ownership of the user'...