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:
parent
6e47de28bb
commit
b493c70c4f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=30622
@ -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
|
PROG= mount_msdos
|
||||||
SRCS= mount_msdos.c getmntopts.c
|
SRCS= mount_msdos.c getmntopts.c
|
||||||
MAN8= mount_msdos.8
|
MAN8= mount_msdos.8
|
||||||
|
|
||||||
BINOWN= root
|
|
||||||
BINMODE= 4555
|
|
||||||
|
|
||||||
MOUNT= ${.CURDIR}/../../mount
|
MOUNT= ${.CURDIR}/../../mount
|
||||||
CFLAGS+= -D_NEW_VFSCONF
|
CFLAGS+= -D_NEW_VFSCONF
|
||||||
CFLAGS+= -I${MOUNT}
|
CFLAGS+= -I${MOUNT}
|
||||||
|
@ -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
|
PROG= mount_msdos
|
||||||
SRCS= mount_msdos.c getmntopts.c
|
SRCS= mount_msdos.c getmntopts.c
|
||||||
MAN8= mount_msdos.8
|
MAN8= mount_msdos.8
|
||||||
|
|
||||||
BINOWN= root
|
|
||||||
BINMODE= 4555
|
|
||||||
|
|
||||||
MOUNT= ${.CURDIR}/../../mount
|
MOUNT= ${.CURDIR}/../../mount
|
||||||
CFLAGS+= -D_NEW_VFSCONF
|
CFLAGS+= -D_NEW_VFSCONF
|
||||||
CFLAGS+= -I${MOUNT}
|
CFLAGS+= -I${MOUNT}
|
||||||
|
@ -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
|
PROG= mount_msdos
|
||||||
SRCS= mount_msdos.c getmntopts.c
|
SRCS= mount_msdos.c getmntopts.c
|
||||||
MAN8= mount_msdos.8
|
MAN8= mount_msdos.8
|
||||||
|
|
||||||
BINOWN= root
|
|
||||||
BINMODE= 4555
|
|
||||||
|
|
||||||
MOUNT= ${.CURDIR}/../../mount
|
MOUNT= ${.CURDIR}/../../mount
|
||||||
CFLAGS+= -D_NEW_VFSCONF
|
CFLAGS+= -D_NEW_VFSCONF
|
||||||
CFLAGS+= -I${MOUNT}
|
CFLAGS+= -I${MOUNT}
|
||||||
|
Loading…
Reference in New Issue
Block a user