/[ports]
ViewVC logotype

Revision 447227


Jump to revision: Previous Next
Author: asomers
Date: Thu Aug 3 15:20:17 2017 UTC (6 years, 11 months ago)
Changed paths: 2
Log Message:
devel/staf: stafproc passes a revoked file descriptor to children

staf's rc script uses daemon(8) to detach stafproc from its controlling
terminal, but it does nothing to stdin.  The result is that stafproc has a
stdin in the revoked state, which it passes to child processes.  Some
programs can't handle revoked file descriptors, because they return EBADF
despite being opened.

PR:		221161
Approved by:	koobs (portmgr)
MFH:		2017Q3
Sponsored by:	Spectra Logic Corp


Changed paths

Path Details
Directoryhead/devel/staf/Makefile modified , text changed
Directoryhead/devel/staf/files/stafproc.in modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27