Home
last modified time | relevance | path

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

/linux-6.15/security/
H A Dcommoncap.c307 new->cap_ambient = cap_intersect(new->cap_ambient, in cap_capset()
964 cap_clear(new->cap_ambient); in cap_bprm_creds_from_file()
970 new->cap_permitted = cap_combine(new->cap_permitted, new->cap_ambient); in cap_bprm_creds_from_file()
979 new->cap_effective = new->cap_ambient; in cap_bprm_creds_from_file()
1134 cap_clear(new->cap_ambient); in cap_emulate_setxuid()
1401 cap_clear(new->cap_ambient); in cap_task_prctl()
1409 return !!cap_raised(current_cred()->cap_ambient, arg3); in cap_task_prctl()
1425 cap_raise(new->cap_ambient, arg3); in cap_task_prctl()
1427 cap_lower(new->cap_ambient, arg3); in cap_task_prctl()
/linux-6.15/include/linux/
H A Dcred.h126 kernel_cap_t cap_ambient; /* Ambient capability set */ member
168 return cap_issubset(cred->cap_ambient, in cap_ambient_invariant_ok()
/linux-6.15/fs/proc/
H A 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.15/security/keys/
H A Dprocess_keys.c945 new->cap_ambient = old->cap_ambient; in key_change_session_keyring()
/linux-6.15/kernel/
H A Dauditsc.c2819 ax->old_pcap.ambient = old->cap_ambient; in __audit_log_bprm_fcaps()
2824 ax->new_pcap.ambient = new->cap_ambient; in __audit_log_bprm_fcaps()
2844 context->capset.cap.ambient = new->cap_ambient; in __audit_log_capset()
H A Duser_namespace.c52 cred->cap_ambient = CAP_EMPTY_SET; in set_cred_user_ns()