mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
pidfile_open() no longer uses fcntl() to set the close-on-exec flag.
This commit is contained in:
parent
0113cca483
commit
50636e133d
1 changed files with 1 additions and 2 deletions
|
|
@ -81,7 +81,7 @@ argument is
|
|||
file will be used.
|
||||
The
|
||||
.Fn pidfile_open
|
||||
function sets the FD_CLOEXEC close-on-exec flag on the open file descriptor.
|
||||
function sets the O_CLOEXEC close-on-exec flag when opening the pidfile.
|
||||
.Pp
|
||||
The
|
||||
.Fn pidfile_write
|
||||
|
|
@ -205,7 +205,6 @@ The
|
|||
function may also fail and set
|
||||
.Va errno
|
||||
for any errors specified for the
|
||||
.Xr fcntl 2 ,
|
||||
.Xr fstat 2 ,
|
||||
.Xr open 2 ,
|
||||
and
|
||||
|
|
|
|||
Loading…
Reference in a new issue