Home
last modified time | relevance | path

Searched refs:CAP_SYS_RESOURCE (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.12.1/fs/gfs2/
Dquota.h47 if (capable(CAP_SYS_RESOURCE) || in gfs2_quota_lock_check()
/linux-6.12.1/include/uapi/linux/
Dcapability.h309 #define CAP_SYS_RESOURCE 24 macro
/linux-6.12.1/drivers/rtc/
Ddev.c231 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/
Dresource.c135 aa_capable(subj_cred, label, CAP_SYS_RESOURCE, CAP_OPT_NOAUDIT) != 0) in aa_task_setrlimit()
/linux-6.12.1/include/linux/
Dcapability.h69 # define CAP_NFSD_SET ((kernel_cap_t) { CAP_FS_MASK | BIT_ULL(CAP_SYS_RESOURCE) })
/linux-6.12.1/drivers/mtd/ubi/
Dcdev.c393 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/
Dquota.rst12 resource (unless he has CAP_SYS_RESOURCE capability). User is allowed to exceed
/linux-6.12.1/fs/
Dpipe.c787 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/
Dioctl.c864 if (!capable(CAP_SYS_RESOURCE)) in ocfs2_ioctl()
882 if (!capable(CAP_SYS_RESOURCE)) in ocfs2_ioctl()
/linux-6.12.1/kernel/
Ducount.c48 if (ns_capable(user_ns, CAP_SYS_RESOURCE)) in set_permissions()
Dsys.c1491 !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/
Dioas.c343 if (!capable(CAP_SYS_RESOURCE)) in iommufd_option_rlimit_mode()
/linux-6.12.1/fs/bcachefs/
Dquota.c142 if (capable(CAP_SYS_RESOURCE)) in ignore_hardlimit()
147 return capable(CAP_SYS_RESOURCE) && in ignore_hardlimit()
/linux-6.12.1/fs/ubifs/
Dbudget.c259 if (uid_eq(current_fsuid(), c->rp_uid) || capable(CAP_SYS_RESOURCE) || in can_use_rp()
/linux-6.12.1/fs/proc/
Dbase.c1131 !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/
Dmqueue.c352 if (capable(CAP_SYS_RESOURCE)) { in mqueue_get_inode()
582 !capable(CAP_SYS_RESOURCE)) { in mqueue_create_attr()
Dmsg.c435 !capable(CAP_SYS_RESOURCE)) { in msgctl_down()
/linux-6.12.1/fs/jffs2/
Dnodemgmt.c45 if (capable(CAP_SYS_RESOURCE)) in jffs2_rp_can_write()
/linux-6.12.1/fs/ext4/
Dballoc.c652 capable(CAP_SYS_RESOURCE) || in ext4_has_free_clusters()
/linux-6.12.1/drivers/char/
Dhpet.c625 !capable(CAP_SYS_RESOURCE)) { in hpet_ioctl_common()
/linux-6.12.1/fs/ext2/
Dballoc.c1164 if (free_blocks < root_blocks + 1 && !capable(CAP_SYS_RESOURCE) && in ext2_has_free_blocks()
/linux-6.12.1/fs/btrfs/
Dsysfs.c1163 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/
Dballoc.c399 if (!capable(CAP_SYS_RESOURCE)) { in ufs_new_fragments()
/linux-6.12.1/kernel/sched/
Dpsi.c1296 privileged = cap_raised(file->f_cred->cap_effective, CAP_SYS_RESOURCE); in psi_trigger_create()
/linux-6.12.1/fs/overlayfs/
Dsuper.c1442 cap_lower(cred->cap_effective, CAP_SYS_RESOURCE); in ovl_fill_super()

12