Home
last modified time | relevance | path

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

12345678910>>...35

/linux-6.3-rc2/include/linux/
A Dcapability.h148 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()
A Dpm_wakeup.h111 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-6.3-rc2/net/dcb/
A 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
/linux-6.3-rc2/Documentation/arm64/
A Dasymmetric-32bit.rst16 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-6.3-rc2/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-6.3-rc2/Documentation/devicetree/bindings/dma/
A 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
/linux-6.3-rc2/Documentation/devicetree/bindings/usb/
A Dusb-xhci.yaml20 usb3-lpm-capable:
21 description: Determines if platform is USB3 LPM capable
41 usb3-lpm-capable;
A Dhisilicon,histb-xhci.txt27 - usb3-lpm-capable: determines if platform is USB3 LPM capable
/linux-6.3-rc2/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-6.3-rc2/block/
A Dioctl.c23 if (!capable(CAP_SYS_ADMIN)) in blkpg_do_ioctl()
263 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_register()
281 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_reserve()
299 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_release()
317 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_preempt()
335 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_clear()
350 if (!capable(CAP_SYS_ADMIN)) in blkdev_flushbuf()
362 if (!capable(CAP_SYS_ADMIN)) in blkdev_roset()
447 if (!capable(CAP_SYS_ADMIN)) in blkdev_bszset()
522 if(!capable(CAP_SYS_ADMIN)) in blkdev_common_ioctl()
[all …]
/linux-6.3-rc2/drivers/net/wireless/broadcom/b43legacy/
A 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()
/linux-6.3-rc2/kernel/
A Dcapability.c355 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-6.3-rc2/Documentation/powerpc/
A 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.
/linux-6.3-rc2/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()
392 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_copy_pair_swap()
/linux-6.3-rc2/Documentation/userspace-api/ioctl/
A Dcdrom.rst117 - 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-6.3-rc2/mm/
A Dhwpoison-inject.c21 if (!capable(CAP_SYS_ADMIN)) in hwpoison_inject()
57 if (!capable(CAP_SYS_ADMIN)) in hwpoison_unpoison()
/linux-6.3-rc2/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-6.3-rc2/net/atm/
A Dresources.c271 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-6.3-rc2/Documentation/driver-api/serial/
A 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
/linux-6.3-rc2/fs/gfs2/
A Dsys.c164 if (!capable(CAP_SYS_ADMIN)) in freeze_store()
196 if (!capable(CAP_SYS_ADMIN)) in withdraw_store()
217 if (!capable(CAP_SYS_ADMIN)) in statfs_sync_store()
236 if (!capable(CAP_SYS_ADMIN)) in quota_sync_store()
257 if (!capable(CAP_SYS_ADMIN)) in quota_refresh_user_store()
279 if (!capable(CAP_SYS_ADMIN)) in quota_refresh_group_store()
304 if (!capable(CAP_SYS_ADMIN)) in demote_rq_store()
632 if (!capable(CAP_SYS_ADMIN)) in quota_scale_store()
652 if (!capable(CAP_SYS_ADMIN)) in tune_set()
/linux-6.3-rc2/net/bluetooth/
A Dhci_sock.c957 if (!capable(CAP_NET_ADMIN)) in hci_sock_bound_ioctl()
968 if (!capable(CAP_NET_ADMIN)) in hci_sock_bound_ioctl()
973 if (!capable(CAP_NET_ADMIN)) in hci_sock_bound_ioctl()
1006 if (capable(CAP_NET_ADMIN)) in hci_sock_ioctl()
1031 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl()
1036 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl()
1041 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl()
1046 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl()
1058 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl()
1165 if (capable(CAP_NET_ADMIN)) in hci_sock_bind()
[all …]
/linux-6.3-rc2/drivers/pci/
A Dsyscall.c26 if (!capable(CAP_SYS_ADMIN)) in SYSCALL_DEFINE5()
95 if (!capable(CAP_SYS_ADMIN) || in SYSCALL_DEFINE5()
/linux-6.3-rc2/drivers/net/wireless/broadcom/b43/
A Dsysfs.c44 if (!capable(CAP_NET_ADMIN)) in b43_attr_interfmode_show()
87 if (!capable(CAP_NET_ADMIN)) in b43_attr_interfmode_store()
/linux-6.3-rc2/arch/x86/kernel/
A Dioport.c73 if (turn_on && (!capable(CAP_SYS_RAWIO) || in ksys_ioperm()
189 if (!capable(CAP_SYS_RAWIO) || in SYSCALL_DEFINE1()
/linux-6.3-rc2/drivers/macintosh/
A Dans-lcd.c112 if (!capable(CAP_SYS_ADMIN)) in anslcd_ioctl()
118 if (!capable(CAP_SYS_ADMIN)) in anslcd_ioctl()

Completed in 45 milliseconds

12345678910>>...35