Searched refs:has_capability_noaudit (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/include/linux/ |
D | capability.h | 145 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/ |
D | capability.c | 345 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/ |
D | ima_policy.c | 609 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/ |
D | xfs_fsmap.c | 915 has_capability_noaudit(current, CAP_SYS_ADMIN); in xfs_getfsmap()
|
D | xfs_iops.c | 738 has_capability_noaudit(current, CAP_FOWNER), &tp); in xfs_setattr_nonsize()
|
D | xfs_ioctl.c | 576 has_capability_noaudit(current, CAP_FOWNER), &tp); in xfs_ioctl_setattr_get_trans()
|
/linux-6.12.1/fs/proc/ |
D | base.c | 1168 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/ |
D | vsprintf.c | 883 if (!has_capability_noaudit(current, CAP_SYSLOG) || in restricted_pointer()
|