/linux-5.19.10/drivers/platform/x86/dell/ |
D | dell-smbios-base.c | 50 {CAP_SYS_ADMIN, CLASS_TOKEN_READ, SELECT_TOKEN_STD}, 51 {CAP_SYS_ADMIN, CLASS_TOKEN_READ, SELECT_TOKEN_AC}, 52 {CAP_SYS_ADMIN, CLASS_TOKEN_READ, SELECT_TOKEN_BAT}, 53 {CAP_SYS_ADMIN, CLASS_TOKEN_WRITE, SELECT_TOKEN_STD}, 54 {CAP_SYS_ADMIN, CLASS_TOKEN_WRITE, SELECT_TOKEN_AC}, 55 {CAP_SYS_ADMIN, CLASS_TOKEN_WRITE, SELECT_TOKEN_BAT}, 57 {CAP_SYS_ADMIN, CLASS_ADMIN_PROP, SELECT_ADMIN_PROP}, 59 {CAP_SYS_ADMIN, CLASS_INFO, SELECT_DOCK}, 60 {CAP_SYS_ADMIN, CLASS_FLASH_INTERFACE, SELECT_FLASH_INTERFACE}, 85 {CAP_SYS_ADMIN, CAPSULE_EN_TOKEN, CAPSULE_DIS_TOKEN}, [all …]
|
/linux-5.19.10/fs/reiserfs/ |
D | xattr_trusted.c | 15 if (!capable(CAP_SYS_ADMIN) || IS_PRIVATE(inode)) in trusted_get() 28 if (!capable(CAP_SYS_ADMIN) || IS_PRIVATE(inode)) in trusted_set() 38 return capable(CAP_SYS_ADMIN) && !IS_PRIVATE(d_inode(dentry)); in trusted_list()
|
/linux-5.19.10/drivers/xen/xenbus/ |
D | xenbus_dev_backend.c | 24 if (!capable(CAP_SYS_ADMIN)) in xenbus_backend_open() 77 if (!capable(CAP_SYS_ADMIN)) in xenbus_backend_ioctl() 96 if (!capable(CAP_SYS_ADMIN)) in xenbus_backend_mmap()
|
/linux-5.19.10/block/ |
D | ioctl.c | 23 if (!capable(CAP_SYS_ADMIN)) in blkpg_do_ioctl() 263 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_register() 281 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_reserve() 299 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_release() 317 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_preempt() 335 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_clear() 350 if (!capable(CAP_SYS_ADMIN)) in blkdev_flushbuf() 362 if (!capable(CAP_SYS_ADMIN)) in blkdev_roset() 447 if (!capable(CAP_SYS_ADMIN)) in blkdev_bszset() 521 if(!capable(CAP_SYS_ADMIN)) in blkdev_common_ioctl() [all …]
|
/linux-5.19.10/drivers/s390/block/ |
D | dasd_ioctl.c | 49 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_enable() 70 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_disable() 103 if (!capable (CAP_SYS_ADMIN)) in dasd_ioctl_quiesce() 124 if (!capable (CAP_SYS_ADMIN)) in dasd_ioctl_resume() 147 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_abortio() 181 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_allowio() 261 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_format() 349 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_release_space()
|
/linux-5.19.10/kernel/cgroup/ |
D | namespace.c | 66 if (!ns_capable(user_ns, CAP_SYS_ADMIN)) in copy_cgroup_ns() 103 if (!ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN) || in cgroupns_install() 104 !ns_capable(cgroup_ns->user_ns, CAP_SYS_ADMIN)) in cgroupns_install()
|
/linux-5.19.10/mm/ |
D | hwpoison-inject.c | 21 if (!capable(CAP_SYS_ADMIN)) in hwpoison_inject() 57 if (!capable(CAP_SYS_ADMIN)) in hwpoison_unpoison()
|
/linux-5.19.10/arch/alpha/kernel/ |
D | pci-noop.c | 100 if (!capable(CAP_SYS_ADMIN)) in SYSCALL_DEFINE5() 109 if (!capable(CAP_SYS_ADMIN)) in SYSCALL_DEFINE5()
|
/linux-5.19.10/fs/gfs2/ |
D | sys.c | 162 if (!capable(CAP_SYS_ADMIN)) in freeze_store() 194 if (!capable(CAP_SYS_ADMIN)) in withdraw_store() 215 if (!capable(CAP_SYS_ADMIN)) in statfs_sync_store() 234 if (!capable(CAP_SYS_ADMIN)) in quota_sync_store() 255 if (!capable(CAP_SYS_ADMIN)) in quota_refresh_user_store() 277 if (!capable(CAP_SYS_ADMIN)) in quota_refresh_group_store() 302 if (!capable(CAP_SYS_ADMIN)) in demote_rq_store() 630 if (!capable(CAP_SYS_ADMIN)) in quota_scale_store() 650 if (!capable(CAP_SYS_ADMIN)) in tune_set()
|
/linux-5.19.10/tools/testing/selftests/landlock/ |
D | fs_test.c | 182 set_cap(_metadata, CAP_SYS_ADMIN); in prepare_layout() 186 clear_cap(_metadata, CAP_SYS_ADMIN); in prepare_layout() 191 set_cap(_metadata, CAP_SYS_ADMIN); in cleanup_layout() 193 clear_cap(_metadata, CAP_SYS_ADMIN); in cleanup_layout() 212 set_cap(_metadata, CAP_SYS_ADMIN); in create_layout1() 214 clear_cap(_metadata, CAP_SYS_ADMIN); in create_layout1() 234 set_cap(_metadata, CAP_SYS_ADMIN); in remove_layout1() 236 clear_cap(_metadata, CAP_SYS_ADMIN); in remove_layout1() 1445 set_cap(_metadata, CAP_SYS_ADMIN); in TEST_F_FORK() 1451 clear_cap(_metadata, CAP_SYS_ADMIN); in TEST_F_FORK() [all …]
|
/linux-5.19.10/drivers/pci/ |
D | syscall.c | 26 if (!capable(CAP_SYS_ADMIN)) in SYSCALL_DEFINE5() 95 if (!capable(CAP_SYS_ADMIN) || in SYSCALL_DEFINE5()
|
/linux-5.19.10/include/linux/ |
D | capability.h | 259 return capable(CAP_PERFMON) || capable(CAP_SYS_ADMIN); in perfmon_capable() 264 return capable(CAP_BPF) || capable(CAP_SYS_ADMIN); in bpf_capable() 270 ns_capable(ns, CAP_SYS_ADMIN); in checkpoint_restore_ns_capable()
|
/linux-5.19.10/drivers/macintosh/ |
D | ans-lcd.c | 112 if (!capable(CAP_SYS_ADMIN)) in anslcd_ioctl() 118 if (!capable(CAP_SYS_ADMIN)) in anslcd_ioctl()
|
/linux-5.19.10/fs/xfs/ |
D | xfs_ioctl.c | 200 if (!capable(CAP_SYS_ADMIN)) in xfs_open_by_handle() 274 if (!capable(CAP_SYS_ADMIN)) in xfs_readlink_by_handle() 450 if (!capable(CAP_SYS_ADMIN)) in xfs_attrlist_by_handle() 590 if (!capable(CAP_SYS_ADMIN)) in xfs_attrmulti_by_handle() 677 if (!capable(CAP_SYS_ADMIN)) in xfs_ioc_fsbulkstat() 851 if (!capable(CAP_SYS_ADMIN)) in xfs_ioc_bulkstat() 901 if (!capable(CAP_SYS_ADMIN)) in xfs_ioc_inumbers() 1638 if (!capable(CAP_SYS_ADMIN)) in xfs_ioc_scrub_metadata() 1767 if (!capable(CAP_SYS_ADMIN)) in xfs_ioc_setlabel() 2012 if (!capable(CAP_SYS_ADMIN)) in xfs_file_ioctl() [all …]
|
/linux-5.19.10/kernel/ |
D | utsname.c | 145 if (!ns_capable(ns->user_ns, CAP_SYS_ADMIN) || in utsns_install() 146 !ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN)) in utsns_install()
|
/linux-5.19.10/tools/build/feature/ |
D | test-libcap.c | 13 if (cap_get_flag(caps, CAP_SYS_ADMIN, CAP_EFFECTIVE, &val) != 0) in main()
|
/linux-5.19.10/drivers/xen/ |
D | xen-balloon.c | 168 if (!capable(CAP_SYS_ADMIN)) in target_kb_store() 195 if (!capable(CAP_SYS_ADMIN)) in target_store()
|
/linux-5.19.10/ipc/ |
D | namespace.c | 217 if (!ns_capable(ns->user_ns, CAP_SYS_ADMIN) || in ipcns_install() 218 !ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN)) in ipcns_install()
|
/linux-5.19.10/fs/nilfs2/ |
D | ioctl.c | 195 if (!capable(CAP_SYS_ADMIN)) in nilfs_ioctl_change_cpmode() 250 if (!capable(CAP_SYS_ADMIN)) in nilfs_ioctl_delete_checkpoint() 860 if (!capable(CAP_SYS_ADMIN)) in nilfs_ioctl_clean_segments() 1022 if (!capable(CAP_SYS_ADMIN)) in nilfs_ioctl_resize() 1058 if (!capable(CAP_SYS_ADMIN)) in nilfs_ioctl_trim_fs() 1102 if (!capable(CAP_SYS_ADMIN)) in nilfs_ioctl_set_alloc_range() 1210 if (!capable(CAP_SYS_ADMIN)) in nilfs_ioctl_set_suinfo()
|
/linux-5.19.10/fs/btrfs/ |
D | ioctl.c | 476 if (!capable(CAP_SYS_ADMIN)) in btrfs_ioctl_fitrim() 1999 if (!capable(CAP_SYS_ADMIN)) in btrfs_ioctl_resize() 2625 if (!capable(CAP_SYS_ADMIN)) in btrfs_ioctl_tree_search() 2656 if (!capable(CAP_SYS_ADMIN)) in btrfs_ioctl_tree_search_v2() 2941 if (!capable(CAP_SYS_ADMIN)) { in btrfs_ioctl_ino_lookup() 3372 if (!capable(CAP_SYS_ADMIN)) { in btrfs_ioctl_snap_destroy() 3457 if (!capable(CAP_SYS_ADMIN)) { in btrfs_ioctl_defrag() 3469 if (!capable(CAP_SYS_ADMIN) && in btrfs_ioctl_defrag() 3508 if (!capable(CAP_SYS_ADMIN)) in btrfs_ioctl_add_dev() 3562 if (!capable(CAP_SYS_ADMIN)) in btrfs_ioctl_rm_dev_v2() [all …]
|
/linux-5.19.10/fs/ext2/ |
D | xattr_trusted.c | 15 return capable(CAP_SYS_ADMIN); in ext2_xattr_trusted_list()
|
/linux-5.19.10/fs/jffs2/ |
D | xattr_trusted.c | 39 return capable(CAP_SYS_ADMIN); in jffs2_trusted_listxattr()
|
/linux-5.19.10/fs/ext4/ |
D | xattr_trusted.c | 19 return capable(CAP_SYS_ADMIN); in ext4_xattr_trusted_list()
|
/linux-5.19.10/fs/hfsplus/ |
D | ioctl.c | 36 if (!capable(CAP_SYS_ADMIN)) in hfsplus_ioctl_bless()
|
/linux-5.19.10/drivers/scsi/arcmsr/ |
D | arcmsr_attr.c | 74 if (!capable(CAP_SYS_ADMIN)) in arcmsr_sysfs_iop_message_read() 121 if (!capable(CAP_SYS_ADMIN)) in arcmsr_sysfs_iop_message_write() 168 if (!capable(CAP_SYS_ADMIN)) in arcmsr_sysfs_iop_message_clear()
|