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.alpha | |
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.alpha')
-rw-r--r-- | sys/conf/Makefile.alpha | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/conf/Makefile.alpha b/sys/conf/Makefile.alpha index ddeae04..0d6afd1 100644 --- a/sys/conf/Makefile.alpha +++ b/sys/conf/Makefile.alpha @@ -292,23 +292,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) |