Don't install mount_msdos setuid root. Lite2's mount(2) handles

permissions centrally and a setuid root mount utility just breaks
its security.  There was no new breakage in practice because
mfdosfs_mount() still checks the ruid.
This commit is contained in:
Bruce Evans 1997-10-21 07:26:50 +00:00
parent 6e47de28bb
commit b493c70c4f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=30622
3 changed files with 3 additions and 12 deletions

View File

@ -1,14 +1,11 @@
#
# $Id: Makefile,v 1.4 1997/02/22 14:32:29 peter Exp $
# $Id: Makefile,v 1.5 1997/03/03 13:23:54 bde Exp $
#
PROG= mount_msdos
SRCS= mount_msdos.c getmntopts.c
MAN8= mount_msdos.8
BINOWN= root
BINMODE= 4555
MOUNT= ${.CURDIR}/../../mount
CFLAGS+= -D_NEW_VFSCONF
CFLAGS+= -I${MOUNT}

View File

@ -1,14 +1,11 @@
#
# $Id: Makefile,v 1.4 1997/02/22 14:32:29 peter Exp $
# $Id: Makefile,v 1.5 1997/03/03 13:23:54 bde Exp $
#
PROG= mount_msdos
SRCS= mount_msdos.c getmntopts.c
MAN8= mount_msdos.8
BINOWN= root
BINMODE= 4555
MOUNT= ${.CURDIR}/../../mount
CFLAGS+= -D_NEW_VFSCONF
CFLAGS+= -I${MOUNT}

View File

@ -1,14 +1,11 @@
#
# $Id: Makefile,v 1.4 1997/02/22 14:32:29 peter Exp $
# $Id: Makefile,v 1.5 1997/03/03 13:23:54 bde Exp $
#
PROG= mount_msdos
SRCS= mount_msdos.c getmntopts.c
MAN8= mount_msdos.8
BINOWN= root
BINMODE= 4555
MOUNT= ${.CURDIR}/../../mount
CFLAGS+= -D_NEW_VFSCONF
CFLAGS+= -I${MOUNT}