NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/47029: We need shm_open() and shm_unlink()



The following reply was made to PR kern/47029; it has been noted by GNATS.

From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/47029: We need shm_open() and shm_unlink()
Date: Sat, 21 Dec 2013 01:38:56 +0900 (JST)

 shm_open(3) and shm_unlink(3) are added to NetBSD 6.99.28
 with following commits.
 
 Module Name:    src
 Committed By:   martin
 Date:           Sun Dec  1 09:13:55 UTC 2013
 
 Modified Files:
         src/distrib/sets/lists/base: mi
         src/etc/mtree: NetBSD.dist.base
 
 Log Message:
 Add a /var/shm directory (to be used for shm_open and friends)
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.1050 -r1.1051 src/distrib/sets/lists/base/mi
 cvs rdiff -u -r1.129 -r1.130 src/etc/mtree/NetBSD.dist.base
 
 
 Module Name:    src
 Committed By:   rmind
 Date:           Thu Dec 19 19:40:08 UTC 2013
 
 Modified Files:
         src/distrib/sets/lists/comp: mi
         src/lib/librt: Makefile
 Added Files:
         src/lib/librt: shm_open.3
 
 Log Message:
 Add a man page for shm_open(3) and shm_unlink(3).  Obtained from FreeBSD,
 with various modifications.
 
 
 Module Name:    src
 Committed By:   rmind
 Date:           Thu Dec 19 19:11:50 UTC 2013
 
 Modified Files:
         src/lib/libc/gen: sysconf.c
         src/lib/librt: Makefile
         src/sys/sys: mman.h unistd.h
         src/usr.bin/getconf: getconf.c
 Added Files:
         src/lib/librt: shm.c
 
 Log Message:
 Add shm_open(3) and shm_unlink(3) to support POSIX shared memory objects.
 They are implemented using tmpfs (mounted at /var/shm).
 
 Discussed on tech-{kern,userlevel} (quite a while ago).
 
 
 Module Name:    src
 Committed By:   martin
 Date:           Thu Dec  5 15:41:23 UTC 2013
 
 Modified Files:
         src/usr.sbin/postinstall: postinstall
 
 Log Message:
 Add a "varshm" check/fix to make sure /var/shm is mentioned in /etc/fstab
 (and add a default of tmpfs with 25% of available ram limit if not).
 To avoid the warning but not mount the tmpfs, just comment out the line
 for /var/shm.
 
 Also move "obsolete" to the end of the list again, as it should be run
 last.
 
 --
 Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
 PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3
 


Home | Main Index | Thread Index | Old Index