Home
last modified time | relevance | path

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

12

/linux-6.12.1/Documentation/translations/zh_CN/userspace-api/
Dno_new_privs.rst15 例子就是setuid/setgid控制程序和文件的能力。为了避免父程序也获得这些权限,内
29 不会授予权限去做任何没有execve调用就不能做的事情。比如, setuid 和 setgid
51 setgid 和使用文件能力的二进制来提权;它需要先攻击一些没有被设置 ``no_new_privs``
/linux-6.12.1/fs/devpts/
Dinode.c76 int setgid; member
234 opts->setgid = 0; in parse_mount_options()
274 opts->setgid = 1; in parse_mount_options()
392 if (opts->setgid) in devpts_show_options()
561 inode->i_gid = opts->setgid ? opts->gid : current_fsgid(); in devpts_pty_new()
/linux-6.12.1/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.12.1/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.12.1/tools/testing/selftests/clone3/
Dclone3_cap_checkpoint_restore.c165 EXPECT_EQ(setgid(65534), 0) in TEST()
/linux-6.12.1/tools/testing/selftests/rlimits/
Drlimits-per-userns.c65 if (setgid(group) < 0) in fork_child()
/linux-6.12.1/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.12.1/tools/testing/selftests/move_mount_set_group/
Dmove_mount_set_group_test.c101 if (setgid(0)) in create_and_enter_userns()
/linux-6.12.1/kernel/
Dsys_ni.c95 COND_SYSCALL(setgid);
/linux-6.12.1/arch/sparc/kernel/syscalls/
Dsyscall.tbl65 46 32 setgid sys_setgid16
66 46 64 setgid sys_setgid
/linux-6.12.1/tools/perf/arch/s390/entry/syscalls/
Dsyscall.tbl49 46 32 setgid - sys_setgid16
223 214 64 setgid sys_setgid -
/linux-6.12.1/arch/s390/kernel/syscalls/
Dsyscall.tbl49 46 32 setgid - sys_setgid16
223 214 64 setgid sys_setgid -
/linux-6.12.1/tools/testing/selftests/filesystems/binderfs/
Dbinderfs_test.c211 if (setgid(0)) in setid_userns_root()
/linux-6.12.1/tools/perf/arch/mips/entry/syscalls/
Dsyscall_n64.tbl114 104 n64 setgid sys_setgid
/linux-6.12.1/arch/mips/kernel/syscalls/
Dsyscall_n64.tbl114 104 n64 setgid sys_setgid
Dsyscall_n32.tbl114 104 n32 setgid sys_setgid
/linux-6.12.1/arch/x86/entry/syscalls/
Dsyscall_64.tbl118 106 common setgid sys_setgid
/linux-6.12.1/arch/arm64/tools/
Dsyscall_64.tbl181 144 common setgid sys_setgid
/linux-6.12.1/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl118 106 common setgid sys_setgid
/linux-6.12.1/scripts/
Dsyscall.tbl181 144 common setgid sys_setgid
/linux-6.12.1/arch/xtensa/kernel/syscalls/
Dsyscall.tbl152 138 common setgid sys_setgid
/linux-6.12.1/Documentation/admin-guide/
Dxfs.rst69 ``setgid`` bit set, in which case it takes the ``gid`` from the
70 parent directory, and also gets the ``setgid`` bit set if it is
/linux-6.12.1/arch/parisc/kernel/syscalls/
Dsyscall.tbl59 46 common setgid sys_setgid
/linux-6.12.1/arch/microblaze/kernel/syscalls/
Dsyscall.tbl56 46 common setgid sys_setgid

12