Home
last modified time | relevance | path

Searched refs:CAP_IPC_LOCK (Results 1 – 20 of 20) sorted by relevance

/linux-6.3-rc2/mm/
A Dmlock.c44 if (capable(CAP_IPC_LOCK)) in can_do_mlock()
588 if ((locked > lock_limit) && (!capable(CAP_IPC_LOCK))) { in do_mlock()
600 if ((locked <= lock_limit) || capable(CAP_IPC_LOCK)) in do_mlock()
716 capable(CAP_IPC_LOCK)) in SYSCALL_DEFINE1()
755 if ((memlock == LONG_MAX || memlock > lock_limit) && !capable(CAP_IPC_LOCK)) { in user_shm_lock()
A Dutil.c522 capable(CAP_IPC_LOCK)); in account_locked_vm()
A Dmmap.c1151 if (locked > lock_limit && !capable(CAP_IPC_LOCK)) in mlock_future_check()
/linux-6.3-rc2/drivers/infiniband/hw/hfi1/
A Duser_pages.c39 if (!capable(CAP_IPC_LOCK)) { in hfi1_can_pin_pages()
/linux-6.3-rc2/drivers/infiniband/hw/qib/
A Dqib_user_pages.c104 if (locked > lock_limit && !capable(CAP_IPC_LOCK)) { in qib_get_user_pages()
/linux-6.3-rc2/include/uapi/linux/
A Dcapability.h215 #define CAP_IPC_LOCK 14 macro
/linux-6.3-rc2/Documentation/admin-guide/
A Dperf-security.rst243 imposed but ignored for unprivileged processes with CAP_IPC_LOCK
252 unprivileged processes with CAP_IPC_LOCK capability.
259 unprivileged processes with CAP_IPC_LOCK capability.
302 for processes with the CAP_IPC_LOCK capability. Thus, perf_events/Perf
305 executable with CAP_IPC_LOCK capability.
/linux-6.3-rc2/drivers/infiniband/core/
A Dumem.c205 if (new_pinned > lock_limit && !capable(CAP_IPC_LOCK)) { in ib_umem_get()
/linux-6.3-rc2/net/xdp/
A Dxdp_umem.c132 if (capable(CAP_IPC_LOCK)) in xdp_umem_account_pages()
/linux-6.3-rc2/drivers/infiniband/hw/usnic/
A Dusnic_uiom.c129 if ((locked > lock_limit) && !capable(CAP_IPC_LOCK)) { in usnic_uiom_get_pages()
/linux-6.3-rc2/tools/perf/Documentation/
A Dsecurity.txt147 Ignore mlock limit after perf_event_mlock_kb without CAP_IPC_LOCK
/linux-6.3-rc2/drivers/vfio/
A Dvfio_iommu_type1.c1528 lock_cap = capable(CAP_IPC_LOCK); in vfio_change_dma_owner()
1643 dma->lock_cap = capable(CAP_IPC_LOCK); in vfio_dma_do_map()
/linux-6.3-rc2/fs/hugetlbfs/
A Dinode.c1560 return capable(CAP_IPC_LOCK) || in_group_p(shm_group); in can_do_hugetlb_shm()
/linux-6.3-rc2/drivers/iommu/iommufd/
A Dpages.c1167 if (capable(CAP_IPC_LOCK)) in iopt_alloc_pages()
/linux-6.3-rc2/ipc/
A Dshm.c1195 if (!ns_capable(ns->user_ns, CAP_IPC_LOCK)) { in shmctl_do_lock()
/linux-6.3-rc2/arch/x86/kvm/svm/
A Dsev.c410 if (locked > lock_limit && !capable(CAP_IPC_LOCK)) { in sev_pin_memory()
/linux-6.3-rc2/io_uring/
A Dio_uring.c3708 if (!capable(CAP_IPC_LOCK)) in io_uring_create()
/linux-6.3-rc2/Documentation/admin-guide/sysctl/
A Dkernel.rst897 ``CAP_IPC_LOCK``.
/linux-6.3-rc2/net/core/
A Dskbuff.c1410 if (capable(CAP_IPC_LOCK) || !size) in mm_account_pinned_pages()
/linux-6.3-rc2/kernel/events/
A Dcore.c6519 !capable(CAP_IPC_LOCK)) { in perf_mmap()

Completed in 93 milliseconds