Home
last modified time | relevance | path

Searched refs:capable (Results 1 – 25 of 818) sorted by relevance

12345678910>>...33

/kernel/linux/linux-5.10/drivers/ide/
Dide-ioctls.c55 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()
281 if (!capable(CAP_SYS_RAWIO)) in generic_ide_ioctl()
285 if (!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()
/kernel/linux/linux-5.10/net/dcb/
DKconfig7 features on DCB capable Ethernet adapters via rtnetlink. Say 'Y'
8 if you have a DCB capable Ethernet adapter which supports this
9 interface and you are connected to a DCB capable switch.
11 DCB is a collection of Ethernet enhancements which allow DCB capable
/kernel/linux/linux-5.10/fs/reiserfs/
Dxattr_trusted.c15 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()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/dma/
Dmv-xor.txt20 - dmacap,memcpy to indicate that the XOR channel is capable of memcpy operations
21 - dmacap,memset to indicate that the XOR channel is capable of memset operations
22 - dmacap,xor to indicate that the XOR channel is capable of xor operations
23 - dmacap,interrupt to indicate that the XOR channel is capable of
/kernel/linux/linux-5.10/include/linux/
Dcapability.h210 extern bool capable(int cap);
233 static inline bool capable(int cap) in capable() function
256 return capable(CAP_PERFMON) || capable(CAP_SYS_ADMIN); in perfmon_capable()
261 return capable(CAP_BPF) || capable(CAP_SYS_ADMIN); in bpf_capable()
Dpm_wakeup.h106 extern void device_set_wakeup_capable(struct device *dev, bool capable);
118 static inline void device_set_wakeup_capable(struct device *dev, bool capable) in device_set_wakeup_capable() argument
120 dev->power.can_wakeup = capable; in device_set_wakeup_capable()
/kernel/linux/linux-5.10/drivers/xen/xenbus/
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()
/kernel/linux/linux-5.10/block/
Dioctl.c22 if (!capable(CAP_SYS_ADMIN)) in blkpg_do_ioctl()
99 if (!capable(CAP_SYS_ADMIN)) in blkdev_reread_part()
274 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_register()
292 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_reserve()
310 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_release()
328 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_preempt()
346 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_clear()
383 if (!capable(CAP_SYS_ADMIN)) in blkdev_flushbuf()
400 if (!capable(CAP_SYS_ADMIN)) in blkdev_roset()
483 if (!capable(CAP_SYS_ADMIN)) in blkdev_bszset()
[all …]
Dioprio.c45 !uid_eq(tcred->uid, cred->uid) && !capable(CAP_SYS_NICE)) { in set_task_ioprio()
79 if (!capable(CAP_SYS_ADMIN) && !capable(CAP_SYS_NICE)) in ioprio_check_cap()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Daxp20x.txt126 DCDC2 : DC-DC buck : vin2-supply : poly-phase capable
127 DCDC3 : DC-DC buck : vin3-supply : poly-phase capable
129 DCDC5 : DC-DC buck : vin5-supply : poly-phase capable
130 DCDC6 : DC-DC buck : vin6-supply : poly-phase capable
153 DCDCA : DC-DC buck : vina-supply : poly-phase capable
154 DCDCB : DC-DC buck : vinb-supply : poly-phase capable
155 DCDCC : DC-DC buck : vinc-supply : poly-phase capable
156 DCDCD : DC-DC buck : vind-supply : poly-phase capable
157 DCDCE : DC-DC buck : vine-supply : poly-phase capable
202 DCDC2 : DC-DC buck : vin2-supply : poly-phase capable
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/
Dsysfs.c71 if (!capable(CAP_NET_ADMIN)) in b43legacy_attr_interfmode_show()
107 if (!capable(CAP_NET_ADMIN)) in b43legacy_attr_interfmode_store()
152 if (!capable(CAP_NET_ADMIN)) in b43legacy_attr_preamble_show()
177 if (!capable(CAP_NET_ADMIN)) in b43legacy_attr_preamble_store()
/kernel/linux/linux-5.10/kernel/
Dcapability.c368 int capable; in ns_capable_common() local
375 capable = security_capable(current_cred(), ns, cap, opts); in ns_capable_common()
376 if (capable == 0) { in ns_capable_common()
447 bool capable(int cap) in capable() function
451 EXPORT_SYMBOL(capable);
/kernel/linux/linux-5.10/Documentation/powerpc/
Delfnote.rst18 - Ultravisor-capable bit (PowerNV only).
28 by the ultravisor. If the kernel is not ultravisor-capable, but it ends up
35 or the Ultravisor-capable bit is not set.
/kernel/linux/linux-5.10/drivers/s390/block/
Ddasd_ioctl.c49 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()
/kernel/linux/linux-5.10/arch/mips/netlogic/xlp/
Dcop2-ex.c100 if (!capable(CAP_SYS_ADMIN) || !capable(CAP_SYS_RAWIO)) in nlm_cu2_call()
/kernel/linux/linux-5.10/mm/
Dhwpoison-inject.c21 if (!capable(CAP_SYS_ADMIN)) in hwpoison_inject()
56 if (!capable(CAP_SYS_ADMIN)) in hwpoison_unpoison()
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dpci-noop.c100 if (!capable(CAP_SYS_ADMIN)) in SYSCALL_DEFINE5()
109 if (!capable(CAP_SYS_ADMIN)) in SYSCALL_DEFINE5()
/kernel/linux/linux-5.10/Documentation/userspace-api/ioctl/
Dcdrom.rst114 - ENOSYS cd drive not audio-capable.
135 - ENOSYS cd drive not audio-capable.
159 - ENOSYS cd drive not audio-capable.
190 - ENOSYS cd drive not audio-capable.
219 - ENOSYS cd drive not audio-capable.
244 - ENOSYS cd drive not audio-capable.
274 - ENOSYS cd drive not audio-capable.
299 - ENOSYS cd drive not audio-capable.
325 - ENOSYS cd drive not capable of ejecting
352 - ENOSYS cd drive not capable of closing the tray
[all …]
/kernel/linux/linux-5.10/net/atm/
Dresources.c274 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl()
287 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl()
313 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl()
326 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl()
370 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl()
/kernel/linux/linux-5.10/Documentation/driver-api/serial/
Dserial-iso7816.rst14 Some CPUs/UARTs (e.g., Microchip AT91) contain a built-in mode capable of
17 For these microcontrollers, the Linux driver should be made capable of
29 Any driver for devices capable of working both as RS232 and ISO7816 should
/kernel/linux/linux-5.10/fs/gfs2/
Dsys.c97 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()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/
Dsysfs.c44 if (!capable(CAP_NET_ADMIN)) in b43_attr_interfmode_show()
87 if (!capable(CAP_NET_ADMIN)) in b43_attr_interfmode_store()
/kernel/linux/linux-5.10/drivers/pci/
Dsyscall.c27 if (!capable(CAP_SYS_ADMIN)) in SYSCALL_DEFINE5()
96 if (!capable(CAP_SYS_ADMIN) || in SYSCALL_DEFINE5()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/
Dhisilicon,histb-xhci.txt27 - usb3-lpm-capable: determines if platform is USB3 LPM capable
Dmediatek,mtk-xhci.txt50 - usb3-lpm-capable : supports USB3.0 LPM
75 usb3-lpm-capable;
108 - usb3-lpm-capable : supports USB3.0 LPM
120 usb3-lpm-capable;

12345678910>>...33