/linux-6.3-rc2/Documentation/translations/zh_CN/userspace-api/ |
A D | no_new_privs.rst | 15 例子就是setuid/setgid控制程序和文件的能力。为了避免父程序也获得这些权限,内 29 不会授予权限去做任何没有execve调用就不能做的事情。比如, setuid 和 setgid 51 setgid 和使用文件能力的二进制来提权;它需要先攻击一些没有被设置 ``no_new_privs``
|
/linux-6.3-rc2/Documentation/userspace-api/ |
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.3-rc2/fs/devpts/ |
A D | inode.c | 95 int setgid; member 253 opts->setgid = 0; in parse_mount_options() 293 opts->setgid = 1; in parse_mount_options() 411 if (opts->setgid) in devpts_show_options() 580 inode->i_gid = opts->setgid ? opts->gid : current_fsgid(); in devpts_pty_new()
|
/linux-6.3-rc2/tools/testing/selftests/safesetid/ |
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.3-rc2/tools/testing/selftests/clone3/ |
A D | clone3_cap_checkpoint_restore.c | 169 EXPECT_EQ(setgid(65534), 0) in TEST()
|
/linux-6.3-rc2/tools/testing/selftests/rlimits/ |
A D | rlimits-per-userns.c | 65 if (setgid(group) < 0) in fork_child()
|
/linux-6.3-rc2/tools/testing/selftests/mount/ |
A D | nosymfollow-test.c | 106 if (setgid(0) != 0) in create_and_enter_ns()
|
A D | unprivileged-remount-test.c | 171 if (setgid(0) != 0) { in create_and_enter_userns()
|
/linux-6.3-rc2/tools/testing/selftests/move_mount_set_group/ |
A D | move_mount_set_group_test.c | 101 if (setgid(0)) in create_and_enter_userns()
|
/linux-6.3-rc2/kernel/ |
A D | sys_ni.c | 178 COND_SYSCALL(setgid);
|
/linux-6.3-rc2/arch/sparc/kernel/syscalls/ |
A D | syscall.tbl | 65 46 32 setgid sys_setgid16 66 46 64 setgid sys_setgid
|
/linux-6.3-rc2/arch/s390/kernel/syscalls/ |
A D | syscall.tbl | 49 46 32 setgid - sys_setgid16 223 214 64 setgid sys_setgid -
|
/linux-6.3-rc2/tools/perf/arch/s390/entry/syscalls/ |
A D | syscall.tbl | 49 46 32 setgid - sys_setgid16 223 214 64 setgid sys_setgid -
|
/linux-6.3-rc2/tools/testing/selftests/filesystems/binderfs/ |
A D | binderfs_test.c | 210 if (setgid(0)) in setid_userns_root()
|
/linux-6.3-rc2/arch/ia64/kernel/syscalls/ |
A D | syscall.tbl | 49 37 common setgid sys_setgid
|
/linux-6.3-rc2/tools/perf/arch/mips/entry/syscalls/ |
A D | syscall_n64.tbl | 114 104 n64 setgid sys_setgid
|
/linux-6.3-rc2/arch/mips/kernel/syscalls/ |
A D | syscall_n64.tbl | 114 104 n64 setgid sys_setgid
|
A D | syscall_n32.tbl | 114 104 n32 setgid sys_setgid
|
/linux-6.3-rc2/arch/x86/entry/syscalls/ |
A D | syscall_64.tbl | 117 106 common setgid sys_setgid
|
/linux-6.3-rc2/arch/xtensa/kernel/syscalls/ |
A D | syscall.tbl | 152 138 common setgid sys_setgid
|
/linux-6.3-rc2/tools/perf/arch/x86/entry/syscalls/ |
A D | syscall_64.tbl | 117 106 common setgid sys_setgid
|
/linux-6.3-rc2/arch/sh/kernel/syscalls/ |
A D | syscall.tbl | 56 46 common setgid sys_setgid16
|
/linux-6.3-rc2/arch/arm/tools/ |
A D | syscall.tbl | 60 46 common setgid sys_setgid16
|
/linux-6.3-rc2/arch/microblaze/kernel/syscalls/ |
A D | syscall.tbl | 56 46 common setgid sys_setgid
|
/linux-6.3-rc2/arch/m68k/kernel/syscalls/ |
A D | syscall.tbl | 56 46 common setgid sys_setgid16
|