mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-23 03:41:07 +01:00
f518456fdb
The executable itself doesn't contain any privileged information. An example of where this is useful is when makefs(8) is creating an image that includes /sbin/shutdown. This can now be done without root privileges. Reviewed by: delphij Discussed with: delphij, des CR: https://reviews.freebsd.org/D662
21 lines
262 B
Makefile
21 lines
262 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../mount
|
|
|
|
PROG= mksnap_ffs
|
|
SRCS= mksnap_ffs.c getmntopts.c
|
|
MAN= mksnap_ffs.8
|
|
|
|
WARNS?= 2
|
|
CFLAGS+=-I${.CURDIR}/../mount
|
|
|
|
.if defined(NOSUID)
|
|
BINMODE=554
|
|
.else
|
|
BINMODE=4554
|
|
BINOWN= root
|
|
.endif
|
|
BINGRP= operator
|
|
|
|
.include <bsd.prog.mk>
|