Searched refs:pidfile_open (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-11.0-release/lib/libutil/tests/
H A Dpidfile_test.c56 * Test that pidfile_open() can create a pidfile and that pidfile_write()
67 pf = pidfile_open(fn, 0600, &other);
83 * Test that pidfile_open() locks against self.
94 pf1 = pidfile_open(fn, 0600, &other);
106 pf2 = pidfile_open(fn, 0600, &other);
139 pf = pidfile_open(fn, 0600, &other);
154 pf = pidfile_open(fn, 0600, &other);
190 pf = pidfile_open(fn, 0600, &other);
227 * Test that pidfile_open() fails when attempting to open a pidfile that
/freebsd-11.0-release/usr.sbin/daemon/
H A Ddaemon.c104 pfh = pidfile_open(pidfile, 0600, &otherpid);
115 ppfh = pidfile_open(ppidfile, 0600, &otherpid);
/freebsd-11.0-release/cddl/compat/opensolaris/misc/
H A Dfsshare.c53 pfh = pidfile_open(_PATH_MOUNTDPID, 0600, &mountdpid);
/freebsd-11.0-release/lib/libutil/
H A DMakefile57 pidfile.3 pidfile_open.3 \
H A Dlibutil.h119 pidfile_open(const char *_path, mode_t _mode, pid_t *_pidptr);
H A Dpidfile.c97 pidfile_open(const char *path, mode_t mode, pid_t *pidptr) function
/freebsd-11.0-release/usr.sbin/bluetooth/btpand/
H A Dtap.c121 chan->pfh = pidfile_open(pidfile, 0600, NULL);
/freebsd-11.0-release/contrib/openbsm/compat/
H A Dpidfile.h97 pidfile_open(const char *path, mode_t mode, pid_t *pidptr) function
/freebsd-11.0-release/cddl/usr.sbin/zfsd/
H A Dzfsd.cc421 s_pidFH = pidfile_open(s_pidFilePath, 0600, &otherPID);
/freebsd-11.0-release/usr.sbin/autofs/
H A Dautounmountd.c300 pidfh = pidfile_open(pidfile_path, 0600, &otherpid);
H A Dautomountd.c485 pidfh = pidfile_open(pidfile_path, 0600, &otherpid);
/freebsd-11.0-release/usr.sbin/cron/cron/
H A Dcron.c82 pfh = pidfile_open(pidfile, 0600, &otherpid);
/freebsd-11.0-release/usr.sbin/iscsid/
H A Discsid.c529 pidfh = pidfile_open(pidfile_path, 0600, &otherpid);
/freebsd-11.0-release/usr.sbin/watchdogd/
H A Dwatchdogd.c153 pfh = pidfile_open(pidfile, 0600, &otherpid);
/freebsd-11.0-release/sbin/hastd/
H A Dhastd.c544 newpfh = pidfile_open(newcfg->hc_pidfile, 0600, &otherpid);
1252 pfh = pidfile_open(cfg->hc_pidfile, 0600, &otherpid);
/freebsd-11.0-release/contrib/wpa/src/utils/
H A Dos_unix.c233 pfh = pidfile_open(pid_file, 0600, &otherpid);
/freebsd-11.0-release/contrib/openbsm/bin/auditdistd/
H A Dauditdistd.c727 pfh = pidfile_open(adcfg->adc_pidfile, 0600, &otherpid);
/freebsd-11.0-release/usr.sbin/nscd/
H A Dnscd.c736 pidfile = pidfile_open(DEFAULT_PIDFILE_PATH, 0644, &pid);
/freebsd-11.0-release/usr.sbin/powerd/
H A Dpowerd.c557 pfh = pidfile_open(pidfile, 0600, &otherpid);
/freebsd-11.0-release/sbin/devd/
H A Ddevd.cc509 pfh = pidfile_open(_pidfile.c_str(), 0600, &otherpid);
/freebsd-11.0-release/sbin/ggate/ggated/
H A Dggated.c1010 pfh = pidfile_open(ggated_pidfile, 0600, &otherpid);
/freebsd-11.0-release/sbin/mount/
H A Dmount.c227 pfh = pidfile_open(_PATH_MOUNTDPID, 0600, &mountdpid);
/freebsd-11.0-release/usr.sbin/rarpd/
H A Drarpd.c203 pidfile_fh = pidfile_open(pidfile, 0600, NULL);
/freebsd-11.0-release/usr.sbin/uhsoctl/
H A Duhsoctl.c1295 pfh = pidfile_open(ctx->pidfile, 0600, &opid);
/freebsd-11.0-release/usr.sbin/inetd/
H A Dinetd.c462 pfh = pidfile_open(pid_file, 0600, &otherpid);
469 syslog(LOG_WARNING, "pidfile_open() failed: %m");

Completed in 316 milliseconds

12