Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/etc/rc,v rcsdiff: /ftp/cvs/cvsroot/src/etc/rc,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.172 retrieving revision 1.173 diff -u -p -r1.172 -r1.173 --- src/etc/rc 2017/02/02 20:49:55 1.172 +++ src/etc/rc 2017/03/20 16:02:48 1.173 @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: rc,v 1.172 2017/02/02 20:49:55 christos Exp $ +# $NetBSD: rc,v 1.173 2017/03/20 16:02:48 christos Exp $ # # rc -- # Run the scripts in /etc/rc.d with rcorder, and log output @@ -87,6 +87,7 @@ rc_real_work() _rc_postprocessor_fd=9 ; export _rc_postprocessor_fd _rc_pid=$$ ; export _rc_pid eval "exec ${_rc_postprocessor_fd}>&1" + fdflags -s +cloexec 9 # Print a metadata line when we exit #