PROG= apply
+LDADD+=-liosexec
+
.include <bsd.prog.mk>
#include <string.h>
#include <unistd.h>
+#include <libiosexec.h>
+
#define EXEC "exec "
static int exec_shell(const char *, char *, char *);
PROG= chroot
MAN= chroot.8
+LDADD+=-liosexec
+
.include <bsd.prog.mk>
#include <string.h>
#include <unistd.h>
+#include <libiosexec.h>
+
int main __P((int, char **));
void usage __P((void)) __attribute__((__noreturn__));
PROG= env
SRCS= env.c envopts.c
+LDADD+=-liosexec
+
.include <bsd.prog.mk>
#include <stdlib.h>
#include <unistd.h>
+#include <libiosexec.h>
+
#include "envopts.h"
extern char **environ;
PROG= find
SRCS= find.c function.c getdate.y ls.c main.c misc.c operator.c option.c
+LDADD+=-liosexec
+
.include <bsd.prog.mk>
#define COMPAT_MODE(func, mode) 1
#endif
+#include <libiosexec.h>
+
#include "find.h"
static PLAN *palloc(OPTION *);
PROG= nice
+LDADD+=-liosexec
+
.include <bsd.prog.mk>
#include <err.h>
#include <unistd.h>
+#include <libiosexec.h>
+
#define DEFNICE 10
int main __P((int, char **));
PROG= nohup
+LDADD+=-liosexec
+
.include <bsd.prog.mk>
#include <vproc_priv.h>
#endif
+#include <libiosexec.h>
+
static void dofile(void);
static void usage(void);
PROG= script
+LDADD+=-liosexec
+
.include <bsd.prog.mk>
#include <termios.h>
#include <unistd.h>
+#include <libiosexec.h>
+
#define DEF_BUF 65536
struct stamp {
# utilities of the same name are handled with the associated manpage,
# builtin.1 in share/man/man1/.
-LDADD=-ledit
+LDADD=-ledit -liosexec
CFLAGS+=-DSHELL -I. -I${.CURDIR}
# for debug:
#include <paths.h>
#include <stdlib.h>
+#include <libiosexec.h>
+
/*
* When commands are first encountered, they are entered in a hash table.
* This ensures that a full path search will not have to be done for them
PROG= su
-LDADD=-lpam
+LDADD=-lpam -liosexec
.include <bsd.prog.mk>
#include <bsm/audit_session.h>
#endif /* __APPLE__ */
+#include <libiosexec.h>
+
#define PAM_END() do { \
int local_ret; \
if (pamh != NULL) { \
PROG= systime
+LDADD+=-liosexec
+
.include <bsd.prog.mk>
#include <libproc.h>
#include <mach/mach_time.h>
+#include <libiosexec.h>
+
static void usage(void);
static void do_print(void);
static void do_difftime(bool usepercent, uint64_t *olduser, uint64_t *oldsystem, uint64_t *oldidle);
PROG= time
+LDADD+=-liosexec
+
.include <bsd.prog.mk>
#include <time.h>
#include <unistd.h>
+#include <libiosexec.h>
+
int lflag;
int portableflag;
bool child_running = true;
PROG= xargs
SRCS= strnsubst.c xargs.c
+LDADD+=-liosexec
+
.include <bsd.prog.mk>
#include <string.h>
#include <unistd.h>
+#include <libiosexec.h>
+
#include "pathnames.h"
#ifdef __APPLE__