/openbmc/linux/security/yama/ |
H A D | yama_lsm.c | 32 struct task_struct *tracee; member 142 struct task_struct *tracee) in yama_ptracer_add() argument 150 added->tracee = tracee; in yama_ptracer_add() 159 if (relation->tracee == tracee) { in yama_ptracer_add() 180 struct task_struct *tracee) in yama_ptracer_del() argument 189 if (relation->tracee == tracee || in yama_ptracer_del() 306 struct task_struct *tracee) in ptracer_exception_found() argument 319 parent = ptrace_parent(tracee); in ptracer_exception_found() 326 if (!thread_group_leader(tracee)) in ptracer_exception_found() 327 tracee = rcu_dereference(tracee->group_leader); in ptracer_exception_found() [all …]
|
/openbmc/linux/security/apparmor/ |
H A D | task.c | 247 struct aa_profile *tracee, in profile_tracee_perm() argument 251 if (profile_unconfined(tracee) || unconfined(tracer) || in profile_tracee_perm() 252 !ANY_RULE_MEDIATES(&tracee->rules, AA_CLASS_PTRACE)) in profile_tracee_perm() 255 return profile_ptrace_perm(cred, tracee, tracer, request, ad); in profile_tracee_perm() 260 struct aa_label *tracee, u32 request, in profile_tracer_perm() argument 267 return profile_ptrace_perm(cred, tracer, tracee, request, ad); in profile_tracer_perm() 270 if (&tracer->label == tracee) in profile_tracer_perm() 274 ad->peer = tracee; in profile_tracer_perm() 291 const struct cred *tracee_cred, struct aa_label *tracee, in aa_may_ptrace() argument 298 return xcheck_labels(tracer, tracee, profile, in aa_may_ptrace() [all …]
|
H A D | lsm.c | 118 struct aa_label *tracer, *tracee; in apparmor_ptrace_access_check() local 123 tracee = cred_label(cred); /* ref count on cred */ in apparmor_ptrace_access_check() 125 error = aa_may_ptrace(current_cred(), tracer, cred, tracee, in apparmor_ptrace_access_check() 136 struct aa_label *tracer, *tracee; in apparmor_ptrace_traceme() local 140 tracee = __begin_current_label_crit_section(); in apparmor_ptrace_traceme() 143 error = aa_may_ptrace(cred, tracer, current_cred(), tracee, in apparmor_ptrace_traceme() 146 __end_current_label_crit_section(tracee); in apparmor_ptrace_traceme()
|
/openbmc/linux/tools/testing/selftests/seccomp/ |
H A D | seccomp_bpf.c | 1511 pid_t tracee, int status, void *args); 1513 void start_tracer(struct __test_metadata *_metadata, int fd, pid_t tracee, in start_tracer() argument 1527 ret = ptrace(PTRACE_ATTACH, tracee, NULL, 0); in start_tracer() 1529 kill(tracee, SIGKILL); in start_tracer() 1534 ret = ptrace(PTRACE_SETOPTIONS, tracee, NULL, ptrace_syscall ? in start_tracer() 1539 kill(tracee, SIGKILL); in start_tracer() 1542 tracee, NULL, 0); in start_tracer() 1553 if (wait(&status) != tracee) in start_tracer() 1572 tracer_func(_metadata, tracee, status, args); in start_tracer() 1575 tracee, NULL, 0); in start_tracer() [all …]
|
/openbmc/linux/samples/ftrace/ |
H A D | ftrace-ops.c | 120 static struct sample_ops *ops_alloc_init(void *tracee, ftrace_func_t func, in ops_alloc_init() argument 132 WARN_ON_ONCE(ftrace_set_filter_ip(&ops[i].ops, (unsigned long)tracee, 0, 0)); in ops_alloc_init()
|
/openbmc/linux/Documentation/arch/arm64/ |
H A D | memory-tagging-extension.rst | 186 the tags from or set the tags to a tracee's address space. The 191 - ``pid`` - the tracee's PID. 192 - ``addr`` - address in the tracee's address space. 198 tracee's address space. 207 ``iov_len`` if the requested address range in the tracee's or the 210 - ``-EIO`` - the tracee's address range cannot be accessed (e.g. invalid 214 - ``-EOPNOTSUPP`` - the tracee's address does not have valid tags (never
|
/openbmc/linux/security/apparmor/include/ |
H A D | task.h | 95 const struct cred *tracee_cred, struct aa_label *tracee,
|
/openbmc/linux/Documentation/userspace-api/ |
H A D | seccomp_filter.rst | 288 above in this document: all arguments being read from the tracee's memory
|
H A D | landlock.rst | 266 which means the tracee must be in a sub-domain of the tracer.
|