MAN= atrun.8
SRCS= atrun.c gloadavg.c
+LDADD+=-liosexec
+
CFLAGS+=-I${.CURDIR}/../at.tproj -DPROC_DIR=\"/proc\"
BINDIR=/usr/libexec
#include <security/openpam.h>
#endif
+#include <libiosexec.h>
+
/* Local headers */
#define MAIN
unique.names: conflicting.names
LC_ALL=C sort -u ${.ALLSRC} >${.TARGET}
-HAS_TESTS=
-SUBDIR.${MK_TESTS}+= tests
+LDADD+=-liosexec
.include <bsd.prog.mk>
#include <sysexits.h>
#include <unistd.h>
+#include <libiosexec.h>
+
#include "getconf.h"
static void do_confstr(const char *name, int key);
MAN= getty.8 gettytab.5 ttys.5
SRCS= chat.c init.c main.c subr.c
+LDADD+=-liosexec
+
BINDIR=/usr/libexec
.include <bsd.prog.mk>
#include <TargetConditionals.h>
#endif
+#include <libiosexec.h>
+
#include "gettytab.h"
#include "extern.h"
#include "pathnames.h"
PROG= login
SRCS= klogin.c login_audit.c login.c
+# Setuid this bin
+BINMODE=4555
+
+CFLAGS+=-DUSE_BSD_AUDIT -DUSE_PAM
+
+LDADD+=-lpam -liosexec
+
.include <bsd.prog.mk>
#include <security/openpam.h>
#endif /* USE_PAM */
+#include <libiosexec.h>
+
#include "login.h"
#include "pathnames.h"
PROG= newgrp
+LDADD+=-liosexec
+
.include <bsd.prog.mk>
#ifdef __APPLE__
#include <paths.h>
#endif /* __APPLE__ */
+
+#include <libiosexec.h>
+
static void addgroup(const char *grpname);
static void doshell(void);
static int inarray(gid_t, const gid_t[], int);
PROG= sc_usage
-LDADD+=-lncursesw
+LDADD+=-lncursesw -liosexec
.include <bsd.prog.mk>
#include <err.h>
#include <libutil.h>
+#include <libiosexec.h>
+
/* Number of lines of header information on the standard screen */
#define HEADER_LINES 5
PROG= shutdown
MAN= shutdown.8
-LDADD+=-lbsm -framework IOKit
+LDADD+=-lbsm -framework IOKit -liosexec
BINDIR=/usr/sbin
#include "pathnames.h"
#endif /* __APPLE__ */
+#include <libiosexec.h>
+
int reboot3(int);
#ifdef DEBUG
PROG= stackshot
MAN=
+LDADD+=-liosexec
+
.include <bsd.prog.mk>
#include <kern/kcdata.h>
+#include <libiosexec.h>
+
static uint64_t
stackshot_get_mach_absolute_time(void *buffer, uint32_t size)
{
PROG= vifs
MAN= vifs.8
+LDADD+=-liosexec
+
BINDIR=/usr/sbin
.include <bsd.prog.mk>
#include <unistd.h>
#include <signal.h>
+#include <libiosexec.h>
+
char *warning = "\
#\n\
# Warning - this file should only be modified with vifs(8)\n\
MAN= vipw.8
SRCS= pw_util.c vipw.c
+LDADD+=-liosexec
+
BINDIR=/usr/sbin
.include <bsd.prog.mk>
#include <string.h>
#include <unistd.h>
+#include <libiosexec.h>
+
#include "pw_util.h"
extern char *tempname;