CAP_IPC_LOCK is not required for SHM_UNLOCK since kernel 2.6.9

This commit is contained in:
Michael Kerrisk 2004-11-23 10:06:02 +00:00
parent 01f3816758
commit 3d3886497f
1 changed files with 4 additions and 1 deletions

View File

@ -28,10 +28,12 @@
.\" Modified 2002-01-05, 2004-05-27, 2004-06-17,
.\" Michael Kerrisk <mtk-manpages@gmx.net>
.\" Modified 2004-10-11, aeb
.\" Modified, 11 Nov 2004, Michael Kerrisk <mtk-manpages@gmx.net>
.\" Modified, Nov 2004, Michael Kerrisk <mtk-manpages@gmx.net>
.\" Language and formatting clean-ups
.\" Updated shmid_ds structure definitions
.\" Added information on SHM_DEST and SHM_LOCKED flags
.\" Noted that CAP_IPC_LOCK is not required for SHM_UNLOCK
.\" since kernel 2.6.9
.\"
.TH SHMCTL 2 2004-11-10 "Linux 2.6.9" "Linux Programmer's Manual"
.SH NAME
@ -223,6 +225,7 @@ capability).
Or,
.B SHM_LOCK
or
(in Linux kernels before 2.6.9)
.B SHM_UNLOCK
was specified, but the process was not privileged
(Linux: did not have the