Searched refs:pledge (Results 1 - 11 of 11) sorted by relevance

/freebsd-10-stable/crypto/openssh/
H A Dsandbox-pledge.c1 /* $OpenBSD: sandbox-pledge.c,v 1.1 2015/10/09 01:37:08 deraadt Exp $ */
49 debug3("%s: preparing pledge sandbox", __func__);
59 if (pledge("stdio", NULL) == -1)
60 fatal("%s: pledge()", __func__);
H A Dssh-keysign.c186 if (pledge("stdio rpath getpw dns id", NULL) != 0)
187 fatal("%s: pledge: %s", __progname, strerror(errno));
255 if (pledge("stdio dns", NULL) != 0)
256 fatal("%s: pledge: %s", __progname, strerror(errno));
H A Dclientloop.c1517 debug("pledge: id");
1518 if (pledge("stdio rpath wpath cpath unix inet dns recvfd proc exec id tty",
1520 fatal("%s pledge(): %s", __func__, strerror(errno));
1523 debug("pledge: exec");
1524 if (pledge("stdio rpath wpath cpath unix inet dns proc exec tty",
1526 fatal("%s pledge(): %s", __func__, strerror(errno));
1529 debug("pledge: filesystem full");
1530 if (pledge("stdio rpath wpath cpath unix inet dns proc tty",
1532 fatal("%s pledge(): %s", __func__, strerror(errno));
1536 debug("pledge
[all...]
H A Dssh_namespace.h524 #define pledge Fssh_pledge macro
H A Dscp.c492 /* Cannot pledge: -p allows setuid/setgid files... */
494 if (pledge("stdio rpath wpath cpath fattr tty proc exec",
496 perror("pledge");
H A Dmux.c1893 if (pledge("stdio proc tty", NULL) == -1)
1894 fatal("%s pledge(): %s", __func__, strerror(errno));
2004 if (pledge("stdio proc tty", NULL) == -1)
2005 fatal("%s pledge(): %s", __func__, strerror(errno));
H A Dssh-agent.c1442 if (pledge("stdio cpath unix id proc exec", NULL) == -1)
1443 fatal("%s: pledge: %s", __progname, strerror(errno));
/freebsd-10-stable/crypto/openssh/openbsd-compat/
H A Dbsd-misc.h126 int pledge(const char *promises, const char *paths[]);
H A Dbsd-misc.c282 pledge(const char *promises, const char *paths[]) function
/freebsd-10-stable/secure/lib/libssh/
H A DMakefile26 platform-pledge.c platform-tracing.c
/freebsd-10-stable/secure/usr.sbin/sshd/
H A DMakefile18 sandbox-seccomp-filter.c sandbox-capsicum.c sandbox-pledge.c \

Completed in 282 milliseconds