78d707cd26
The VM server now manages its call masks such that all user processes share the same call mask. As a result, an update for the call mask of any user process will apply to all user processes. This is similar to the privilege infrastructure employed by the kernel, and may serve as a template for similar fine-grained restrictions in other servers. Concretely, this patch fixes the problem of "service edit init" not applying the given VM call mask to user processes started from RC scripts during system startup. In addition, this patch makes RS set a proper VM call mask for each recovery script it spawns. Change-Id: I520a30d85a0d3f3502d2b158293a2258825358cf
26 lines
636 B
Makefile
26 lines
636 B
Makefile
# Makefile for VM server
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= vm
|
|
SRCS= main.c alloc.c utility.c exit.c fork.c break.c \
|
|
mmap.c slaballoc.c region.c pagefaults.c \
|
|
rs.c queryexit.c pb.c regionavl.c \
|
|
mem_anon.c mem_directphys.c mem_anon_contig.c mem_shared.c \
|
|
mem_cache.c cache.c vfs.c mem_file.c fdref.c acl.c
|
|
|
|
.if ${MACHINE_ARCH} == "earm"
|
|
LDFLAGS+= -T ${.CURDIR}/arch/${MACHINE_ARCH}/vm.lds
|
|
.endif
|
|
|
|
DPADD+= ${LIBSYS} ${LIBEXEC}
|
|
LDADD+= -lsys -lexec
|
|
|
|
MAN=
|
|
|
|
BINDIR?= /usr/sbin
|
|
|
|
CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/arch/${MACHINE_ARCH}
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}
|
|
|
|
.include "arch/${MACHINE_ARCH}/Makefile.inc"
|
|
.include <minix.service.mk>
|