Searched refs:tracer (Results 1 - 6 of 6) sorted by relevance

/security/apparmor/include/
H A Dipc.h22 int aa_may_ptrace(struct aa_profile *tracer, struct aa_profile *tracee,
25 int aa_ptrace(struct task_struct *tracer, struct task_struct *tracee,
/security/apparmor/
H A Dipc.c56 * aa_may_ptrace - test if tracer task can trace the tracee
57 * @tracer: profile of the task doing the tracing (NOT NULL)
63 int aa_may_ptrace(struct aa_profile *tracer, struct aa_profile *tracee, argument
71 if (unconfined(tracer) || tracer == tracee)
74 return aa_capable(tracer, CAP_SYS_PTRACE, 1);
79 * @tracer: task doing the tracing (NOT NULL)
85 int aa_ptrace(struct task_struct *tracer, struct task_struct *tracee, argument
89 * tracer can ptrace tracee when
90 * - tracer i
[all...]
H A Ddomain.c62 struct task_struct *tracer; local
67 tracer = ptrace_parent(current);
68 if (tracer)
70 tracerp = aa_get_task_profile(tracer);
73 if (!tracer || unconfined(tracerp))
/security/yama/
H A Dyama_lsm.c31 struct task_struct *tracer; member in struct:ptrace_relation
65 * yama_ptracer_add - add/replace an exception for this tracer/tracee pair
66 * @tracer: the task_struct of the process doing the ptrace
69 * Each tracee can have, at most, one tracer registered. Each time this
70 * is called, the prior registered tracer will be replaced for the tracee.
74 static int yama_ptracer_add(struct task_struct *tracer, argument
84 added->tracer = tracer;
109 * @tracer: remove any relation where tracer tas
112 yama_ptracer_del(struct task_struct *tracer, struct task_struct *tracee) argument
184 struct task_struct *tracer; local
247 ptracer_exception_found(struct task_struct *tracer, struct task_struct *tracee) argument
[all...]
/security/smack/
H A Dsmack_lsm.c325 * @tracer: tracer process
332 static int smk_ptrace_rule_check(struct task_struct *tracer, argument
343 smk_ad_setfield_u_tsk(&ad, tracer);
347 tsp = task_security(tracer);
688 struct task_struct *tracer; local
692 tracer = ptrace_parent(current);
693 if (likely(tracer != NULL))
694 rc = smk_ptrace_rule_check(tracer,
/security/selinux/
H A Dhooks.c2276 struct task_struct *tracer; local
2281 tracer = ptrace_parent(current);
2282 if (likely(tracer != NULL)) {
2283 sec = __task_cred(tracer)->security;
5653 struct task_struct *tracer; local
5762 tracer = ptrace_parent(p);
5763 if (tracer)
5764 ptsid = task_sid(tracer);
5767 if (tracer) {

Completed in 2716 milliseconds