9fa5f6b4b9
implemented properly for a number of kernel subsystems. In general, they try to exercise the privilege first as the root user, then as a test user, in order to determine when privilege is being checked. Currently, these tests do not compare inside/outside jail, and probably should be enhanced to do that. Sponsored by: nCircle Network Security, Inc. Obtained from: TrustedBSD Project
41 lines
758 B
Makefile
41 lines
758 B
Makefile
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PROG= main
|
|
SRCS= main.c \
|
|
priv_acct.c \
|
|
priv_adjtime.c \
|
|
priv_clock_settime.c \
|
|
priv_io.c \
|
|
priv_kenv_set.c \
|
|
priv_kenv_unset.c \
|
|
priv_proc_setlogin.c \
|
|
priv_proc_setrlimit.c \
|
|
priv_sched_rtprio.c \
|
|
priv_sched_setpriority.c \
|
|
priv_settimeofday.c \
|
|
priv_sysctl_write.c \
|
|
priv_vfs_admin.c \
|
|
priv_vfs_chown.c \
|
|
priv_vfs_chroot.c \
|
|
priv_vfs_clearsugid.c \
|
|
priv_vfs_extattr_system.c \
|
|
priv_vfs_fhopen.c \
|
|
priv_vfs_fhstat.c \
|
|
priv_vfs_fhstatfs.c \
|
|
priv_vfs_generation.c \
|
|
priv_vfs_getfh.c \
|
|
priv_vfs_read_write.c \
|
|
priv_vfs_setgid.c \
|
|
priv_vfs_stickyfile.c \
|
|
priv_vm_mlock.c \
|
|
priv_vm_munlock.c \
|
|
priv_vm_madv_protect.c \
|
|
\
|
|
test_utimes.c
|
|
NO_MAN=
|
|
WARNS= 3
|
|
|
|
.include <bsd.prog.mk>
|