diff options
author | obrien <obrien@FreeBSD.org> | 2001-04-25 20:56:15 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-04-25 20:56:15 +0000 |
commit | a15a0c029e53a5fc31851f6854d1d0318beb4faf (patch) | |
tree | 78ae7092b6a51db66f2423801f8f9939acc7e6fc /sys/conf/Makefile.pc98 | |
parent | b65aa4182ee019098c265b1fa5a1b26822d2e3e8 (diff) | |
download | FreeBSD-src-a15a0c029e53a5fc31851f6854d1d0318beb4faf.zip FreeBSD-src-a15a0c029e53a5fc31851f6854d1d0318beb4faf.tar.gz |
Don't install KO's with the "schg" flag.
We are way too inconsistent with our setting of the "schg" flag, and in
our default install, it doesn't really offer any additional security.
Reviewed by: arch@
Diffstat (limited to 'sys/conf/Makefile.pc98')
-rw-r--r-- | sys/conf/Makefile.pc98 | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/conf/Makefile.pc98 b/sys/conf/Makefile.pc98 index d132d3e..bce1d59 100644 --- a/sys/conf/Makefile.pc98 +++ b/sys/conf/Makefile.pc98 @@ -255,23 +255,16 @@ kernel-install kernel-install.debug: fi .if exists(${DESTDIR}${KODIR}) .if exists(${DESTDIR}${KODIR}.old) - @-chflags -R noschg ${DESTDIR}${KODIR}.old -rm -rf ${DESTDIR}${KODIR}.old .endif mv ${DESTDIR}${KODIR} ${DESTDIR}${KODIR}.old .endif mkdir -p ${DESTDIR}${KODIR} - @-if [ -f ${DESTDIR}${KODIR}/${KERNEL_KO} ] ; then \ - chflags noschg ${DESTDIR}${KODIR}/${KERNEL_KO} ; \ - fi - install -c -m 555 -o root -g wheel -fschg \ + install -c -m 555 -o root -g wheel \ ${KERNEL_KO}${.TARGET:S/kernel-install//} ${DESTDIR}${KODIR} kernel-reinstall kernel-reinstall.debug: - @-if [ -f ${DESTDIR}${KODIR}/${KERNEL_KO} ] ; then \ - chflags noschg ${DESTDIR}${KODIR}/${KERNEL_KO} ; \ - fi - install -c -m 555 -o root -g wheel -fschg \ + install -c -m 555 -o root -g wheel \ ${KERNEL_KO}${.TARGET:S/kernel-reinstall//} ${DESTDIR}${KODIR} .if !defined(MODULES_WITH_WORLD) && !defined(NO_MODULES) && exists($S/modules) |