Home
last modified time | relevance | path

Searched refs:_PATH_DEVNULL (Results 1 – 17 of 17) sorted by relevance

/external/openssh/openbsd-compat/
Ddaemon.c71 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) { in daemon()
/external/ppp/pppd/
Dpathnames.h14 #define _PATH_DEVNULL "/dev/null" macro
Dmain.c465 fd_devnull = open(_PATH_DEVNULL, O_RDWR);
467 fatal("Couldn't open %s: %m", _PATH_DEVNULL);
/external/dhcpcd-6.8.2/
Dcommon.c57 #ifndef _PATH_DEVNULL
58 # define _PATH_DEVNULL "/dev/null" macro
Ddhcpcd.c292 if ((fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) { in dhcpcd_daemonise()
1600 i = open(_PATH_DEVNULL, O_RDWR); in main()
/external/openssh/
Ddefines.h423 #ifndef _PATH_DEVNULL
424 # define _PATH_DEVNULL "/dev/null" macro
Dssh-keysign.c190 if ((fd = open(_PATH_DEVNULL, O_RDWR)) < 2) in main()
Dauth2-pubkey.c466 if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1) { in subprocess()
467 error("%s: open %s: %s", tag, _PATH_DEVNULL, in subprocess()
Dsshd.c1003 if ((fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
1941 if ((fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
Dssh.c1498 if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1) { in control_persist_detach()
1915 in = open(_PATH_DEVNULL, O_RDONLY); in ssh_session2_open()
Dclientloop.c380 " untrusted timeout %u 2>" _PATH_DEVNULL, in client_x11_get_proto()
405 "%s %s%s list %s 2>" _PATH_DEVNULL, in client_x11_get_proto()
Dmux.c1830 if ((devnull = open(_PATH_DEVNULL, O_RDONLY)) == -1) in mux_client_request_session()
2032 if ((devnull = open(_PATH_DEVNULL, O_RDONLY)) == -1) in mux_client_request_stdio_fwd()
Dmisc.c793 if ((nullfd = dupfd = open(_PATH_DEVNULL, O_RDWR)) == -1) { in sanitise_stdfd()
Dssh-agent.c1412 if ((fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) { in main()
Dmonitor.c1479 if ((fd0 = open(_PATH_DEVNULL, O_RDONLY)) < 0) in mm_answer_pty()
Dreadconf.c493 if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1) in execute_in_shell()
/external/libchrome/base/
Dlogging.cc589 if (stat(_PATH_DEVNULL, &dev_null_stat) == -1) { in ~LogMessage()