Home
last modified time | relevance | path

Searched refs:has_capability_noaudit (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/include/linux/
Dcapability.h145 extern bool has_capability_noaudit(struct task_struct *t, int cap);
162 static inline bool has_capability_noaudit(struct task_struct *t, int cap) in has_capability_noaudit() function
/linux-6.12.1/kernel/
Dcapability.c345 bool has_capability_noaudit(struct task_struct *t, int cap) in has_capability_noaudit() function
349 EXPORT_SYMBOL(has_capability_noaudit);
/linux-6.12.1/security/integrity/ima/
Dima_policy.c609 if (has_capability_noaudit(current, CAP_SETUID)) { in ima_match_rules()
620 if (has_capability_noaudit(current, CAP_SETGID)) { in ima_match_rules()
/linux-6.12.1/fs/xfs/
Dxfs_fsmap.c915 has_capability_noaudit(current, CAP_SYS_ADMIN); in xfs_getfsmap()
Dxfs_iops.c738 has_capability_noaudit(current, CAP_FOWNER), &tp); in xfs_setattr_nonsize()
Dxfs_ioctl.c576 has_capability_noaudit(current, CAP_FOWNER), &tp); in xfs_ioctl_setattr_get_trans()
/linux-6.12.1/fs/proc/
Dbase.c1168 if (!legacy && has_capability_noaudit(current, CAP_SYS_RESOURCE)) in __set_oom_adj()
1187 if (!legacy && has_capability_noaudit(current, CAP_SYS_RESOURCE)) in __set_oom_adj()
/linux-6.12.1/lib/
Dvsprintf.c883 if (!has_capability_noaudit(current, CAP_SYSLOG) || in restricted_pointer()