summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/shm_open.2
Commit message (Collapse)AuthorAgeFilesLines
* MFC r312547: Mention sendfile(2) by popular demand.wblock2017-01-271-2/+8
| | | | Sponsored by: iXsystems
* MFC 312083:wblock2017-01-201-14/+39
| | | | | | Update the shm_open.2 man page to reflect objective reality. Sponsored by: iXsystems
* use .Mt to mark up email addresses consistently (part4)bapt2014-06-231-2/+2
| | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de>
* shm_open(2): Fixed the history information.ru2013-12-181-3/+3
| | | | | | While here, sort xrefs. Reviewed by: jhb
* General mdoc(7) and typo fixes.gjb2012-05-081-1/+1
| | | | | PR: 167713 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org)
* Remove superfluous paragraph macro.joel2012-03-251-1/+0
|
* Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki whilejoel2010-08-161-1/+1
| | | | | | translating these manual pages. Minor corrections by me. Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>
* You must include fcntl.h (in practice) to be able to do anything usefulrwatson2010-01-291-0/+1
| | | | | | with shm_open(2), as otherwise the O_ flags are undefined. MFC after: 3 days
* Add a new file descriptor type for IPC shared memory objects and use it tojhb2008-01-081-67/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | implement shm_open(2) and shm_unlink(2) in the kernel: - Each shared memory file descriptor is associated with a swap-backed vm object which provides the backing store. Each descriptor starts off with a size of zero, but the size can be altered via ftruncate(2). The shared memory file descriptors also support fstat(2). read(2), write(2), ioctl(2), select(2), poll(2), and kevent(2) are not supported on shared memory file descriptors. - shm_open(2) and shm_unlink(2) are now implemented as system calls that manage shared memory file descriptors. The virtual namespace that maps pathnames to shared memory file descriptors is implemented as a hash table where the hash key is generated via the 32-bit Fowler/Noll/Vo hash of the pathname. - As an extension, the constant 'SHM_ANON' may be specified in place of the path argument to shm_open(2). In this case, an unnamed shared memory file descriptor will be created similar to the IPC_PRIVATE key for shmget(2). Note that the shared memory object can still be shared among processes by sharing the file descriptor via fork(2) or sendmsg(2), but it is unnamed. This effectively serves to implement the getmemfd() idea bandied about the lists several times over the years. - The backing store for shared memory file descriptors are garbage collected when they are not referenced by any open file descriptors or the shm_open(2) virtual namespace. Submitted by: dillon, peter (previous versions) Submitted by: rwatson (I based this on his version) Reviewed by: alc (suggested converting getmemfd() to shm_open())
* Sort sections.ru2005-01-201-9/+9
|
* Fix the NAME section making whatis(1) happy in particular.ru2004-07-051-4/+2
|
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+2
|
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-011-2/+2
|
* MFS: in HISTORY section, fix release number of first appearancesheldonh2001-08-011-1/+1
|
* ``.St -p1003.1b'' -> ``.St -p1003.1b-93''.ru2001-02-261-1/+1
|
* mdoc(7) police: Nm -> Fn where appropriate.ru2000-11-201-11/+10
|
* mdoc(7) police: use certified section headers wherever possible.ru2000-11-171-1/+1
|
* Whitespace only change: trim trailing whitespace.asmodai2000-10-301-1/+1
|
* Spell MAP_NOSYNC correctly.wollman2000-04-231-1/+1
| | | | Submitted by: allenc@verinet.com
* .Lb-ifywollman2000-04-231-0/+2
|
* Add shm_open(3) and shm_unlink(3). The documentation could use a goodwollman2000-04-221-0/+192
bit of work (and is stylistically probably the worst manual page I've ever written).
OpenPOWER on IntegriCloud