shmctl.2 (108085) | shmctl.2 (131504) |
---|---|
1.\" 2.\" Copyright (c) 1995 David Hovemeyer <daveho@infocom.com> 3.\" 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 9 unchanged lines hidden (view full) --- 18.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 19.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25.\" | 1.\" 2.\" Copyright (c) 1995 David Hovemeyer <daveho@infocom.com> 3.\" 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 9 unchanged lines hidden (view full) --- 18.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 19.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25.\" |
26.\" $FreeBSD: head/lib/libc/sys/shmctl.2 108085 2002-12-19 09:33:34Z ru $ | 26.\" $FreeBSD: head/lib/libc/sys/shmctl.2 131504 2004-07-02 23:52:20Z ru $ |
27.\" 28.Dd July 17, 1995 29.Dt SHMCTL 2 30.Os 31.Sh NAME 32.Nm shmctl 33.Nd shared memory control 34.Sh LIBRARY --- 31 unchanged lines hidden (view full) --- 66.Fa buf . 67The calling process's effective uid must 68match either 69.Fa shm_perm.uid 70or 71.Fa shm_perm.cuid , 72or it must have superuser privileges. 73.It Dv IPC_RMID | 27.\" 28.Dd July 17, 1995 29.Dt SHMCTL 2 30.Os 31.Sh NAME 32.Nm shmctl 33.Nd shared memory control 34.Sh LIBRARY --- 31 unchanged lines hidden (view full) --- 66.Fa buf . 67The calling process's effective uid must 68match either 69.Fa shm_perm.uid 70or 71.Fa shm_perm.cuid , 72or it must have superuser privileges. 73.It Dv IPC_RMID |
74Removes the segment from the system. The removal will not take | 74Removes the segment from the system. 75The removal will not take |
75effect until all processes having attached the segment have exited; 76however, once the IPC_RMID operation has taken place, no further | 76effect until all processes having attached the segment have exited; 77however, once the IPC_RMID operation has taken place, no further |
77processes will be allowed to attach the segment. For the operation | 78processes will be allowed to attach the segment. 79For the operation |
78to succeed, the calling process's effective uid must match 79.Fa shm_perm.uid 80or 81.Fa shm_perm.cuid , 82or the process must have superuser privileges. 83.\" .It Dv SHM_LOCK 84.\" Locks the segment in memory. The calling process must have 85.\" superuser privileges. Not implemented in FreeBSD. --- 53 unchanged lines hidden --- | 80to succeed, the calling process's effective uid must match 81.Fa shm_perm.uid 82or 83.Fa shm_perm.cuid , 84or the process must have superuser privileges. 85.\" .It Dv SHM_LOCK 86.\" Locks the segment in memory. The calling process must have 87.\" superuser privileges. Not implemented in FreeBSD. --- 53 unchanged lines hidden --- |