/Linux-v5.10/drivers/platform/x86/ |
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-v5.10/fs/reiserfs/ |
D | xattr_trusted.c | 15 if (!capable(CAP_SYS_ADMIN) || IS_PRIVATE(inode)) in trusted_get() 27 if (!capable(CAP_SYS_ADMIN) || IS_PRIVATE(inode)) in trusted_set() 37 return capable(CAP_SYS_ADMIN) && !IS_PRIVATE(d_inode(dentry)); in trusted_list()
|
/Linux-v5.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-v5.10/block/ |
D | ioctl.c | 22 if (!capable(CAP_SYS_ADMIN)) in blkpg_do_ioctl() 99 if (!capable(CAP_SYS_ADMIN)) in blkdev_reread_part() 265 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_register() 283 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_reserve() 301 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_release() 319 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_preempt() 337 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_clear() 374 if (!capable(CAP_SYS_ADMIN)) in blkdev_flushbuf() 391 if (!capable(CAP_SYS_ADMIN)) in blkdev_roset() 474 if (!capable(CAP_SYS_ADMIN)) in blkdev_bszset() [all …]
|
/Linux-v5.10/drivers/ide/ |
D | ide-ioctls.c | 55 if (!capable(CAP_SYS_ADMIN)) in ide_setting_ioctl() 266 if (!capable(CAP_SYS_ADMIN)) in generic_ide_ioctl() 271 if (!capable(CAP_SYS_ADMIN) || !capable(CAP_SYS_RAWIO)) in generic_ide_ioctl() 289 if (!capable(CAP_SYS_ADMIN)) in generic_ide_ioctl() 293 if (!capable(CAP_SYS_ADMIN)) in generic_ide_ioctl() 299 if (!capable(CAP_SYS_ADMIN)) in generic_ide_ioctl()
|
/Linux-v5.10/drivers/s390/block/ |
D | dasd_ioctl.c | 49 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_enable() 72 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_disable() 105 if (!capable (CAP_SYS_ADMIN)) in dasd_ioctl_quiesce() 126 if (!capable (CAP_SYS_ADMIN)) in dasd_ioctl_resume() 149 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_abortio() 183 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_allowio() 264 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_format() 352 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_release_space() 541 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_set_ro()
|
/Linux-v5.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-v5.10/mm/ |
D | hwpoison-inject.c | 21 if (!capable(CAP_SYS_ADMIN)) in hwpoison_inject() 56 if (!capable(CAP_SYS_ADMIN)) in hwpoison_unpoison()
|
/Linux-v5.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-v5.10/fs/gfs2/ |
D | sys.c | 97 if (!capable(CAP_SYS_ADMIN)) in freeze_store() 129 if (!capable(CAP_SYS_ADMIN)) in withdraw_store() 150 if (!capable(CAP_SYS_ADMIN)) in statfs_sync_store() 169 if (!capable(CAP_SYS_ADMIN)) in quota_sync_store() 190 if (!capable(CAP_SYS_ADMIN)) in quota_refresh_user_store() 212 if (!capable(CAP_SYS_ADMIN)) in quota_refresh_group_store() 237 if (!capable(CAP_SYS_ADMIN)) in demote_rq_store() 563 if (!capable(CAP_SYS_ADMIN)) in quota_scale_store() 583 if (!capable(CAP_SYS_ADMIN)) in tune_set()
|
/Linux-v5.10/drivers/pci/ |
D | syscall.c | 25 if (!capable(CAP_SYS_ADMIN)) in SYSCALL_DEFINE5() 94 if (!capable(CAP_SYS_ADMIN) || in SYSCALL_DEFINE5()
|
/Linux-v5.10/include/linux/ |
D | capability.h | 256 return capable(CAP_PERFMON) || capable(CAP_SYS_ADMIN); in perfmon_capable() 261 return capable(CAP_BPF) || capable(CAP_SYS_ADMIN); in bpf_capable() 267 ns_capable(ns, CAP_SYS_ADMIN); in checkpoint_restore_ns_capable()
|
/Linux-v5.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-v5.10/Documentation/userspace-api/ioctl/ |
D | hdio.rst | 185 - EACCES Access denied: requires CAP_SYS_ADMIN 235 - EACCES Access denied: requires CAP_SYS_ADMIN 359 - EACCES Access denied: requires CAP_SYS_ADMIN 487 - EACCES Access denied: requires CAP_SYS_ADMIN 596 - EACCES Access denied: requires CAP_SYS_ADMIN 658 - EACCES Access denied: requires CAP_SYS_ADMIN 727 - EACCES CAP_SYS_ADMIN or CAP_SYS_RAWIO privilege not set. 1059 - EACCES Access denied: requires CAP_SYS_ADMIN 1089 - EACCES Access denied: requires CAP_SYS_ADMIN 1117 - EACCES Access denied: requires CAP_SYS_ADMIN [all …]
|
/Linux-v5.10/kernel/ |
D | utsname.c | 148 if (!ns_capable(ns->user_ns, CAP_SYS_ADMIN) || in utsns_install() 149 !ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN)) in utsns_install()
|
/Linux-v5.10/tools/build/feature/ |
D | test-libcap.c | 13 if (cap_get_flag(caps, CAP_SYS_ADMIN, CAP_EFFECTIVE, &val) != 0) in main()
|
/Linux-v5.10/fs/xfs/ |
D | xfs_ioctl.c | 198 if (!capable(CAP_SYS_ADMIN)) in xfs_open_by_handle() 272 if (!capable(CAP_SYS_ADMIN)) in xfs_readlink_by_handle() 448 if (!capable(CAP_SYS_ADMIN)) in xfs_attrlist_by_handle() 588 if (!capable(CAP_SYS_ADMIN)) in xfs_attrmulti_by_handle() 752 if (!capable(CAP_SYS_ADMIN)) in xfs_ioc_fsbulkstat() 921 if (!capable(CAP_SYS_ADMIN)) in xfs_ioc_bulkstat() 971 if (!capable(CAP_SYS_ADMIN)) in xfs_ioc_inumbers() 1857 if (!capable(CAP_SYS_ADMIN)) in xfs_ioc_scrub_metadata() 1986 if (!capable(CAP_SYS_ADMIN)) in xfs_ioc_setlabel() 2221 if (!capable(CAP_SYS_ADMIN)) in xfs_file_ioctl() [all …]
|
/Linux-v5.10/ipc/ |
D | namespace.c | 204 if (!ns_capable(ns->user_ns, CAP_SYS_ADMIN) || in ipcns_install() 205 !ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN)) in ipcns_install()
|
/Linux-v5.10/drivers/xen/ |
D | xen-balloon.c | 169 if (!capable(CAP_SYS_ADMIN)) in store_target_kb() 199 if (!capable(CAP_SYS_ADMIN)) in store_target()
|
/Linux-v5.10/fs/nilfs2/ |
D | ioctl.c | 210 if (!capable(CAP_SYS_ADMIN)) in nilfs_ioctl_change_cpmode() 265 if (!capable(CAP_SYS_ADMIN)) in nilfs_ioctl_delete_checkpoint() 875 if (!capable(CAP_SYS_ADMIN)) in nilfs_ioctl_clean_segments() 1037 if (!capable(CAP_SYS_ADMIN)) in nilfs_ioctl_resize() 1074 if (!capable(CAP_SYS_ADMIN)) in nilfs_ioctl_trim_fs() 1117 if (!capable(CAP_SYS_ADMIN)) in nilfs_ioctl_set_alloc_range() 1225 if (!capable(CAP_SYS_ADMIN)) in nilfs_ioctl_set_suinfo()
|
/Linux-v5.10/fs/btrfs/ |
D | ioctl.c | 515 if (!capable(CAP_SYS_ADMIN)) in btrfs_ioctl_fitrim() 1645 if (!capable(CAP_SYS_ADMIN)) in btrfs_ioctl_resize() 2243 if (!capable(CAP_SYS_ADMIN)) in btrfs_ioctl_tree_search() 2278 if (!capable(CAP_SYS_ADMIN)) in btrfs_ioctl_tree_search_v2() 2580 if (!capable(CAP_SYS_ADMIN)) { in btrfs_ioctl_ino_lookup() 2991 if (!capable(CAP_SYS_ADMIN)) { in btrfs_ioctl_snap_destroy() 3078 if (!capable(CAP_SYS_ADMIN)) { in btrfs_ioctl_defrag() 3090 if (!capable(CAP_SYS_ADMIN) && in btrfs_ioctl_defrag() 3137 if (!capable(CAP_SYS_ADMIN)) in btrfs_ioctl_add_dev() 3168 if (!capable(CAP_SYS_ADMIN)) in btrfs_ioctl_rm_dev_v2() [all …]
|
/Linux-v5.10/fs/jffs2/ |
D | xattr_trusted.c | 38 return capable(CAP_SYS_ADMIN); in jffs2_trusted_listxattr()
|
/Linux-v5.10/fs/ext4/ |
D | xattr_trusted.c | 19 return capable(CAP_SYS_ADMIN); in ext4_xattr_trusted_list()
|
/Linux-v5.10/fs/ext2/ |
D | xattr_trusted.c | 15 return capable(CAP_SYS_ADMIN); in ext2_xattr_trusted_list()
|
/Linux-v5.10/fs/ |
D | fsopen.c | 122 if (!ns_capable(current->nsproxy->mnt_ns->user_ns, CAP_SYS_ADMIN)) in SYSCALL_DEFINE2() 165 if (!ns_capable(current->nsproxy->mnt_ns->user_ns, CAP_SYS_ADMIN)) in SYSCALL_DEFINE3() 249 if (!ns_capable(sb->s_user_ns, CAP_SYS_ADMIN)) { in vfs_fsconfig_locked()
|