| /freebsd/contrib/xz/src/xz/ |
| H A D | sandbox.c | 83 if (pledge("stdio rpath wpath cpath fattr", "")) in sandbox_init() 95 if (pledge("stdio rpath", "")) in sandbox_enable_read_only() 111 if (pledge("stdio", "")) in sandbox_enable_strict_if_allowed()
|
| /freebsd/contrib/mandoc/ |
| H A D | test-pledge.c | 6 return !!pledge("stdio", NULL); in main()
|
| H A D | main.c | 172 if (pledge("stdio rpath wpath cpath tmppath tty proc exec", NULL) == -1) { in main() 403 c = pledge("stdio rpath", NULL); in main() 406 c = pledge("stdio rpath wpath cpath", NULL); in main() 408 c = pledge("stdio rpath tmppath tty proc exec", NULL); in main() 921 pledge("stdio rpath cpath", NULL) == -1) { in process_onefile() 1363 if (pledge("stdio rpath tmppath tty proc", NULL) == -1) { in spawn_pager()
|
| H A D | configure | 320 runtest pledge PLEDGE || true
|
| H A D | Makefile | 40 test-pledge.c \
|
| H A D | mandocdb.c | 332 if (pledge("stdio rpath wpath cpath", NULL) == -1) { in mandocdb() 420 if (pledge("stdio rpath", NULL) == -1) { in mandocdb()
|
| H A D | cgi.c | 1106 if (pledge("stdio rpath", NULL) == -1) { in main()
|
| /freebsd/contrib/xz/src/xzdec/ |
| H A D | xzdec.c | 337 if (pledge("stdio", "")) in sandbox_enter() 397 if (pledge("stdio rpath", "")) { in main()
|
| /freebsd/crypto/openssh/ |
| H A D | ssh-keysign.c | 195 if (pledge("stdio rpath getpw dns id", NULL) != 0) in main() 229 if (pledge("stdio dns", NULL) != 0) in main()
|
| H A D | clientloop.c | 961 if (pledge("stdio unix inet dns proc tty", NULL) == -1) in client_repledge() 966 if (pledge(PLEDGE_EXTRA_INET "stdio unix proc tty", NULL) == -1) in client_repledge() 970 if (pledge(PLEDGE_EXTRA_INET "stdio proc tty", NULL) == -1) in client_repledge() 1472 if (pledge("stdio rpath wpath cpath unix inet dns recvfd sendfd proc exec id tty", in client_loop() 1478 if (pledge("stdio rpath wpath cpath unix inet dns proc exec tty", in client_loop() 1484 if (pledge("stdio rpath wpath cpath unix inet dns proc tty", in client_loop() 1491 if (pledge("stdio cpath unix inet dns proc tty", NULL) == -1) in client_loop() 1496 if (pledge("stdio unix inet dns proc tty", NULL) == -1) in client_loop()
|
| H A D | sshd-auth.c | 211 if (pledge("stdio", NULL) == -1) in privsep_child_demote()
|
| H A D | mux.c | 2093 if (pledge("stdio proc tty", NULL) == -1) in mux_client_request_session() 2252 if (pledge("stdio proc tty", NULL) == -1) in mux_client_request_stdio_fwd()
|
| H A D | ssh_namespace.h | 535 #define pledge Fssh_pledge macro
|
| H A D | configure.ac | 1192 AC_MSG_CHECKING([whether pledge(2) allows IP_TOS]) 1204 if (pledge("stdio", NULL) == -1) 1205 err(1, "pledge"); 1484 dnl Finish up special pledge(2) handling from above. 1489 [need inet in pledge for setsockopt IP_TOS]) 2227 pledge \
|
| H A D | ChangeLog | 2247 upstream: repair ssh-keysign after pledge changes; spotted/tested 2323 opens /dev/null O_RDWR after a pledge without "wpath". This is allowed in 2324 current pledge because "/dev/null" is implicitly allowed to be opened even 2326 pledge made at the very beginning, to satisfy libc requirements. We've 2333 ssh-agent is ready for the future pledge change. ok djm dtucker 4521 upstream: don't try to pledge() the client if a PKCS11Provider is 5221 Update pledge() interface to match current OpenBSD. 6146 Fix pledge(2) special casing 6176 check for setsockopt IP_TOS in OpenBSD pledge 6178 OpenBSD has recently relaxed the pledge(2) sandbox to allow some [all …]
|
| H A D | scp.c | 640 if (pledge("stdio rpath wpath cpath fattr tty proc exec", in main()
|
| /freebsd/contrib/pkgconf/libpkgconf/ |
| H A D | bsdstubs.c | 44 # define pkgconf_pledge_impl pledge
|
| H A D | config.h.meson | 21 /* Define to 1 if you have the `pledge' function. */
|
| /freebsd/crypto/openssh/openbsd-compat/ |
| H A D | bsd-misc.h | 159 int pledge(const char *promises, const char *execpromises);
|
| H A D | bsd-misc.c | 407 pledge(const char *promises, const char *execpromises) in pledge() function
|
| /freebsd/secure/lib/libssh/ |
| H A D | Makefile | 40 sftp-realpath.c platform-pledge.c platform-tracing.c platform-misc.c \
|
| /freebsd/contrib/pkgconf/ |
| H A D | configure.ac | 31 AC_CHECK_DECLS([pledge, unveil], [], [], [[#include <unistd.h>]])
|
| H A D | meson.build | 73 ['pledge', 'unistd.h'],
|
| /freebsd/usr.bin/diff/ |
| H A D | diff.c | 417 if (pledge("stdio rpath tmppath", NULL) == -1) in main()
|
| /freebsd/contrib/bc/src/ |
| H A D | vm.c | 919 int r = pledge(promises, execpromises);
|