Home
last modified time | relevance | path

Searched refs:prctl (Results 1 – 44 of 44) sorted by relevance

/linux-4.1.27/Documentation/prctl/
Ddisable-tsc-test.c48 if ( prctl(PR_GET_TSC, &tsc_val) == -1) in sigsegv_cb()
54 if ( prctl(PR_SET_TSC, PR_TSC_ENABLE) == -1) in sigsegv_cb()
70 if ( prctl(PR_GET_TSC, &tsc_val) == -1) in main()
78 if ( prctl(PR_SET_TSC, PR_TSC_ENABLE) == -1) in main()
85 if ( prctl(PR_SET_TSC, PR_TSC_SIGSEGV) == -1) in main()
Ddisable-tsc-on-off-stress-test.c49 if (prctl(PR_SET_TSC, PR_TSC_ENABLE) < 0) in sigsegv_cb()
71 if (prctl(PR_SET_TSC, PR_TSC_SIGSEGV) < 0) in task()
Ddisable-tsc-ctxt-sw-stress-test.c45 if (prctl(PR_SET_TSC, PR_TSC_SIGSEGV) < 0) in segvtask()
66 if (prctl(PR_SET_TSC, PR_TSC_ENABLE) < 0) in rdtsctask()
Dseccomp_filter.txt46 prctl(2) call as the strict seccomp. If the architecture has
59 prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, prog);
69 Prior to use, the task must call prctl(PR_SET_NO_NEW_PRIVS, 1) or
75 Additionally, if prctl(2) is allowed by the attached filter,
Dno_new_privs.txt28 To set no_new_privs, use prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0).
/linux-4.1.27/Documentation/security/
DYama.txt30 For a solution, some applications use prctl(PR_SET_DUMPABLE, ...) to
39 prctl(PR_SET_PTRACER, pid, ...) can be used. An inferior can declare which
45 restrictions, it can call prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY, ...)
54 prctl(PR_SET_DUMPABLE...) already). Similarly, PTRACE_TRACEME is
61 inferior can call prctl(PR_SET_PTRACER, debugger, ...) to declare
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/
Dper_event_excludes.c77 prctl(PR_TASK_PERF_EVENTS_ENABLE); in per_event_excludes()
83 prctl(PR_TASK_PERF_EVENTS_DISABLE); in per_event_excludes()
Dcount_instructions.c35 prctl(PR_TASK_PERF_EVENTS_ENABLE); in do_count_loop()
40 prctl(PR_TASK_PERF_EVENTS_DISABLE); in do_count_loop()
/linux-4.1.27/samples/seccomp/
Dbpf-fancy.c87 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in main()
92 if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog)) { in main()
Dbpf-direct.c149 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in install_filter()
155 if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog)) { in install_filter()
Ddropper.c45 if (prctl(PR_SET_SECCOMP, 2, &prog)) { in install_filter()
/linux-4.1.27/tools/perf/tests/
Dkeep-tracking.c108 CHECK__(prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0)); in test__keep_tracking()
130 CHECK__(prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0)); in test__keep_tracking()
Dperf-time-to-tsc.c98 CHECK__(prctl(PR_SET_NAME, (unsigned long)comm1, 0, 0, 0)); in test__perf_time_to_tsc()
103 CHECK__(prctl(PR_SET_NAME, (unsigned long)comm2, 0, 0, 0)); in test__perf_time_to_tsc()
Dswitch-tracking.c471 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()
484 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()
497 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()
510 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()
/linux-4.1.27/Documentation/
DMakefile3 networking pcmcia prctl ptp spi timers vDSO video4linux \
D00-INDEX368 prctl/
/linux-4.1.27/arch/x86/um/os-Linux/
DMakefile9 obj-$(CONFIG_64BIT) += prctl.o
/linux-4.1.27/tools/lib/lockdep/
Dcommon.c28 prctl(PR_GET_NAME, current_obj.comm); in __curr()
/linux-4.1.27/Documentation/x86/
Dintel_mpx.txt38 bit) and notifies the kernel (via the new prctl(PR_MPX_ENABLE_MANAGEMENT))
41 when it calls the prctl(). This might be hard to guarantee if the app
46 3) The kernel detects that the CPU has MPX, allows the new prctl() to
73 * calls a new prctl(PR_MPX_ENABLE_MANAGEMENT) to notify the kernel to
207 Adding new prctl commands
210 Two new prctl commands are added to enable and disable MPX bounds tables
/linux-4.1.27/arch/x86/include/uapi/asm/
DKbuild40 header-y += prctl.h
/linux-4.1.27/tools/perf/
Ddesign.txt197 or prctl (see below).
409 prctl. When a counter is disabled, it doesn't count or generate
435 attached to it, using prctl:
437 prctl(PR_TASK_PERF_EVENTS_ENABLE);
439 prctl(PR_TASK_PERF_EVENTS_DISABLE);
Dbuiltin-bench.c168 prctl(PR_SET_NAME, name); in run_bench()
Dbuiltin-sched.c513 prctl(PR_SET_NAME, comm2); in thread_func()
/linux-4.1.27/arch/parisc/kernel/
Dsyscall_table.S262 ENTRY_SAME(prctl)
/linux-4.1.27/arch/powerpc/include/asm/
Dsystbl.h178 SYSCALL_SPU(prctl)
/linux-4.1.27/Documentation/vm/
Dhwpoison.txt89 call prctl(PR_MCE_KILL_EARLY) on the designated thread. Otherwise,
/linux-4.1.27/Documentation/powerpc/
Dpmu-ebb.txt91 prctl() interface.
/linux-4.1.27/arch/parisc/
DKconfig335 enabled via prctl(PR_SET_SECCOMP), it cannot be disabled
/linux-4.1.27/arch/s390/kernel/
Dcompat_wrapper.c129 COMPAT_SYSCALL_WRAP5(prctl, int, option, unsigned long, arg2, unsigned long, arg3, unsigned long, a…
/linux-4.1.27/arch/x86/syscalls/
Dsyscall_64.tbl166 157 common prctl sys_prctl
Dsyscall_32.tbl181 172 i386 prctl sys_prctl
/linux-4.1.27/tools/perf/bench/
Dnuma.c307 prctl(PR_SET_NAME, name); \
803 prctl(0, bytes_worked); in update_curr_cpu()
/linux-4.1.27/include/uapi/linux/
DKbuild332 header-y += prctl.h
/linux-4.1.27/arch/
DKconfig345 See Documentation/prctl/seccomp_filter.txt for details.
/linux-4.1.27/arch/sh/
DKconfig661 enabled via prctl, it cannot be disabled and the task is only
/linux-4.1.27/arch/arm64/
DKconfig592 enabled via prctl(PR_SET_SECCOMP), it cannot be disabled
/linux-4.1.27/kernel/
Dsys.c2052 SYSCALL_DEFINE5(prctl, int, option, unsigned long, arg2, unsigned long, arg3, in SYSCALL_DEFINE5() argument
/linux-4.1.27/Documentation/sysctl/
Dvm.txt410 Applications can override this setting individually with the PR_MCE_KILL prctl
/linux-4.1.27/Documentation/networking/
Dfilter.txt48 [1] Documentation/prctl/seccomp_filter.txt
/linux-4.1.27/arch/arm/
DKconfig1744 enabled via prctl(PR_SET_SECCOMP), it cannot be disabled
/linux-4.1.27/init/
DKconfig1151 In particular it adds auxiliary prctl codes to setup process text,
/linux-4.1.27/Documentation/filesystems/
Dproc.txt251 Seccomp seccomp mode, like prctl(PR_GET_SECCOMP, ...)
/linux-4.1.27/arch/x86/
DKconfig1710 enabled via prctl(PR_SET_SECCOMP), it cannot be disabled
/linux-4.1.27/
DCREDITS1271 D: prctl() syscall