| /linux-6.15/Documentation/translations/zh_CN/userspace-api/ |
| H A D | no_new_privs.rst | 15 例子就是setuid/setgid控制程序和文件的能力。为了避免父程序也获得这些权限,内 29 不会授予权限去做任何没有execve调用就不能做的事情。比如, setuid 和 setgid 51 setgid 和使用文件能力的二进制来提权;它需要先攻击一些没有被设置 ``no_new_privs``
|
| /linux-6.15/fs/devpts/ |
| H A D | inode.c | 77 int setgid; member 239 opts->setgid = 1; in devpts_parse_param() 332 fsi->mount_opts.setgid = new->mount_opts.setgid; in devpts_reconfigure() 358 if (opts->setgid) in devpts_show_options() 530 inode->i_gid = opts->setgid ? opts->gid : current_fsgid(); in devpts_pty_new()
|
| /linux-6.15/Documentation/userspace-api/ |
| H A D | no_new_privs.rst | 6 its parent did not have. The most obvious examples are setuid/setgid 27 been done without the execve call. For example, the setuid and setgid 55 escalate its privileges by directly attacking setuid, setgid, and
|
| /linux-6.15/tools/testing/selftests/safesetid/ |
| H A D | safesetid-test.c | 333 if (setgid(child_gid) < 0) in test_setgid() 490 if (setgid(NO_POLICY_UGID) < 0) in main() 505 if (setgid(RESTRICTED_PARENT_UGID) < 0) in main()
|
| /linux-6.15/tools/testing/selftests/clone3/ |
| H A D | clone3_cap_checkpoint_restore.c | 165 EXPECT_EQ(setgid(65534), 0) in TEST()
|
| /linux-6.15/tools/testing/selftests/rlimits/ |
| H A D | rlimits-per-userns.c | 65 if (setgid(group) < 0) in fork_child()
|
| /linux-6.15/tools/testing/selftests/mount/ |
| H A D | nosymfollow-test.c | 106 if (setgid(0) != 0) in create_and_enter_ns()
|
| H A D | unprivileged-remount-test.c | 171 if (setgid(0) != 0) { in create_and_enter_userns()
|
| /linux-6.15/tools/testing/selftests/move_mount_set_group/ |
| H A D | move_mount_set_group_test.c | 101 if (setgid(0)) in create_and_enter_userns()
|
| /linux-6.15/kernel/ |
| H A D | sys_ni.c | 95 COND_SYSCALL(setgid);
|
| /linux-6.15/arch/sparc/kernel/syscalls/ |
| H A D | syscall.tbl | 65 46 32 setgid sys_setgid16 66 46 64 setgid sys_setgid
|
| /linux-6.15/tools/perf/arch/sparc/entry/syscalls/ |
| H A D | syscall.tbl | 65 46 32 setgid sys_setgid16 66 46 64 setgid sys_setgid
|
| /linux-6.15/arch/s390/kernel/syscalls/ |
| H A D | syscall.tbl | 49 46 32 setgid - sys_setgid16 223 214 64 setgid sys_setgid -
|
| /linux-6.15/tools/perf/arch/s390/entry/syscalls/ |
| H A D | syscall.tbl | 49 46 32 setgid - sys_setgid16 223 214 64 setgid sys_setgid -
|
| /linux-6.15/tools/testing/selftests/filesystems/binderfs/ |
| H A D | binderfs_test.c | 210 if (setgid(0)) in setid_userns_root()
|
| /linux-6.15/arch/mips/kernel/syscalls/ |
| H A D | syscall_n64.tbl | 114 104 n64 setgid sys_setgid
|
| H A D | syscall_n32.tbl | 114 104 n32 setgid sys_setgid
|
| /linux-6.15/tools/perf/arch/mips/entry/syscalls/ |
| H A D | syscall_n64.tbl | 114 104 n64 setgid sys_setgid
|
| /linux-6.15/tools/scripts/ |
| H A D | syscall.tbl | 181 144 common setgid sys_setgid
|
| /linux-6.15/tools/perf/arch/arm64/entry/syscalls/ |
| H A D | syscall_64.tbl | 181 144 common setgid sys_setgid
|
| /linux-6.15/arch/arm64/tools/ |
| H A D | syscall_64.tbl | 181 144 common setgid sys_setgid
|
| /linux-6.15/scripts/ |
| H A D | syscall.tbl | 181 144 common setgid sys_setgid
|
| /linux-6.15/tools/perf/arch/x86/entry/syscalls/ |
| H A D | syscall_64.tbl | 118 106 common setgid sys_setgid
|
| /linux-6.15/tools/perf/arch/parisc/entry/syscalls/ |
| H A D | syscall.tbl | 59 46 common setgid sys_setgid
|
| /linux-6.15/arch/m68k/kernel/syscalls/ |
| H A D | syscall.tbl | 56 46 common setgid sys_setgid16
|