Home
last modified time | relevance | path

Searched refs:setuid (Results 1 – 25 of 52) sorted by relevance

123

/linux/Documentation/translations/zh_CN/userspace-api/
H A Dno_new_privs.rst29 不会授予权限去做任何没有execve调用就不能做的事情。比如, setuid 和 setgid
42 适当权限的任务仍然可以调用 ``setuid(2)`` 并接收 SCM_RIGHTS 数据报。
50 运行的程序都设置了 ``no_new_privs`` ,那么那个 uid 将无法通过攻击 setuid
/linux/Documentation/userspace-api/
H A Dno_new_privs.rst6 its parent did not have. The most obvious examples are setuid/setgid
13 a program is setuid.
27 been done without the execve call. For example, the setuid and setgid
43 ``setuid(2)`` and receive SCM_RIGHTS datagrams.
55 escalate its privileges by directly attacking setuid, setgid, and
/linux/tools/testing/selftests/cgroup/
H A Dtest_cpuset.c19 if (setuid(TEST_UID)) in do_migration_fn()
35 if (setuid(TEST_UID)) in do_controller_fn()
/linux/tools/testing/selftests/safesetid/
H A Dsafesetid-test.c277 if (setuid(child_uid) < 0) in test_setuid()
492 if (setuid(NO_POLICY_UGID) < 0) in main()
507 if (setuid(RESTRICTED_PARENT_UGID) < 0) in main()
/linux/Documentation/admin-guide/LSM/
H A DSafeSetID.rst27 especially since programs often only call setuid() to drop privileges to a
30 switch to through setuid() beyond allowing a switch to any user on the system.
39 do any unapproved actions (e.g. setuid to uid 0 or create/enter new user
92 "Since setuid only affects the current process, and since the SELinux controls
/linux/tools/testing/selftests/clone3/
H A Dclone3_cap_checkpoint_restore.c167 ASSERT_EQ(setuid(65534), 0); in TEST()
/linux/tools/testing/selftests/rlimits/
H A Drlimits-per-userns.c67 if (setuid(user) < 0) in fork_child()
68 err(EXIT_FAILURE, "(pid=%d): setuid(%d)", pid, user); in fork_child()
/linux/tools/testing/selftests/mount/
H A Dnosymfollow-test.c108 if (setuid(0) != 0) in create_and_enter_ns()
109 die("setuid(0) failed %s\n", strerror(errno)); in create_and_enter_ns()
H A Dunprivileged-remount-test.c175 if (setuid(0) != 0) { in create_and_enter_userns()
176 die("setuid(0) failed %s\n", in create_and_enter_userns()
/linux/tools/testing/selftests/net/
H A Dipv6_flowlabel_mgr.c130 explain("child process can get it too, but not after setuid(nobody)"); in run_tests()
136 if (setuid(USHRT_MAX)) in run_tests()
137 fprintf(stderr, "[INFO] skip setuid child test\n"); in run_tests()
/linux/tools/testing/selftests/move_mount_set_group/
H A Dmove_mount_set_group_test.c104 if (setuid(0)) in create_and_enter_userns()
/linux/kernel/
H A Dsys_ni.c97 COND_SYSCALL(setuid);
/linux/arch/sparc/kernel/syscalls/
H A Dsyscall.tbl37 23 32 setuid sys_setuid16
38 23 64 setuid sys_setuid
/linux/tools/perf/arch/sparc/entry/syscalls/
H A Dsyscall.tbl37 23 32 setuid sys_setuid16
38 23 64 setuid sys_setuid
/linux/tools/perf/arch/s390/entry/syscalls/
H A Dsyscall.tbl31 23 32 setuid - sys_setuid16
221 213 64 setuid sys_setuid -
/linux/arch/s390/kernel/syscalls/
H A Dsyscall.tbl31 23 32 setuid - sys_setuid16
221 213 64 setuid sys_setuid -
/linux/tools/testing/selftests/landlock/
H A Dscoped_signal_test.c332 /* libc's setuid() should update all thread's credentials. */ in thread_setuid()
366 EXPECT_EQ(0, setuid(arg.new_uid)); in TEST()
/linux/Documentation/admin-guide/sysctl/
H A Dfs.rst202 from "pinning" vulnerable setuid/setgid files against being upgraded by
252 This value can be used to query and set the core dump mode for setuid
/linux/Documentation/filesystems/
H A Dfuse.rst208 program (fusermount) is needed, which is installed setuid root.
233 setuid and setgid bits when executing programs. To ensure this
/linux/arch/mips/kernel/syscalls/
H A Dsyscall_n64.tbl113 103 n64 setuid sys_setuid
/linux/Documentation/admin-guide/
H A Dbinfmt-misc.rst81 will run with root permissions when a setuid binary owned by root
/linux/tools/perf/arch/mips/entry/syscalls/
H A Dsyscall_n64.tbl113 103 n64 setuid sys_setuid
/linux/scripts/
H A Dsyscall.tbl183 146 common setuid sys_setuid
/linux/tools/scripts/
H A Dsyscall.tbl183 146 common setuid sys_setuid
/linux/tools/perf/arch/arm64/entry/syscalls/
H A Dsyscall_64.tbl183 146 common setuid sys_setuid

123