Date: Tue, 31 Oct 2006 19:37:29 GMT From: Todd Miller <millert@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 108850 for review Message-ID: <200610311937.k9VJbT5j085648@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=108850 Change 108850 by millert@millert_g5tower on 2006/10/31 19:36:53 Use setfiles to relabel /var/run after we recreate it in /etc/rc Affected files ... .. //depot/projects/trustedbsd/sedarwin8/darwin/launchd/src/Makefile.postamble#2 edit .. //depot/projects/trustedbsd/sedarwin8/darwin/launchd/src/Makefile.preamble#2 edit .. //depot/projects/trustedbsd/sedarwin8/darwin/launchd/src/rc#2 edit Differences ... ==== //depot/projects/trustedbsd/sedarwin8/darwin/launchd/src/Makefile.postamble#2 (text+ko) ==== @@ -102,3 +102,6 @@ install-man-page: install -d $(DSTROOT)/usr/share/man/man8 install -c -m 444 launchd.8 $(DSTROOT)/usr/share/man/man8/launchd.8 + +install-rc: + install -c -m 644 rc $(DSTROOT)/private/etc/rc ==== //depot/projects/trustedbsd/sedarwin8/darwin/launchd/src/Makefile.preamble#2 (text+ko) ==== @@ -1,4 +1,4 @@ OTHER_GENERATED_OFILES = $(VERS_OFILE) BEFORE_BUILD += bootstrap.h OTHER_OFILES = bootstrapServer.o -AFTER_INSTALL += install-man-page +AFTER_INSTALL += install-man-page install-rc ==== //depot/projects/trustedbsd/sedarwin8/darwin/launchd/src/rc#2 (text+ko) ==== @@ -133,6 +133,9 @@ touch -t 198501010000 /var/run/sudo/* fi +# Set labels on /var/run +/usr/bin/setfiles /etc/sedarwin/refpolicy/contexts/files/file_contexts /var/run + # Clear utmp (who is logged on). touch /var/run/utmp /var/run/utmpx
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610311937.k9VJbT5j085648>