Home
last modified time | relevance | path

Searched refs:CAP_SYS_ADMIN (Results 1 – 25 of 304) sorted by relevance

12345678910>>...13

/linux/drivers/platform/x86/dell/
A Ddell-smbios-base.c50 {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},
85 {CAP_SYS_ADMIN, CAPSULE_EN_TOKEN, CAPSULE_DIS_TOKEN},
439 if (!capable(CAP_SYS_ADMIN)) in location_show()
[all …]
/linux/fs/reiserfs/
A Dxattr_trusted.c15 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/block/
A Dioctl.c23 if (!capable(CAP_SYS_ADMIN)) in blkpg_do_ioctl()
91 if (!capable(CAP_SYS_ADMIN)) in blkdev_reread_part()
261 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_register()
279 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_reserve()
297 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_release()
315 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_preempt()
333 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_clear()
348 if (!capable(CAP_SYS_ADMIN)) in blkdev_flushbuf()
360 if (!capable(CAP_SYS_ADMIN)) in blkdev_roset()
445 if (!capable(CAP_SYS_ADMIN)) in blkdev_bszset()
[all …]
/linux/drivers/xen/xenbus/
A Dxenbus_dev_backend.c24 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/tools/testing/selftests/landlock/
A Dfs_test.c166 set_cap(_metadata, CAP_SYS_ADMIN); in prepare_layout()
170 clear_cap(_metadata, CAP_SYS_ADMIN); in prepare_layout()
175 set_cap(_metadata, CAP_SYS_ADMIN); in cleanup_layout()
177 clear_cap(_metadata, CAP_SYS_ADMIN); in cleanup_layout()
196 set_cap(_metadata, CAP_SYS_ADMIN); in create_layout1()
198 clear_cap(_metadata, CAP_SYS_ADMIN); in create_layout1()
218 set_cap(_metadata, CAP_SYS_ADMIN); in remove_layout1()
220 clear_cap(_metadata, CAP_SYS_ADMIN); in remove_layout1()
1251 set_cap(_metadata, CAP_SYS_ADMIN); in TEST_F_FORK()
1282 set_cap(_metadata, CAP_SYS_ADMIN); in TEST_F_FORK()
[all …]
/linux/drivers/s390/block/
A Ddasd_ioctl.c49 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/kernel/cgroup/
A Dnamespace.c66 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/fs/gfs2/
A Dsys.c162 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/mm/
A Dhwpoison-inject.c21 if (!capable(CAP_SYS_ADMIN)) in hwpoison_inject()
56 if (!capable(CAP_SYS_ADMIN)) in hwpoison_unpoison()
/linux/arch/alpha/kernel/
A Dpci-noop.c100 if (!capable(CAP_SYS_ADMIN)) in SYSCALL_DEFINE5()
109 if (!capable(CAP_SYS_ADMIN)) in SYSCALL_DEFINE5()
/linux/include/linux/
A Dcapability.h259 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/fs/xfs/
A Dxfs_ioctl.c199 if (!capable(CAP_SYS_ADMIN)) in xfs_open_by_handle()
273 if (!capable(CAP_SYS_ADMIN)) in xfs_readlink_by_handle()
449 if (!capable(CAP_SYS_ADMIN)) in xfs_attrlist_by_handle()
589 if (!capable(CAP_SYS_ADMIN)) in xfs_attrmulti_by_handle()
757 if (!capable(CAP_SYS_ADMIN)) in xfs_ioc_fsbulkstat()
928 if (!capable(CAP_SYS_ADMIN)) in xfs_ioc_bulkstat()
978 if (!capable(CAP_SYS_ADMIN)) in xfs_ioc_inumbers()
1714 if (!capable(CAP_SYS_ADMIN)) in xfs_ioc_scrub_metadata()
1843 if (!capable(CAP_SYS_ADMIN)) in xfs_ioc_setlabel()
2081 if (!capable(CAP_SYS_ADMIN)) in xfs_file_ioctl()
[all …]
/linux/drivers/pci/
A Dsyscall.c26 if (!capable(CAP_SYS_ADMIN)) in SYSCALL_DEFINE5()
95 if (!capable(CAP_SYS_ADMIN) || in SYSCALL_DEFINE5()
/linux/drivers/macintosh/
A Dans-lcd.c112 if (!capable(CAP_SYS_ADMIN)) in anslcd_ioctl()
118 if (!capable(CAP_SYS_ADMIN)) in anslcd_ioctl()
/linux/kernel/
A Dutsname.c145 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/fs/nilfs2/
A Dioctl.c195 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()
1059 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/fs/btrfs/
A Dioctl.c434 if (!capable(CAP_SYS_ADMIN)) in btrfs_ioctl_fitrim()
1639 if (!capable(CAP_SYS_ADMIN)) in btrfs_ioctl_resize()
2262 if (!capable(CAP_SYS_ADMIN)) in btrfs_ioctl_tree_search()
2297 if (!capable(CAP_SYS_ADMIN)) in btrfs_ioctl_tree_search_v2()
3153 if (!capable(CAP_SYS_ADMIN)) in btrfs_ioctl_add_dev()
3188 if (!capable(CAP_SYS_ADMIN)) in btrfs_ioctl_rm_dev_v2()
3254 if (!capable(CAP_SYS_ADMIN)) in btrfs_ioctl_rm_dev()
3404 if (!capable(CAP_SYS_ADMIN)) in btrfs_ioctl_default_subvol()
3669 if (!capable(CAP_SYS_ADMIN)) in btrfs_ioctl_scrub()
3710 if (!capable(CAP_SYS_ADMIN)) in btrfs_ioctl_scrub_cancel()
[all …]
/linux/drivers/xen/
A Dxen-balloon.c168 if (!capable(CAP_SYS_ADMIN)) in target_kb_store()
195 if (!capable(CAP_SYS_ADMIN)) in target_store()
/linux/ipc/
A Dnamespace.c204 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/fs/
A Dfsopen.c122 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()
/linux/tools/build/feature/
A Dtest-libcap.c13 if (cap_get_flag(caps, CAP_SYS_ADMIN, CAP_EFFECTIVE, &val) != 0) in main()
/linux/drivers/scsi/arcmsr/
A Darcmsr_attr.c74 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()
/linux/security/integrity/evm/
A Devm_secfs.c72 if (!capable(CAP_SYS_ADMIN) || (evm_initialized & EVM_SETUP_COMPLETE)) in evm_write_key()
189 if (!capable(CAP_SYS_ADMIN) || evm_xattrs_locked) in evm_write_xattrs()
/linux/drivers/firmware/efi/
A Defivars.c305 if (!capable(CAP_SYS_ADMIN)) in efivar_attr_show()
321 if (!capable(CAP_SYS_ADMIN)) in efivar_attr_store()
376 if (!capable(CAP_SYS_ADMIN)) in efivar_create()
443 if (!capable(CAP_SYS_ADMIN)) in efivar_delete()
/linux/fs/cifs/
A Dioctl.c160 if (!capable(CAP_SYS_ADMIN)) in cifs_shutdown()
432 if (!capable(CAP_SYS_ADMIN)) { in cifs_ioctl()
463 if (!capable(CAP_SYS_ADMIN)) { in cifs_ioctl()

Completed in 44 milliseconds

12345678910>>...13