Home
last modified time | relevance | path

Searched refs:setgid (Results 1 – 25 of 38) sorted by relevance

12

/linux-6.6.21/Documentation/translations/zh_CN/userspace-api/
Dno_new_privs.rst15 例子就是setuid/setgid控制程序和文件的能力。为了避免父程序也获得这些权限,内
29 不会授予权限去做任何没有execve调用就不能做的事情。比如, setuid 和 setgid
51 setgid 和使用文件能力的二进制来提权;它需要先攻击一些没有被设置 ``no_new_privs``
/linux-6.6.21/fs/devpts/
Dinode.c77 int setgid; member
235 opts->setgid = 0; in parse_mount_options()
275 opts->setgid = 1; in parse_mount_options()
393 if (opts->setgid) in devpts_show_options()
562 inode->i_gid = opts->setgid ? opts->gid : current_fsgid(); in devpts_pty_new()
/linux-6.6.21/Documentation/userspace-api/
Dno_new_privs.rst6 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.6.21/tools/testing/selftests/safesetid/
Dsafesetid-test.c333 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.6.21/tools/testing/selftests/clone3/
Dclone3_cap_checkpoint_restore.c169 EXPECT_EQ(setgid(65534), 0) in TEST()
/linux-6.6.21/tools/testing/selftests/rlimits/
Drlimits-per-userns.c65 if (setgid(group) < 0) in fork_child()
/linux-6.6.21/tools/testing/selftests/mount/
Dnosymfollow-test.c106 if (setgid(0) != 0) in create_and_enter_ns()
Dunprivileged-remount-test.c171 if (setgid(0) != 0) { in create_and_enter_userns()
/linux-6.6.21/tools/testing/selftests/move_mount_set_group/
Dmove_mount_set_group_test.c101 if (setgid(0)) in create_and_enter_userns()
/linux-6.6.21/kernel/
Dsys_ni.c96 COND_SYSCALL(setgid);
/linux-6.6.21/arch/sparc/kernel/syscalls/
Dsyscall.tbl65 46 32 setgid sys_setgid16
66 46 64 setgid sys_setgid
/linux-6.6.21/tools/perf/arch/s390/entry/syscalls/
Dsyscall.tbl49 46 32 setgid - sys_setgid16
223 214 64 setgid sys_setgid -
/linux-6.6.21/arch/s390/kernel/syscalls/
Dsyscall.tbl49 46 32 setgid - sys_setgid16
223 214 64 setgid sys_setgid -
/linux-6.6.21/tools/testing/selftests/filesystems/binderfs/
Dbinderfs_test.c210 if (setgid(0)) in setid_userns_root()
/linux-6.6.21/tools/perf/arch/mips/entry/syscalls/
Dsyscall_n64.tbl114 104 n64 setgid sys_setgid
/linux-6.6.21/arch/ia64/kernel/syscalls/
Dsyscall.tbl49 37 common setgid sys_setgid
/linux-6.6.21/arch/mips/kernel/syscalls/
Dsyscall_n64.tbl114 104 n64 setgid sys_setgid
Dsyscall_n32.tbl114 104 n32 setgid sys_setgid
/linux-6.6.21/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl117 106 common setgid sys_setgid
/linux-6.6.21/arch/xtensa/kernel/syscalls/
Dsyscall.tbl152 138 common setgid sys_setgid
/linux-6.6.21/arch/x86/entry/syscalls/
Dsyscall_64.tbl117 106 common setgid sys_setgid
/linux-6.6.21/arch/m68k/kernel/syscalls/
Dsyscall.tbl56 46 common setgid sys_setgid16
/linux-6.6.21/arch/parisc/kernel/syscalls/
Dsyscall.tbl59 46 common setgid sys_setgid
/linux-6.6.21/arch/microblaze/kernel/syscalls/
Dsyscall.tbl56 46 common setgid sys_setgid
/linux-6.6.21/Documentation/filesystems/
Daffs.rst51 setgid[=gid]

12