Searched refs:CAP_SYS_RESOURCE (Results 1 – 25 of 34) sorted by relevance
12
/linux-6.12.1/fs/gfs2/ |
D | quota.h | 47 if (capable(CAP_SYS_RESOURCE) || in gfs2_quota_lock_check()
|
/linux-6.12.1/include/uapi/linux/ |
D | capability.h | 309 #define CAP_SYS_RESOURCE 24 macro
|
/linux-6.12.1/drivers/rtc/ |
D | dev.c | 231 if (arg > rtc->max_user_freq && !capable(CAP_SYS_RESOURCE)) in rtc_dev_ioctl() 237 !capable(CAP_SYS_RESOURCE)) in rtc_dev_ioctl()
|
/linux-6.12.1/security/apparmor/ |
D | resource.c | 135 aa_capable(subj_cred, label, CAP_SYS_RESOURCE, CAP_OPT_NOAUDIT) != 0) in aa_task_setrlimit()
|
/linux-6.12.1/include/linux/ |
D | capability.h | 69 # define CAP_NFSD_SET ((kernel_cap_t) { CAP_FS_MASK | BIT_ULL(CAP_SYS_RESOURCE) })
|
/linux-6.12.1/drivers/mtd/ubi/ |
D | cdev.c | 393 if (!capable(CAP_SYS_RESOURCE)) { in vol_cdev_ioctl() 839 if (!capable(CAP_SYS_RESOURCE)) in ubi_cdev_ioctl() 1009 if (!capable(CAP_SYS_RESOURCE)) in ctrl_cdev_ioctl()
|
/linux-6.12.1/Documentation/filesystems/ |
D | quota.rst | 12 resource (unless he has CAP_SYS_RESOURCE capability). User is allowed to exceed
|
/linux-6.12.1/fs/ |
D | pipe.c | 787 return !capable(CAP_SYS_RESOURCE) && !capable(CAP_SYS_ADMIN); in pipe_is_unprivileged_user() 802 if (pipe_bufs * PAGE_SIZE > max_size && !capable(CAP_SYS_RESOURCE)) in alloc_pipe_info() 1358 size > pipe_max_size && !capable(CAP_SYS_RESOURCE)) in pipe_set_size()
|
/linux-6.12.1/fs/ocfs2/ |
D | ioctl.c | 864 if (!capable(CAP_SYS_RESOURCE)) in ocfs2_ioctl() 882 if (!capable(CAP_SYS_RESOURCE)) in ocfs2_ioctl()
|
/linux-6.12.1/kernel/ |
D | ucount.c | 48 if (ns_capable(user_ns, CAP_SYS_RESOURCE)) in set_permissions()
|
D | sys.c | 1491 !capable(CAP_SYS_RESOURCE)) in do_prlimit() 1687 if (!id_match && !ns_capable(tcred->user_ns, CAP_SYS_RESOURCE)) in check_prlimit_permission() 2171 if (!capable(CAP_SYS_RESOURCE)) in prctl_set_mm() 2703 if (!capable(CAP_SYS_RESOURCE)) in SYSCALL_DEFINE5() 2717 if (!capable(CAP_SYS_RESOURCE)) in SYSCALL_DEFINE5()
|
/linux-6.12.1/drivers/iommu/iommufd/ |
D | ioas.c | 343 if (!capable(CAP_SYS_RESOURCE)) in iommufd_option_rlimit_mode()
|
/linux-6.12.1/fs/bcachefs/ |
D | quota.c | 142 if (capable(CAP_SYS_RESOURCE)) in ignore_hardlimit() 147 return capable(CAP_SYS_RESOURCE) && in ignore_hardlimit()
|
/linux-6.12.1/fs/ubifs/ |
D | budget.c | 259 if (uid_eq(current_fsuid(), c->rp_uid) || capable(CAP_SYS_RESOURCE) || in can_use_rp()
|
/linux-6.12.1/fs/proc/ |
D | base.c | 1131 !capable(CAP_SYS_RESOURCE)) { in __set_oom_adj() 1144 !capable(CAP_SYS_RESOURCE)) { in __set_oom_adj() 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() 1421 if (!capable(CAP_SYS_RESOURCE)) in proc_fault_inject_write()
|
/linux-6.12.1/ipc/ |
D | mqueue.c | 352 if (capable(CAP_SYS_RESOURCE)) { in mqueue_get_inode() 582 !capable(CAP_SYS_RESOURCE)) { in mqueue_create_attr()
|
D | msg.c | 435 !capable(CAP_SYS_RESOURCE)) { in msgctl_down()
|
/linux-6.12.1/fs/jffs2/ |
D | nodemgmt.c | 45 if (capable(CAP_SYS_RESOURCE)) in jffs2_rp_can_write()
|
/linux-6.12.1/fs/ext4/ |
D | balloc.c | 652 capable(CAP_SYS_RESOURCE) || in ext4_has_free_clusters()
|
/linux-6.12.1/drivers/char/ |
D | hpet.c | 625 !capable(CAP_SYS_RESOURCE)) { in hpet_ioctl_common()
|
/linux-6.12.1/fs/ext2/ |
D | balloc.c | 1164 if (free_blocks < root_blocks + 1 && !capable(CAP_SYS_RESOURCE) && in ext2_has_free_blocks()
|
/linux-6.12.1/fs/btrfs/ |
D | sysfs.c | 1163 if (!capable(CAP_SYS_RESOURCE)) in btrfs_commit_stats_store() 1209 if (!capable(CAP_SYS_RESOURCE)) in quota_override_store()
|
/linux-6.12.1/fs/ufs/ |
D | balloc.c | 399 if (!capable(CAP_SYS_RESOURCE)) { in ufs_new_fragments()
|
/linux-6.12.1/kernel/sched/ |
D | psi.c | 1296 privileged = cap_raised(file->f_cred->cap_effective, CAP_SYS_RESOURCE); in psi_trigger_create()
|
/linux-6.12.1/fs/overlayfs/ |
D | super.c | 1442 cap_lower(cred->cap_effective, CAP_SYS_RESOURCE); in ovl_fill_super()
|
12