Home
last modified time | relevance | path

Searched refs:execve (Results 1 – 25 of 62) sorted by relevance

123

/linux-6.6.21/Documentation/translations/zh_CN/userspace-api/
Dno_new_privs.rst14 execve系统调用可以给一个新启动的程序授予它的父程序本没有的权限。最明显的两个
26 用的机制来保证一个进程安全地修改其执行环境并跨execve持久化。任何任务都可以设
27 置 ``no_new_privs`` 。一旦该位被设置,它会在fork、clone和execve中继承下去
28 ,并且不能被撤销。在 ``no_new_privs`` 被设置的情况下, ``execve()`` 将保证
29 不会授予权限去做任何没有execve调用就不能做的事情。比如, setuid 和 setgid
31 LSM)不会在execve调用后放松限制。
41 请注意, ``no_new_privs`` 并不能阻止不涉及 ``execve()`` 的权限变化。一个拥有
46 - 为seccomp模式2沙箱安装的过滤器会跨execve持久化,并能够改变新执行程序的行为。
Dseccomp_filter.rst60 如果 ``fork`` / ``clone`` 和 ``execve`` 被 @prog 所允许,任何子进程都将
/linux-6.6.21/tools/testing/selftests/exec/
Dnull-argv.c71 FORK(execve(argv[0], str, NULL)); in main()
72 FORK(execve(argv[0], NULL, NULL)); in main()
73 FORK(execve(argv[0], NULL, envp)); in main()
74 FORK(execve(argv[0], args, NULL)); in main()
75 FORK(execve(argv[0], args, envp)); in main()
Drecursion-depth.c61 int rv = execve(FILENAME, NULL, NULL); in main()
/linux-6.6.21/Documentation/userspace-api/
Dno_new_privs.rst5 The execve system call can grant a newly-started program privileges that
23 execution environment in a manner that persists across execve. Any task
25 clone, and execve and cannot be unset. With ``no_new_privs`` set, ``execve()``
27 been done without the execve call. For example, the setuid and setgid
30 execve.
42 involve ``execve()``. An appropriately privileged task can still call
48 execve and can change the behavior of newly-executed programs.
Dspec_ctrl.rst43 cleared on :manpage:`execve(2)`.
/linux-6.6.21/Documentation/riscv/
Dvector.rst34 enablement status on execve(). The system-wide default setting can be
50 at next execve(). bit[4] defines the inheritance mode of the setting in
62 Vector enablement setting for the calling thread at the next execve()
65 enablement status when execve() happen.
69 is set then the following execve() will not clear the setting in both
83 PR_RISCV_V_VSTATE_CTRL_NEXT_MASK happens at the next execve() call, or
84 all following execve() calls if PR_RISCV_V_VSTATE_CTRL_INHERIT bit is
92 next execve() call and the inheritance bit are all OR-ed together.
121 At every execve() call, a new enablement status of the new process is set to
132 status of any existing process of thread that do not make an execve() call.
/linux-6.6.21/Documentation/arch/arm64/
Dasymmetric-32bit.rst19 ``execve(2)`` of 32-bit ELF binaries, with the latter returning
65 ``execve(2)``
69 ``execve(2)``. This is not always possible on an asymmetric system,
77 preserved across ``execve(2)`` of 32-bit programs.
90 A subsequent ``execve(2)`` of a 64-bit program by the 32-bit task will
94 policy or cpuset hierarchy, in which case the ``execve(2)`` continues
100 ``execve(2)`` is invalidated.
110 ``execve(2)`` of a 32-bit program from a 64-bit deadline task will
114 `execve(2)`_, in which case step (1) is skipped and a warning is
136 (2) of the process described in `execve(2)`_ and the cpuset hierarchy is
Dsme.rst112 exceptions for execve() described in section 6.
192 Inherit the current vector length across execve(). Otherwise, the
193 vector length is reset to the system default at execve(). (See
198 Defer the requested vector length change until the next execve()
202 call immediately after the next execve() (if any) by the thread:
221 to be applied at the next execve() by the thread (dependent on whether
234 vector length that will be applied at the next execve() by the calling
258 Vector length will be inherited across execve().
262 fork() or vfork() and the corresponding execve() in typical use).
395 * At every execve() call, the new vector length of the new process is set to
[all …]
Dsve.rst128 exceptions for execve() described in section 6.
217 Inherit the current vector length across execve(). Otherwise, the
218 vector length is reset to the system default at execve(). (See
223 Defer the requested vector length change until the next execve()
227 call immediately after the next execve() (if any) by the thread:
247 to be applied at the next execve() by the thread (dependent on whether
260 vector length that will be applied at the next execve() by the calling
278 Vector length will be inherited across execve().
282 fork() or vfork() and the corresponding execve() in typical use).
444 * At every execve() call, the new vector length of the new process is set to
[all …]
/linux-6.6.21/tools/perf/trace/strace/groups/
Dfile4 execve
Dstring10 execve
/linux-6.6.21/tools/testing/selftests/timens/
Dexec.c80 execve("/proc/self/exe", cargv, cenv); in main()
Dvfork_exec.c120 execve("/proc/self/exe", cargv, cenv); in main()
/linux-6.6.21/tools/testing/selftests/riscv/vector/
Dvstate_exec_nolibc.c33 rc = execve(THIS_PROGRAM, exec_argv, exec_envp); in main()
Dvstate_prctl.c36 rc = execve(NEXT_PROGRAM, exec_argv, exec_envp); in launch_test()
/linux-6.6.21/tools/perf/bench/
Dsyscall.c65 execve(pathname, argv, NULL); in test_execve()
/linux-6.6.21/tools/testing/selftests/rlimits/
Drlimits-per-userns.c81 execve(service_prog, argv, envp); in fork_child()
/linux-6.6.21/tools/testing/selftests/powerpc/dexcr/
Dhashchk_test.c133 execve("/proc/self/exe", hashchk_exec_child_args, NULL); in hashchk_exec_random_key_test()
/linux-6.6.21/tools/testing/selftests/powerpc/benchmarks/
Dfork.c79 if (execve("./exec_target", argv, NULL) == -1) { in run_exec()
/linux-6.6.21/Documentation/security/
Dcredentials.rst167 ``execve()``.
170 ``execve()``, especially when a binary is executed that will execute as
177 execve(). They aren't used directly as objective or subjective
242 operations allowed or disallowed as a result. In the case of execve(), the
446 ``execve()``.
/linux-6.6.21/kernel/
Daudit.h200 } execve; member
/linux-6.6.21/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl70 59 64 execve sys_execve
393 520 x32 execve compat_sys_execve
/linux-6.6.21/arch/x86/entry/syscalls/
Dsyscall_64.tbl70 59 64 execve sys_execve
393 520 x32 execve compat_sys_execve
/linux-6.6.21/arch/sparc/kernel/syscalls/
Dsyscall.tbl82 59 32 execve sys_execve sys32_execve
83 59 64 execve sys64_execve

123