| /linux/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/fs/devpts/ |
| H A D | inode.c | 77 int setgid; member 239 opts->setgid = 1; in devpts_parse_param() 318 fsi->mount_opts.setgid = new->mount_opts.setgid; in devpts_reconfigure() 344 if (opts->setgid) in devpts_show_options() 516 inode->i_gid = opts->setgid ? opts->gid : current_fsgid(); in devpts_pty_new()
|
| /linux/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/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/tools/testing/selftests/clone3/ |
| H A D | clone3_cap_checkpoint_restore.c | 165 EXPECT_EQ(setgid(65534), 0) in TEST()
|
| /linux/tools/testing/selftests/namespaces/ |
| H A D | cred_change_test.c | 234 if (setgid(target_gid) < 0) { in TEST() 497 setgid(0); in TEST() 646 setgid(change_count % 50); in TEST()
|
| /linux/tools/testing/selftests/rlimits/ |
| H A D | rlimits-per-userns.c | 65 if (setgid(group) < 0) in fork_child()
|
| /linux/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/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/kernel/ |
| H A D | sys_ni.c | 95 COND_SYSCALL(setgid);
|
| /linux/arch/sparc/kernel/syscalls/ |
| H A D | syscall.tbl | 65 46 32 setgid sys_setgid16 66 46 64 setgid sys_setgid
|
| /linux/tools/perf/arch/sparc/entry/syscalls/ |
| H A D | syscall.tbl | 65 46 32 setgid sys_setgid16 66 46 64 setgid sys_setgid
|
| /linux/tools/testing/selftests/tty/ |
| H A D | tty_tiocsti_test.c | 326 ASSERT_EQ(setgid(1000), 0); in drop_all_privs()
|
| /linux/tools/perf/arch/s390/entry/syscalls/ |
| H A D | syscall.tbl | 49 46 32 setgid - sys_setgid16 223 214 64 setgid sys_setgid -
|
| /linux/tools/testing/selftests/filesystems/binderfs/ |
| H A D | binderfs_test.c | 211 if (setgid(0)) in setid_userns_root()
|
| /linux/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/tools/perf/arch/mips/entry/syscalls/ |
| H A D | syscall_n64.tbl | 114 104 n64 setgid sys_setgid
|
| /linux/scripts/ |
| H A D | syscall.tbl | 181 144 common setgid sys_setgid
|
| /linux/tools/scripts/ |
| H A D | syscall.tbl | 181 144 common setgid sys_setgid
|
| /linux/Documentation/filesystems/ |
| H A D | affs.rst | 51 setgid[=gid]
|
| /linux/arch/sh/kernel/syscalls/ |
| H A D | syscall.tbl | 56 46 common setgid sys_setgid16
|
| /linux/arch/xtensa/kernel/syscalls/ |
| H A D | syscall.tbl | 152 138 common setgid sys_setgid
|
| /linux/arch/m68k/kernel/syscalls/ |
| H A D | syscall.tbl | 56 46 common setgid sys_setgid16
|