/openbmc/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()
|
/openbmc/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
|
/openbmc/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 117 **Note:** It is recommended that a set of 32-bit-capable CPUs are placed [all …]
|
/openbmc/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
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/linux/drivers/net/wireless/broadcom/b43legacy/ |
H A D | sysfs.c | 71 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()
|
/openbmc/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);
|
/openbmc/linux/Documentation/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.
|
/openbmc/linux/drivers/s390/block/ |
H A 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() 148 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_abortio() 182 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_allowio() 262 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_format() 350 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_release_space() 393 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_copy_pair_swap()
|
/openbmc/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. 328 - ENOSYS cd drive not capable of ejecting 355 - ENOSYS cd drive not capable of closing the tray [all …]
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/linux/mm/ |
H A D | hwpoison-inject.c | 21 if (!capable(CAP_SYS_ADMIN)) in hwpoison_inject() 57 if (!capable(CAP_SYS_ADMIN)) in hwpoison_unpoison()
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | pci-noop.c | 100 if (!capable(CAP_SYS_ADMIN)) in SYSCALL_DEFINE5() 109 if (!capable(CAP_SYS_ADMIN)) in SYSCALL_DEFINE5()
|
/openbmc/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
|
/openbmc/openbmc/poky/meta/recipes-core/images/ |
H A D | core-image-minimal-initramfs.bb | 2 SUMMARY = "Small image capable of booting a device." 3 DESCRIPTION = "Small image capable of booting a device. The kernel includes \
|
/openbmc/linux/block/ |
H A D | ioctl.c | 23 if (!capable(CAP_SYS_ADMIN)) in blkpg_do_ioctl() 268 if (capable(CAP_SYS_ADMIN)) in blkdev_pr_allowed() 370 if (!capable(CAP_SYS_ADMIN)) in blkdev_flushbuf() 389 if (!capable(CAP_SYS_ADMIN)) in blkdev_roset() 474 if (!capable(CAP_SYS_ADMIN)) in blkdev_bszset() 549 if(!capable(CAP_SYS_ADMIN)) in blkdev_common_ioctl() 554 if (!capable(CAP_SYS_ADMIN)) in blkdev_common_ioctl()
|
/openbmc/linux/drivers/net/wireless/broadcom/b43/ |
H A D | sysfs.c | 44 if (!capable(CAP_NET_ADMIN)) in b43_attr_interfmode_show() 87 if (!capable(CAP_NET_ADMIN)) in b43_attr_interfmode_store()
|
/openbmc/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()
|
/openbmc/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() 1280 if (!capable(CAP_NET_ADMIN)) { in hci_sock_bind() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | hisilicon,histb-xhci.txt | 27 - usb3-lpm-capable: determines if platform is USB3 LPM capable
|
/openbmc/linux/drivers/platform/x86/dell/ |
H A D | dell-smbios-base.c | 256 capable(token_whitelist[i].need_capability)) { in dell_smbios_call_filter() 270 capable(call_whitelist[i].need_capability)) { in dell_smbios_call_filter() 282 if (capable(CAP_SYS_RAWIO)) { in dell_smbios_call_filter() 430 if (!capable(CAP_SYS_ADMIN)) in location_show() 441 if (!capable(CAP_SYS_ADMIN)) in value_show()
|
/openbmc/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()
|