aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/shmctl.2
Commit message (Collapse)AuthorAgeFilesLines
* libsys: relocate implementations and manpagesBrooks Davis2024-02-051-139/+0
| | | | | | | | | Remove core system call implementations and documentation to lib/libsys and lib/libsys/<arch> from lib/libc/sys and lib/libc/<arch>/<sys>. Update paths to allow libc to find them in their new home. Reviewed by: kib, emaste, imp Pull Request: https://github.com/freebsd/freebsd-src/pull/908
* Remove $FreeBSD$: two-line nroff patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
* Change the default setting of kern.ipc.shm_allow_removed from 0 to 1.Edward Tomasz Napierala2015-10-101-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes the need for manually changing this flag for Google Chrome users. It also improves compatibility with Linux applications running under Linuxulator compatibility layer, and possibly also helps in porting software from Linux. Generally speaking, the flag allows applications to create the shared memory segment, attach it, remove it, and then continue to use it and to reattach it later. This means that the kernel will automatically "clean up" after the application exits. It could be argued that it's against POSIX. However, SUSv3 says this about IPC_RMID: "Remove the shared memory identifier specified by shmid from the system and destroy the shared memory segment and shmid_ds data structure associated with it." From my reading, we break it in any case by deferring removal of the segment until it's detached; we won't break it any more by also deferring removal of the identifier. This is the behaviour exhibited by Linux since... probably always, and also by OpenBSD since the following commit: revision 1.54 date: 2011/10/27 07:56:28; author: robert; state: Exp; lines: +3 -8; Allow segments to be used even after they were marked for deletion with the IPC_RMID flag. This is permitted as an extension beyond the standards and this is similar to what other operating systems like linux do. MFC after: 1 month Relnotes: yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3603 Notes: svn path=/head/; revision=289112
* Update shmget(2) with POSIX access permissions and remove non-standard SHM_R,Rebecca Cran2010-12-171-1/+0
| | | | | | | SHM_W and machine/param.h. Notes: svn path=/head/; revision=216508
* Make the structure definitions in the man pages match the real code, andKonstantin Belousov2009-06-291-13/+2
| | | | | | | | | remove no longer valid caution. Approved by: re (kensmith) Notes: svn path=/head/; revision=195172
* Hopefully, improve the grammar and wording in the changes to shmctl(2)Konstantin Belousov2009-03-051-4/+5
| | | | | | | | | | manpage and UPDATING entry 20090302. UPDATING changes suggested by bf2006a yahoo com. man page corrections by bde. Notes: svn path=/head/; revision=189399
* Correct types of variables used to track amount of allocated SysV sharedKonstantin Belousov2009-03-021-0/+9
| | | | | | | | | | | | | | | | | memory from int to size_t. Implement a workaround for current ABI not allowing to properly save size for and report more then 2Gb sized segment of shared memory. This makes it possible to use > 2 Gb shared memory segments on 64bit architectures. Please note the new BUGS section in shmctl(2) and UPDATING note for limitations of this temporal solution. Reviewed by: csjp Tested by: Nikolay Dzham <i levsha org ua> MFC after: 2 weeks Notes: svn path=/head/; revision=189283
* Expand contractions.Ruslan Ermilov2005-02-131-1/+1
| | | | Notes: svn path=/head/; revision=141851
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-2/+4
| | | | Notes: svn path=/head/; revision=131504
* mdoc(7) police: Fixed a few .Fa abuses.Ruslan Ermilov2002-12-191-2/+2
| | | | Notes: svn path=/head/; revision=108085
* mdoc(7) police: Tidy up the syscall language.Ruslan Ermilov2002-12-181-1/+3
| | | | | | | | | | | | | Stop calling system calls "function calls". Use "The .Fn system call" a-la "The .Nm utility". When referring to a non-BSD implementation in the HISTORY section, call syscall a function, to be safe. Notes: svn path=/head/; revision=108028
* mdoc(7) police: Use the new .In macro for #include statements.Ruslan Ermilov2001-10-011-4/+4
| | | | Notes: svn path=/head/; revision=84306
* Use the ``.Rv -std'' mdoc(7) macro in appropriate cases.Yaroslav Tykhiy2001-08-091-5/+1
| | | | | | | Reviewed by: ru Notes: svn path=/head/; revision=81352
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79531
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-291-0/+1
| | | | Notes: svn path=/head/; revision=70481
* Introduce ".Lb" macro to libc manpages.Alexey Zelkin2000-04-211-0/+2
| | | | | | | More libraries manpages updates following. Notes: svn path=/head/; revision=59460
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Show "#include <machine/param.h>" in SYNOPSIS to get declaration ofGuy Helmer1999-05-041-1/+2
| | | | | | | | | PAGE_SIZE for sys/shm.h. PR: docs/8464 Notes: svn path=/head/; revision=46426
* Removed superfluous quoting of function args.Bruce Evans1997-09-071-2/+2
| | | | Notes: svn path=/head/; revision=29177
* Removed unnecessary quoting of function names in synopsis to simplifyBruce Evans1997-03-181-2/+2
| | | | | | | automated checking of synopses. Notes: svn path=/head/; revision=24003
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22993
* Sort cross references.Wolfram Schneider1997-01-201-1/+1
| | | | Notes: svn path=/head/; revision=21907
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Fix even more spelling errors in some more man pages.Mike Pritchard1996-01-301-3/+3
| | | | Notes: svn path=/head/; revision=13750
* Add man pages for the SYSV shm* and sem* functions.Joerg Wunsch1995-10-031-0/+136
This partially closes PR # docs/177. This should probably also go into 2.1. Submitted by: daveho@infocom.com (David Hovemeyer) Notes: svn path=/head/; revision=11151