Home
last modified time | relevance | path

Searched refs:cap_ambient (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/security/
Dcommoncap.c277 new->cap_ambient = cap_intersect(new->cap_ambient, in cap_capset()
934 cap_clear(new->cap_ambient); in cap_bprm_creds_from_file()
940 new->cap_permitted = cap_combine(new->cap_permitted, new->cap_ambient); in cap_bprm_creds_from_file()
949 new->cap_effective = new->cap_ambient; in cap_bprm_creds_from_file()
1104 cap_clear(new->cap_ambient); in cap_emulate_setxuid()
1354 cap_clear(new->cap_ambient); in cap_task_prctl()
1362 return !!cap_raised(current_cred()->cap_ambient, arg3); in cap_task_prctl()
1378 cap_raise(new->cap_ambient, arg3); in cap_task_prctl()
1380 cap_lower(new->cap_ambient, arg3); in cap_task_prctl()
/linux-6.6.21/include/linux/
Dcred.h125 kernel_cap_t cap_ambient; /* Ambient capability set */ member
169 return cap_issubset(cred->cap_ambient, in cap_ambient_invariant_ok()
/linux-6.6.21/fs/proc/
Darray.c315 cap_bset, cap_ambient; in task_cap() local
323 cap_ambient = cred->cap_ambient; in task_cap()
330 render_cap_t(m, "CapAmb:\t", &cap_ambient); in task_cap()
/linux-6.6.21/security/keys/
Dprocess_keys.c945 new->cap_ambient = old->cap_ambient; in key_change_session_keyring()
/linux-6.6.21/kernel/
Dauditsc.c2825 ax->old_pcap.ambient = old->cap_ambient; in __audit_log_bprm_fcaps()
2830 ax->new_pcap.ambient = new->cap_ambient; in __audit_log_bprm_fcaps()
2850 context->capset.cap.ambient = new->cap_ambient; in __audit_log_capset()
Duser_namespace.c52 cred->cap_ambient = CAP_EMPTY_SET; in set_cred_user_ns()