1 .\" Copyright (c) 1993 Luigi P. Bai (lpb@softint.com) July 28, 1993
3 .\" Permission is granted to make and distribute verbatim copies of this
4 .\" manual provided the copyright notice and this permission notice are
5 .\" preserved on all copies.
7 .\" Permission is granted to copy and distribute modified versions of this
8 .\" manual under the conditions for verbatim copying, provided that the
9 .\" entire resulting derived work is distributed under the terms of a
10 .\" permission notice identical to this one.
12 .\" Since the Linux kernel and libraries are constantly changing, this
13 .\" manual page may be incorrect or out-of-date. The author(s) assume no
14 .\" responsibility for errors or omissions, or for damages resulting from
15 .\" the use of the information contained herein. The author(s) may not
16 .\" have taken the same level of care in the production of this manual,
17 .\" which is licensed free of charge, as they might when working
20 .\" Formatted or processed versions of this manual, if unaccompanied by
21 .\" the source, must acknowledge the copyright and authors of this work.
23 .\" Modified Wed Jul 28 10:57:35 1993, Rik Faith <faith@cs.unc.edu>
24 .\" Modified Sun Nov 28 16:43:30 1993, Rik Faith <faith@cs.unc.edu>
25 .\" with material from Giorgio Ciucci <giorgio@crcc.it>
26 .\" Portions Copyright 1993 Giorgio Ciucci <giorgio@crcc.it>
27 .\" Modified Tue Oct 22 22:03:17 1996 by Eric S. Raymond <esr@thyrsus.com>
28 .\" Modified, 8 Jan 2003, Michael Kerrisk, <mtk.manpages@gmail.com>
29 .\" Removed EIDRM from errors - that can't happen...
30 .\" Modified, 27 May 2004, Michael Kerrisk <mtk.manpages@gmail.com>
31 .\" Added notes on capability requirements
32 .\" Modified, 11 Nov 2004, Michael Kerrisk <mtk.manpages@gmail.com>
33 .\" Language and formatting clean-ups
34 .\" Added notes on /proc files
36 .\" Japanese Version Copyright (c) 1997 HANATAKA Shinya
37 .\" all rights reserved.
38 .\" Translated 1997-03-01, HANATAKA Shinya <hanataka@abyss.rim.or.jp>
39 .\" Updated & Modified 2001-06-03, Yuichi SATO <ysato@h4.dion.ne.jp>
40 .\" Updated 2001-12-22, Kentaro Shirakata <argrath@ub32.org>
41 .\" Updated 2002-10-16, Kentaro Shirakata <argrath@ub32.org>
42 .\" Updated 2003-02-23, Kentaro Shirakata <argrath@ub32.org>
43 .\" Updated 2005-03-02, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
44 .\" Updated 2005-11-04, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
45 .\" Updated 2006-07-21, Akihiro MOTOKI, LDP v2.36
47 .\"WORD: shared memory ¶¦Í¥á¥â¥ê
48 .\"WORD: segment ¥»¥°¥á¥ó¥È
50 .\"WORD: group ¥°¥ë¡¼¥×
52 .\"WORD: creator ºîÀ®¼Ô
53 .\"WORD: super-user ¥¹¡¼¥Ñ¡¼¡¦¥æ¡¼¥¶¡¼
56 .\"WORD: identifier ¼±ÊÌ»Ò
57 .\"WORD: member ¥á¥ó¥Ð¡¼
58 .\"WORD: effective user ID ¼Â¸ú¥æ¡¼¥¶¡¼ID
59 .\"WORD: effective group ID ¼Â¸ú¥°¥ë¡¼¥×ID
61 .\"WORD: implement ¼ÂÁõ
63 .TH SHMGET 2 2006-05-02 "Linux" "Linux Programmer's Manual"
66 .\"O shmget \- allocates a shared memory segment
67 shmget \- ¶¦Í¥á¥â¥ê¡¦¥»¥°¥á¥ó¥È¤ò³ä¤êÅö¤Æ¤ë
71 .B #include <sys/ipc.h>
73 .B #include <sys/shm.h>
75 .BI "int shmget(key_t " key ", size_t " size ", int " shmflg );
80 .\"O returns the identifier of the shared memory segment
81 .\"O associated with the value of the argument
83 .\"O A new shared memory segment, with size equal to the value of
85 .\"O rounded up to a multiple of
94 .\"O .BR IPC_PRIVATE ,
95 .\"O no shared memory segment corresponding to
104 °ú¤¿ô¤ËÂбþ¤¹¤ë¶¦Í¥á¥â¥ê¡¦¥»¥°¥á¥ó¥È¤Î¼±Ê̻ҤòÊÖ¤¹¡£
110 ¤ËÂбþ¤¹¤ë¶¦Í¥á¥â¥ê¡¦¥»¥°¥á¥ó¥È¤¬Â¸ºß¤»¤º¡¢
114 ¤¬»ØÄꤵ¤ì¤Æ¤¤¤¿¾ì¹ç¡¢
115 ¿·¤·¤¤¶¦Í¥á¥â¥ê¡¦¥»¥°¥á¥ó¥È¤òºîÀ®¤¹¤ë¡£
116 ºîÀ®¤µ¤ì¤ë¶¦Í¥á¥â¥ê¡¦¥»¥°¥á¥ó¥È¤Ï¡¢
120 ¤ÎÇÜ¿ô¤Ø¤ÈÀÚ¤ê¾å¤²¤¿ (round up) Â礤µ¤È¤Ê¤ë¡£
128 .\"O and a shared memory segment already exists for
136 .\"O (This is analogous to the effect of the combination
137 .\"O .B O_CREAT | O_EXCL
145 ¤ÎξÊý¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢
147 ¤ËÂбþ¤¹¤ë¶¦Í¥á¥â¥ê¡¦¥»¥°¥á¥ó¥È¤¬´û¤Ë¸ºß¤¹¤ë¤È¡¢
157 ¤ò»ØÄꤷ¤¿¾ì¹ç¤ÎÆ°ºî¤ÈƱ¤¸¤Ç¤¢¤ë)¡£
163 ¤Ï°Ê²¼¤ÎÆâÍƤ«¤é¹½À®¤µ¤ì¤ë:
166 .\"O to create a new segment.
167 .\"O If this flag is not used, then
169 .\"O will find the segment associated with \fIkey\fP and check to see if
170 .\"O the user has permission to access the segment.
171 ¿·¤·¤¤¥»¥°¥á¥ó¥È¤òºîÀ®¤¹¤ë¡£¤³¤Î¥Õ¥é¥°¤¬»ØÄꤵ¤ì¤Ê¤«¤Ã¤¿¾ì¹ç¡¢
173 ¤Ï \fIkey\fP ¤ËÂбþ¤¹¤ë¥»¥°¥á¥ó¥È¤òõ¤·¡¢
174 ¥æ¡¼¥¶¤¬¤½¤Î¥»¥°¥á¥ó¥È¤Ë¥¢¥¯¥»¥¹¤¹¤ëµö²Ä¤¬¤¢¤ë¤«¤É¤¦¤«¤ò¥Á¥§¥Ã¥¯¤¹¤ë¡£
177 .\"O used with \fBIPC_CREAT\fP to ensure failure if the segment already exists.
178 \fBIPC_CREAT\fP ¤È¶¦¤Ë»ÈÍѤ·¡¢¥»¥°¥á¥ó¥È¤¬´û¤Ë¸ºß¤·¤¿¾ì¹ç¤Ë¤Ï
179 ¼ºÇÔ¤¹¤ë¤³¤È¤òÊݾڤ¹¤ë¡£
182 .\"O (least significant 9 bits)
184 .\"O specifying the permissions granted to the owner, group, and world.
185 .\"O These bits have the same format, and the same
190 .\"O Presently, the execute permissions are not used by the system.
191 ½êͼԡ¢¥°¥ë¡¼¥×¡¢Â¾¿Í (world) ¤Ø¤Îµö²Ä¤ò»ØÄꤹ¤ë¡£
196 °ú¤¿ô¤ÈƱ¤¸·Á¼°¤ÇƱ¤¸°ÕÌ£¤ò»ý¤Ä¡£
197 º£¤Î¤È¤³¤í¡¢¥·¥¹¥Æ¥à¤Ï¼Â¹Ô (execute) µö²Ä¤ò»²¾È¤·¤Ê¤¤¡£
199 .\"O .BR SHM_HUGETLB " (since Linux 2.6)"
200 .BR SHM_HUGETLB " (Linux 2.6 °Ê¹ß)"
201 .\"O Allocate the segment using "huge pages."
202 .\"O See the kernel source file
203 .\"O .I Documentation/vm/hugetlbpage.txt
204 .\"O for further information.
205 "¥Ò¥å¡¼¥¸¥Ú¡¼¥¸ (huge page)" ¤ò»È¤¦¥»¥°¥á¥ó¥È¤ò³ä¤êÅö¤Æ¤ë¡£
206 ¾ÜºÙ¤Ê¾ðÊó¤Ï¡¢¥«¡¼¥Í¥ë¡¦¥½¡¼¥¹¤Î¥Õ¥¡¥¤¥ë
207 .I Documentation/vm/hugetlbpage.txt
210 .\"O .BR SHM_NORESERVE " (since Linux 2.6.15)"
211 .BR SHM_NORESERVE " (Linux 2.6.15 °Ê¹ß)"
212 .\"O This flag serves the same purpose as the
214 .\"O .B MAP_NORESERVE
220 ¥Õ¥é¥°¤ÈƱ¤¸Ìò³ä¤ò²Ì¤¿¤¹¡£
221 .\"O Do not reserve swap space for this segment.
222 .\"O When swap space is reserved, one has the guarantee
223 .\"O that it is possible to modify the segment.
224 .\"O When swap space is not reserved one might get
227 .\"O if no physical memory is available.
228 ¤³¤Î¥»¥°¥á¥ó¥È¤ËÂФ¹¤ë¥¹¥ï¥Ã¥×¶õ´Ö¤ÎͽÌó¤ò¹Ô¤ï¤Ê¤¤¡£
229 ¥¹¥ï¥Ã¥×¶õ´Ö¤òͽÌó¤·¤¿¾ì¹ç¤Ï¡¢¤½¤Î¥»¥°¥á¥ó¥È¤ÎÊѹ¹¤¬É¬¤ºÀ®¸ù¤¹¤ë¤³¤È¤¬
230 Êݾڤµ¤ì¤ë¡£¥¹¥ï¥Ã¥×¶õ´Ö¤ÎͽÌó¤ò¹Ô¤ï¤Ê¤«¤Ã¤¿¾ì¹ç¤Ï¡¢ÊªÍý¥á¥â¥ê¤Ë¶õ¤¤¬
233 ¤ò¼õ¤±¼è¤ë²ÄǽÀ¤¬¤¢¤ë¡£
234 .\"O See also the discussion of the file
235 .\"O .I /proc/sys/vm/overcommit_memory
240 .I /proc/sys/vm/overcommit_memory
241 ¥Õ¥¡¥¤¥ë¤Ë´Ø¤¹¤ëµÄÏÀ¤â»²¾È¤Î¤³¤È¡£
242 .\" As at 2.6.17-rc2, this flag has no effect if SHM_HUGETLB was also
245 .\"O When a new shared memory segment is created,
246 .\"O its contents are initialized to zero values, and
247 .\"O its associated data structure,
250 .\"O .BR shmctl (2)),
251 .\"O is initialized as follows:
252 ¶¦Í¥á¥â¥ê¡¦¥»¥°¥á¥ó¥È¤¬¿·¤¿¤ËºîÀ®¤µ¤ì¤ëºÝ¡¢
253 ¶¦Í¥á¥â¥ê¡¦¥»¥°¥á¥ó¥È¤ÎÆâÍÆ¤Ï 0 ¤Ç½é´ü²½¤µ¤ì¡¢
254 ´ØÏ¢¾ðÊó¤òÊÝ»ý¤¹¤ë¥Ç¡¼¥¿¹½Â¤ÂÎ
256 ¤Ï°Ê²¼¤Î¤è¤¦¤Ë½é´ü²½¤µ¤ì¤ë¡£
258 .\"O .I shm_perm.cuid
261 .\"O are set to the effective user ID of the calling process.
265 ¤Ë¸Æ¤Ó½Ð¤·¸µ¥×¥í¥»¥¹¤Î¼Â¸ú (effective) ¥æ¡¼¥¶¡¼ID ¤òÀßÄꤹ¤ë¡£
267 .\"O .I shm_perm.cgid
270 .\"O are set to the effective group ID of the calling process.
274 ¤Ë¸Æ¤Ó½Ð¤·¸µ¥×¥í¥»¥¹¤Î¼Â¸ú¥°¥ë¡¼¥×ID ¤òÀßÄꤹ¤ë¡£
276 .\"O The least significant 9 bits of
277 .\"O .I shm_perm.mode
278 .\"O are set to the least significant 9 bit of
283 ¤Î²¼°Ì 9 ¥Ó¥Ã¥È¤òÀßÄꤹ¤ë¡£
286 .\"O is set to the value of
294 .\"O .IR shm_nattch ,
306 .\"O is set to the current time.
308 ¤Ë¸½ºß¤Î»þ¹ï¤òÀßÄꤹ¤ë¡£
310 .\"O If the shared memory segment already exists, the permissions are
311 .\"O verified, and a check is made to see if it is marked for destruction.
312 ¶¦Í¥á¥â¥ê¡¦¥»¥°¥á¥ó¥È¤¬´û¤Ë¸ºß¤¹¤ë¾ì¹ç¡¢¥¢¥¯¥»¥¹µö²Ä¤Î¸¡ºº¤È¡¢
313 Ç˲õ (destruction) ¥Þ¡¼¥¯¤¬¤Ä¤±¤é¤ì¤Æ¤¤¤Ê¤¤¤«¤Î¥Á¥§¥Ã¥¯¤¬¹Ô¤ï¤ì¤ë¡£
314 .\"O .SH "RETURN VALUE"
316 .\"O A valid segment identifier,
318 .\"O is returned on success, \-1 on error.
319 À®¸ù¤·¤¿¾ì¹ç¡¢Í¸ú¤Ê¥»¥°¥á¥ó¥È¼±ÊÌ»Ò
321 ¤¬ÊÖ¤µ¤ì¤ë¡£¥¨¥é¡¼¤Î¾ì¹ç¡¢ \-1 ¤¬ÊÖ¤µ¤ì¤ë¡£
326 .\"O is set to one of the following:
329 ¤¬°Ê²¼¤Î¤É¤ì¤«¤ËÀßÄꤵ¤ì¤ë:
332 .\"O The user does not have permission to access the
333 .\"O shared memory segment, and does not have the
334 .\"O .B CAP_IPC_OWNER
336 ¥æ¡¼¥¶¡¼¤Ï¤½¤Î¶¦Í¥á¥â¥ê¡¦¥»¥°¥á¥ó¥È¤Ø¤Î¥¢¥¯¥»¥¹µö²Ä¤ò»ý¤¿¤º¡¢
338 ¥±¡¼¥Ñ¥Ó¥ê¥Æ¥£¤â»ý¤Ã¤Æ¤¤¤Ê¤¤¡£
341 .\"O .B IPC_CREAT | IPC_EXCL
342 .\"O was specified and the segment exists.
343 .B IPC_CREAT | IPC_EXCL
344 ¤¬»ØÄꤵ¤ì¤Æ¤¤¤¿¤¬¡¢¤½¤Î¥»¥°¥á¥ó¥È¤¬´û¤Ë¸ºß¤¹¤ë¡£
347 .\"O A new segment was to be created and \fIsize\fP < \fBSHMMIN\fP
348 .\"O or \fIsize\fP > \fBSHMMAX\fP, or no new segment was to be created,
349 .\"O a segment with given key existed, but \fIsize\fP is greater than the size
350 .\"O of that segment.
351 ¿·¤·¤¤¥»¥°¥á¥ó¥È¤òºîÀ®¤·¤è¤¦¤È¤·¤¿ºÝ¤Ë
352 \fIsize\fP < \fBSHMMIN\fP ¤Þ¤¿¤Ï \fIsize\fP > \fBSHMMAX\fP ¤Ç¤¢¤Ã¤¿¡£
353 ¤â¤·¤¯¤Ï¡¢»ØÄꤵ¤ì¤¿¥¡¼¤ËÂбþ¤¹¤ë¥»¥°¥á¥ó¥È¤¬´û¤Ë¸ºß¤·¤Æ¡¢¿·¤·¤¤
354 ¥»¥°¥á¥ó¥È¤òºîÀ®¤·¤è¤¦¤È¤Ï¤·¤Ê¤«¤Ã¤¿¤¬¡¢\fIsize\fP ¤¬Â¸ºß¤¹¤ë¥»¥°¥á¥ó¥È¤Î
355 ¥µ¥¤¥º¤è¤ê¤âÂ礤«¤Ã¤¿¡£
358 .\"O .\" [2.6.7] shmem_zero_setup()-->shmem_file_setup()-->get_empty_filp()
359 .\"O The system limit on the total number of open files has been reached.
360 .\" [2.6.7] shmem_zero_setup()-->shmem_file_setup()-->get_empty_filp()
361 ¥·¥¹¥Æ¥àÁ´ÂΤǥª¡¼¥×¥ó¤µ¤ì¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¤ÎÁí¿ô¤¬¾å¸Â¤Ë㤷¤¿¡£
364 .\"O No segment exists for the given \fIkey\fP, and
366 .\"O was not specified.
367 »ØÄꤵ¤ì¤¿ \fIkey\fP ¤ËÂбþ¤¹¤ë¥»¥°¥á¥ó¥È¤¬Â¸ºß¤»¤º¡¢
369 ¤â»ØÄꤵ¤ì¤Æ¤¤¤Ê¤«¤Ã¤¿¡£
372 .\"O No memory could be allocated for segment overhead.
373 ¥»¥°¥á¥ó¥È¤Î´ÉÍý¾ðÊó (overhead) ¤Ë³ä¤êÅö¤Æ¤ë¥á¥â¥ê¤¬¤Ê¤«¤Ã¤¿¡£
376 .\"O All possible shared memory ID's have been taken
378 .\"O or allocating a segment of the requested
380 .\"O would cause the system to exceed the system-wide limit on shared memory
382 .\" motoki 2005-03-02 -- SHMMNI ¤Î°ÕÌ£¤ò¹Íθ¤·¤Æ°ÕÌõ
383 ¥·¥¹¥Æ¥àÁ´ÂΤζ¦Í¥á¥â¥ê¡¦¥»¥°¥á¥ó¥È¿ô¤ÎÀ©¸Â
385 ¤Ë㤷¤¿¡¢¤Þ¤¿¤ÏÍ׵ᤵ¤ì¤¿
387 ¤Î¥»¥°¥á¥ó¥È¤Î³ä¤êÅö¤Æ¤¬
388 ¥·¥¹¥Æ¥àÁ´ÂΤζ¦Í¥á¥â¥ê¥µ¥¤¥º¤ÎÀ©¸Â
395 .\"O flag was specified, but the caller was not privileged (did not have the
399 ¥Õ¥é¥°¤¬»ØÄꤵ¤ì¤¿¤¬¡¢¸Æ¤Ó½Ð¤·¸µ¤Ë¤Ï¸¢¸Â¤¬¤Ê¤«¤Ã¤¿
401 ¥±¡¼¥Ñ¥Ó¥ê¥Æ¥£¤ò»ý¤Ã¤Æ¤¤¤Ê¤«¤Ã¤¿)¡£
402 .\"O .SH "CONFORMING TO"
405 .\"O .\" SVr4 documents an additional error condition EEXIST.
406 .\" SVr4 ¤Ë¤ÏÄÉ²Ã¤Ç EEXIST ¥¨¥é¡¼¾õÂ֤ε½Ò¤¬¤¢¤ë¡£
409 .\"O is a nonportable Linux extension.
411 ¤Ï Linux ¤Ç¤Î³ÈÄ¥¤Ç¤¢¤ê¡¢°Ü¿¢À¤Ï¤Ê¤¤¡£
415 .\"O isn't a flag field but a
422 .\"O If this special value is used for
424 .\"O the system call ignores everything but the least significant 9 bits of
426 .\"O and creates a new shared memory segment (on success).
433 ¤Î²¼°Ì 9 ¥Ó¥Ã¥È¤ò½ü¤¤¤¿Á´¤Æ¤ò̵»ë¤·¡¢
434 (À®¸ù¤¹¤ì¤Ð) ¿·¤·¤¤¶¦Í¥á¥â¥ê¡¦¥»¥°¥á¥ó¥È¤òºîÀ®¤¹¤ë¡£
436 .\"O The following limits on shared memory segment resources affect the
440 ¥³¡¼¥ë¤Ë±Æ¶Á¤¹¤ë¶¦Í¥á¥â¥ê¡¦¥»¥°¥á¥ó¥È»ñ¸»¤ÎÀ©¸Â¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¢¤ë:
443 .\"O System wide maximum of shared memory pages
444 .\"O (on Linux, this limit can be read and modified via
445 .\"O .IR /proc/sys/kernel/shmall ).
446 ¥·¥¹¥Æ¥àÁ´ÂΤζ¦Í¥á¥â¥ê¡¦¥Ú¡¼¥¸¤ÎºÇÂç¿ô
447 (Linux ¤Ç¤Ï¡¢¤³¤Î¾å¸ÂÃͤÏ
448 .I /proc/sys/kernel/shmall
449 ·Ðͳ¤Ç»²¾È¤·¤¿¤ê¡¢Êѹ¹¤·¤¿¤ê¤Ç¤¤ë)¡£
452 .\"O Maximum size in bytes for a shared memory segment: policy dependent
453 .\"O (on Linux, this limit can be read and modified via
454 .\"O .IR /proc/sys/kernel/shmmax ).
455 ¶¦Í¥á¥â¥ê¡¦¥»¥°¥á¥ó¥È¤Î¥Ð¥¤¥Èñ°Ì¤ÎÂ礤µ¤Î¾å¸Â: Êý¿Ë°Í¸
456 (Linux ¤Ç¤Ï¡¢¤³¤Î¾å¸ÂÃͤÏ
457 .I /proc/sys/kernel/shmmax
458 ·Ðͳ¤Ç»²¾È¤·¤¿¤ê¡¢Êѹ¹¤·¤¿¤ê¤Ç¤¤ë)¡£
461 .\"O Minimum size in bytes for a shared memory segment: implementation
462 .\"O dependent (currently 1 byte, though
464 .\"O is the effective minimum size).
465 ¶¦Í¥á¥â¥ê¡¦¥»¥°¥á¥ó¥È¤Î¥Ð¥¤¥Èñ°Ì¤ÎÂ礤µ¤Î²¼¸Â: ¼ÂÁõ°Í¸
466 (¸½ºß¤Ï 1 ¥Ð¥¤¥È¤À¤¬¡¢¼Â¼ÁŪ¤ÊºÇ¾®¥µ¥¤¥º¤Ï
471 .\"O System wide maximum number of shared memory segments: implementation
472 .\"O dependent (currently 4096, was 128 before Linux 2.3.99;
473 .\"O on Linux, this limit can be read and modified via
474 .\"O .IR /proc/sys/kernel/shmmni ).
475 .\"O .\" Kernels between 2.4.x and 2.6.8 had an off-by-one error that meant
476 .\"O .\" that we could create one more segment than SHMMNI -- MTK
477 .\"O .\" This /proc file is not available in Linux 2.2 and earlier -- MTK
478 ¥·¥¹¥Æ¥àÁ´ÂΤζ¦Í¥á¥â¥ê¡¼¤Î¿ô¤Î¾å¸Â: ¼ÂÁõ°Í¸
479 (¸½ºß¤Ï 4096¡£Linux 2.3.99 ¤è¤êÁ°¤Ç¤Ï 128¡£
480 Linux ¤Ç¤Ï¡¢¤³¤Î¾å¸ÂÃͤÏ
481 .I /proc/sys/kernel/shmmni
482 ·Ðͳ¤Ç»²¾È¤·¤¿¤ê¡¢Êѹ¹¤·¤¿¤ê¤Ç¤¤ë)¡£
483 .\" 2.4.x ¤È 2.6.8 ¤Î´Ö¤Î¥«¡¼¥Í¥ë¤Ë¤Ï¡¢SHMMNI ¤è¤ê°ì¤Ä¤Î¿¤¯¤Î
484 .\" ¥»¥°¥á¥ó¥È¤òºîÀ®¤Ç¤¤ë¤È¤¤¤¦¥Ð¥°¤¬¤¢¤Ã¤¿¡£
485 .\" ¤³¤Î /proc ¥Õ¥¡¥¤¥ë¤Ï Linux 2.2 °ÊÁ°¤Ç¤ÏÍøÍѤǤ¤Ê¤¤ -- MTK
487 .\"O The implementation has no specific limits for the per-process maximum
488 .\"O number of shared memory segments
490 ¥×¥í¥»¥¹Åö¤ê¤Î¶¦Í¥á¥â¥ê¡¦¥»¥°¥á¥ó¥È¤Î¸Ä¿ô¤ÎºÇÂçÃÍ
492 ¤Ë´Ø¤¹¤ë¼ÂÁõ¾å¤ÎÀ©¸Â¤Ï¤Ê¤¤¡£
494 .\"O Until version 2.3.30 Linux would return
498 .\"O on a shared memory segment scheduled for deletion.
500 ¥Ð¡¼¥¸¥ç¥ó 2.3.30 ¤Þ¤Ç¤Ï¡¢Linux ¤Ï
501 ºï½ü¤¬Í½Äꤵ¤ì¤Æ¤¤¤ë¶¦Í¥á¥â¥ê¡¦¥»¥°¥á¥ó¥È¤ËÂФ·¤Æ
510 .\"O was perhaps unfortunate,
512 .\"O would more clearly show its function.
514 ¤È¤¤¤¦Ì¾Á°¤òÁª¤ó¤À¤Î¤Ï¤ª¤½¤é¤¯¼ºÇԤǤ¢¤í¤¦¡£
516 ¤ÎÊý¤¬¤è¤êÌÀ³Î¤Ë¤½¤Îµ¡Ç½¤òɽ¤·¤Æ¤¤¤ë¤À¤í¤¦¡£
523 .BR capabilities (7),
524 .BR shm_overview (7),