Synopsis: Security hole in umapfs
NetBSD versions: NetBSD 1.3.3 and prior; NetBSD-current until 19990312
Thanks to: Manuel Bouyer
Reported in NetBSD Security Advisory: SA1999-006
This patch fixes the umapfs problem described in the NetBSD-SA1999-006
security advisory. For it to apply, make sure you have NetBSD 1.3.3 kernel
sources unpacked in /usr/src, then do:
% cd /usr/src/sys
% patch <19990311-umapfs
% cd ../../arch/`uname -m`/conf
% config GENERIC
% cd ../compile/GENERIC
% make depend && make
% su root
# mv /netbsd /netbsd.old
# cp netbsd /
# chmod 444 /netbsd
# sync; reboot