Searched refs:capset (Results 1 - 9 of 9) sorted by relevance

/linux-master/tools/testing/selftests/bpf/
H A Dcap_helpers.c8 int capset(cap_user_header_t header, const cap_user_data_t data);
33 err = capset(&hdr, data);
62 err = capset(&hdr, data);
/linux-master/kernel/
H A Dcapability.c177 * bits when they perform a: capget/modify/capset
187 * unexpectedly fail; the capget/modify/capset aborts
220 SYSCALL_DEFINE2(capset, cap_user_header_t, header, const cap_user_data_t, data)
H A Daudit.h192 } capset; member in union:audit_context::__anon3761
H A Dauditsc.c1456 audit_log_format(ab, "pid=%d", context->capset.pid);
1457 audit_log_cap(ab, "cap_pi", &context->capset.cap.inheritable);
1458 audit_log_cap(ab, "cap_pp", &context->capset.cap.permitted);
1459 audit_log_cap(ab, "cap_pe", &context->capset.cap.effective);
1460 audit_log_cap(ab, "cap_pa", &context->capset.cap.ambient);
2835 * __audit_log_capset - store information about the arguments to the capset syscall
2846 context->capset.pid = task_tgid_nr(current);
2847 context->capset.cap.effective = new->cap_effective;
2848 context->capset.cap.inheritable = new->cap_effective;
2849 context->capset
[all...]
H A Dsys_ni.c78 COND_SYSCALL(capset); variable
/linux-master/include/linux/
H A Dlsm_hook_defs.h41 LSM_HOOK(int, 0, capset, struct cred *new, const struct cred *old,
/linux-master/security/
H A Dcommoncap.c1455 LSM_HOOK_INIT(capset, cap_capset),
H A Dsecurity.c1014 return call_int_hook(capset, new, old, effective, inheritable,
/linux-master/security/selinux/
H A Dhooks.c7143 LSM_HOOK_INIT(capset, selinux_capset),

Completed in 162 milliseconds