fork.2: Add notes on inheritance of flock() and OFD locks across fork()

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-05-01 06:42:50 +02:00
parent d068eb3b73
commit 5879ccc0d3
1 changed files with 6 additions and 1 deletions

View File

@ -72,8 +72,13 @@ The child's set of pending signals is initially empty
The child does not inherit semaphore adjustments from its parent
.RB ( semop (2)).
.IP *
The child does not inherit record locks from its parent
The child does not inherit process-associated record locks from its parent
.RB ( fcntl (2)).
(On the other hand, it does inherit
.BR fcntl (2)
open file description locks and
.BR flock (2)
locks from its parent.)
.IP *
The child does not inherit timers from its parent
.RB ( setitimer (2),