/linux/include/linux/ |
H A D | capability.h | 148 extern bool capable(int cap); 171 static inline bool capable(int cap) in capable() function 197 return capable(CAP_PERFMON) || capable(CAP_SYS_ADMIN); in perfmon_capable() 202 return capable(CAP_BPF) || capable(CAP_SYS_ADMIN); in bpf_capable()
|
H A D | pm_wakeup.h | 111 extern void device_set_wakeup_capable(struct device *dev, bool capable); 122 static inline void device_set_wakeup_capable(struct device *dev, bool capable) in device_set_wakeup_capable() argument 124 dev->power.can_wakeup = capable; in device_set_wakeup_capable()
|
/linux/net/dcb/ |
H A D | Kconfig | 7 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
|
/linux/Documentation/arch/arm64/ |
H A D | asymmetric-32bit.rst | 16 of the CPUs are capable of executing 32-bit user applications. On such 56 The subset of CPUs capable of running 32-bit tasks is described in 61 late-onlining of 32-bit-capable CPUs can result in the file contents 74 1. If the 32-bit-capable subset of the affinity mask is not empty, 83 ancestor is found containing at least one 32-bit-capable CPU. The 84 affinity of the task is then changed to match the 32-bit-capable 88 of all 32-bit-capable CPUs of which the kernel is aware. 98 the 32-bit-capable CPUs of the requested affinity mask. On success, the 113 of 32-bit-capable CPUs may still necessitate the procedure described in 132 - All of the 32-bit-capable CPUs allowed by a cpuset containing a [all …]
|
/linux/fs/reiserfs/ |
H A 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/Documentation/devicetree/bindings/dma/ |
H A D | mv-xor.txt | 20 - 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
|
/linux/drivers/xen/xenbus/ |
H A 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/Documentation/devicetree/bindings/usb/ |
H A D | usb-xhci.yaml | 20 usb3-lpm-capable: 21 description: Determines if platform is USB3 LPM capable 47 usb3-lpm-capable;
|
H A D | hisilicon,histb-xhci.txt | 27 - usb3-lpm-capable: determines if platform is USB3 LPM capable
|
H A D | ti,hd3ss3220.yaml | 31 SS data bus to the SS capable connector. 36 description: Super Speed (SS) MUX inputs connected to SS capable connector.
|
/linux/drivers/net/wireless/broadcom/b43legacy/ |
H A D | sysfs.c | 71 if (!capable(CAP_NET_ADMIN)) in b43legacy_attr_interfmode_show() 105 if (!capable(CAP_NET_ADMIN)) in b43legacy_attr_interfmode_store() 150 if (!capable(CAP_NET_ADMIN)) in b43legacy_attr_preamble_show() 173 if (!capable(CAP_NET_ADMIN)) in b43legacy_attr_preamble_store()
|
/linux/kernel/ |
H A D | capability.c | 355 int capable; in ns_capable_common() local 362 capable = security_capable(current_cred(), ns, cap, opts); in ns_capable_common() 363 if (capable == 0) { in ns_capable_common() 434 bool capable(int cap) in capable() function 438 EXPORT_SYMBOL(capable);
|
/linux/fs/bcachefs/ |
H A D | chardev.c | 186 if (!capable(CAP_SYS_ADMIN)) in bch2_ioctl_fsck_offline() 289 if (!capable(CAP_SYS_ADMIN)) 300 if (!capable(CAP_SYS_ADMIN)) 313 if (!capable(CAP_SYS_ADMIN)) in bch2_ioctl_disk_add() 335 if (!capable(CAP_SYS_ADMIN)) in bch2_ioctl_disk_remove() 357 if (!capable(CAP_SYS_ADMIN)) in bch2_ioctl_disk_online() 378 if (!capable(CAP_SYS_ADMIN)) in bch2_ioctl_disk_offline() 403 if (!capable(CAP_SYS_ADMIN)) in bch2_ioctl_disk_set_state() 483 if (!capable(CAP_SYS_ADMIN)) in bch2_ioctl_data() 675 if (!capable(CAP_SYS_ADMIN)) in bch2_ioctl_read_super() [all …]
|
/linux/Documentation/arch/powerpc/ |
H A D | elfnote.rst | 18 - 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.
|
/linux/drivers/s390/block/ |
H A D | dasd_ioctl.c | 43 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_enable() 64 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_disable() 97 if (!capable (CAP_SYS_ADMIN)) in dasd_ioctl_quiesce() 118 if (!capable (CAP_SYS_ADMIN)) in dasd_ioctl_resume() 142 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_abortio() 176 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_allowio() 256 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_format() 344 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_release_space() 387 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_copy_pair_swap()
|
/linux/Documentation/userspace-api/ioctl/ |
H A D | cdrom.rst | 117 - ENOSYS cd drive not audio-capable. 138 - ENOSYS cd drive not audio-capable. 162 - ENOSYS cd drive not audio-capable. 193 - ENOSYS cd drive not audio-capable. 222 - ENOSYS cd drive not audio-capable. 247 - ENOSYS cd drive not audio-capable. 277 - ENOSYS cd drive not audio-capable. 302 - ENOSYS cd drive not audio-capable. 383 - ENOSYS cd drive not audio-capable. 408 - ENOSYS cd drive not audio-capable. [all …]
|
/linux/net/atm/ |
H A D | resources.c | 271 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl() 284 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl() 310 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl() 323 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl() 367 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl()
|
/linux/mm/ |
H A D | hwpoison-inject.c | 21 if (!capable(CAP_SYS_ADMIN)) in hwpoison_inject() 58 if (!capable(CAP_SYS_ADMIN)) in hwpoison_unpoison()
|
/linux/Documentation/driver-api/serial/ |
H A D | serial-iso7816.rst | 14 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
|
/linux/fs/gfs2/ |
H A D | sys.c | 172 if (!capable(CAP_SYS_ADMIN)) in freeze_store() 204 if (!capable(CAP_SYS_ADMIN)) in withdraw_store() 225 if (!capable(CAP_SYS_ADMIN)) in statfs_sync_store() 244 if (!capable(CAP_SYS_ADMIN)) in quota_sync_store() 265 if (!capable(CAP_SYS_ADMIN)) in quota_refresh_user_store() 287 if (!capable(CAP_SYS_ADMIN)) in quota_refresh_group_store() 312 if (!capable(CAP_SYS_ADMIN)) in demote_rq_store() 640 if (!capable(CAP_SYS_ADMIN)) in quota_scale_store() 660 if (!capable(CAP_SYS_ADMIN)) in tune_set()
|
/linux/drivers/net/wireless/broadcom/b43/ |
H A D | sysfs.c | 44 if (!capable(CAP_NET_ADMIN)) in b43_attr_interfmode_show() 82 if (!capable(CAP_NET_ADMIN)) in b43_attr_interfmode_store()
|
/linux/drivers/pci/ |
H A D | syscall.c | 26 if (!capable(CAP_SYS_ADMIN)) in SYSCALL_DEFINE5() 95 if (!capable(CAP_SYS_ADMIN) || in SYSCALL_DEFINE5()
|
/linux/net/bluetooth/ |
H A D | hci_sock.c | 1012 if (!capable(CAP_NET_ADMIN)) in hci_sock_bound_ioctl() 1023 if (!capable(CAP_NET_ADMIN)) in hci_sock_bound_ioctl() 1028 if (!capable(CAP_NET_ADMIN)) in hci_sock_bound_ioctl() 1121 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl() 1126 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl() 1131 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl() 1136 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl() 1148 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl() 1255 if (capable(CAP_NET_ADMIN)) in hci_sock_bind() 1368 if (!capable(CAP_NET_RAW)) { in hci_sock_bind() [all …]
|
/linux/arch/x86/kernel/ |
H A D | ioport.c | 73 if (turn_on && (!capable(CAP_SYS_RAWIO) || in ksys_ioperm() 189 if (!capable(CAP_SYS_RAWIO) || in SYSCALL_DEFINE1()
|
/linux/drivers/macintosh/ |
H A D | ans-lcd.c | 112 if (!capable(CAP_SYS_ADMIN)) in anslcd_ioctl() 118 if (!capable(CAP_SYS_ADMIN)) in anslcd_ioctl()
|