/external/wpa_supplicant_8/wpa_supplicant/examples/ |
udhcpd-p2p.conf | 63 pidfile /var/run/udhcpd-wlan2.pid #default: /var/run/udhcpd.pid
|
/external/dropbear/debian/ |
dropbear.init | 34 start-stop-daemon --start --quiet --pidfile /var/run/"$NAME".pid \ 41 start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/"$NAME".pid 47 start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/"$NAME".pid 49 start-stop-daemon --start --quiet --pidfile /var/run/"$NAME".pid \
|
/external/dropbear/ |
svr-main.c | 120 FILE *pidfile = NULL; local 154 pidfile = fopen(svr_opts.pidfile, "w"); 155 if (pidfile) { 156 fprintf(pidfile, "%d\n", getpid()); 157 fclose(pidfile); 197 unlink(svr_opts.pidfile);
|
runopts.h | 87 char * pidfile; member in struct:svr_runopts
|
svr-runopts.c | 78 "-P PidFile Create pid file PidFile\n" 114 svr_opts.pidfile = DROPBEAR_PIDFILE; 196 next = &svr_opts.pidfile;
|
/external/openssh/regress/ |
cfgmatch.sh | 6 pidfile=$OBJ/remote_pid 15 rm -f $pidfile 17 exec sh -c \'"echo \$\$ > $pidfile; exec sleep 100"\' \ 22 while test ! -f $pidfile ; do 34 pid=`cat $pidfile`
|
Makefile | 70 authorized_keys_${USER} known_hosts pidfile \
|
test-exec.sh | 169 if [ -f $PIDFILE ]; then 170 pid=`$SUDO cat $PIDFILE` 180 while [ -f $PIDFILE -a $i -lt 5 ]; do 184 test -f $PIDFILE && \ 241 PIDFILE=$OBJ/pidfile 253 PidFile $PIDFILE 384 while [ ! -f $PIDFILE -a $i -lt 10 ]; do 389 test -f $PIDFILE || fatal "no sshd running on port $PORT [all...] |
/external/webkit/Tools/Scripts/ |
new-run-webkit-websocketserver | 65 option_parser.add_option('--pidfile', help='path to pid file.') 91 if options.pidfile: 92 kwds['pidfile'] = options.pidfile
|
/external/bluetooth/bluez/compat/ |
pand.c | 81 static char *pidfile = NULL; variable 509 fd = open(pidfile, O_WRONLY|O_TRUNC|O_CREAT|O_EXCL, 0644); 512 fd = open(pidfile, O_RDONLY); 514 syslog(LOG_ERR, "Could not read old pidfile: %s(%d)", 527 syslog(LOG_ERR, "Could not fdopen old pidfile: %s(%d)", 542 syslog(LOG_INFO, "Removing stale pidfile"); 543 unlink(pidfile); 549 pidfile = NULL; 558 syslog(LOG_ERR, "Could not fdopen new pidfile: %s(%d)", 561 unlink(pidfile); [all...] |
/external/chromium/net/tools/flip_server/ |
flip_in_mem_edsm_server.cc | 115 static int OpenPidFile(const char *pidfile) 121 fd = open(pidfile, O_RDWR | O_CREAT, 0600); 123 cerr << "Could not open pid file '" << pidfile << "' for reading.\n"; local 138 cerr << "Could not stat pid file '" << pidfile << "': " << strerror(errno) 143 cerr << "Could not truncate pid file '" << pidfile << "': " 207 cout << "\t--pidfile=<filepath> (default /var/run/flip-server.pid)\n"; 212 if (cl.HasSwitch("pidfile")) { 213 pidfile_fd = OpenPidFile(cl.GetSwitchValueASCII("pidfile").c_str()); 215 pidfile_fd = OpenPidFile(PIDFILE); 409 unlink(PIDFILE); [all...] |
/external/dbus/bus/ |
bus.c | 52 char *pidfile; member in struct:BusContext 291 const char *user, *pidfile; local 310 pidfile = bus_config_parser_get_pidfile (parser); 311 if (pidfile != NULL) 316 _dbus_string_init_const (&u, pidfile); 338 pidfile); 347 context->pidfile = _dbus_strdup (pidfile); 833 if (context->pidfile) 834 _dbus_string_init_const (&u, context->pidfile); [all...] |
config-parser.c | 108 char *pidfile; /**< PID file */ member in struct:BusConfigParser 319 if (included->pidfile != NULL) 321 dbus_free (parser->pidfile); 322 parser->pidfile = included->pidfile; 323 included->pidfile = NULL; 491 dbus_free (parser->pidfile); 752 if (!check_no_attributes (parser, "pidfile", attribute_names, attribute_values, error)) [all...] |
/external/dbus/dbus/ |
dbus-sysdeps-util-unix.c | 68 * @param pidfile #NULL, or pidfile to create 75 _dbus_become_daemon (const DBusString *pidfile, 139 if (!_dbus_write_pid_to_file_and_pipe (pidfile, print_pid_pipe, 216 * Writes the given pid_to_write to a pidfile (if non-NULL) and/or to a 217 * pipe (if non-NULL). Does nothing if pidfile and print_pid_pipe are both 220 * @param pidfile the file to write to or #NULL 227 _dbus_write_pid_to_file_and_pipe (const DBusString *pidfile, 232 if (pidfile) 234 _dbus_verbose ("writing pid file %s\n", _dbus_string_get_const_data (pidfile)); [all...] |
dbus-sysdeps-util-win.c | 56 * @param pidfile #NULL, or pidfile to create 63 _dbus_become_daemon (const DBusString *pidfile, 156 * Writes the given pid_to_write to a pidfile (if non-NULL) and/or to a 157 * pipe (if non-NULL). Does nothing if pidfile and print_pid_pipe are both 160 * @param pidfile the file to write to or #NULL 167 _dbus_write_pid_to_file_and_pipe (const DBusString *pidfile, 172 if (pidfile) 174 _dbus_verbose ("writing pid file %s\n", _dbus_string_get_const_data (pidfile)); 175 if (!_dbus_write_pid_file (pidfile, [all...] |
dbus-sysdeps.h | 403 dbus_bool_t _dbus_become_daemon (const DBusString *pidfile, 412 dbus_bool_t _dbus_write_pid_to_file_and_pipe (const DBusString *pidfile,
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/ |
websocket_server.py | 100 pidfile=None): 120 self._pidfile = pidfile
|
/external/ppp/pppd/ |
main.c | 855 FILE *pidfile; local 859 if ((pidfile = fopen(pidfilename, "w")) != NULL) { 860 fprintf(pidfile, "%d\n", pid); 861 (void) fclose(pidfile); 874 FILE *pidfile; local 881 if ((pidfile = fopen(linkpidfile, "w")) != NULL) { 882 fprintf(pidfile, "%d\n", pid); 884 fprintf(pidfile, "%s\n", ifname); 885 (void) fclose(pidfile); [all...] |
/external/dhcpcd/ |
dhcpcd.c | 104 static char *pidfile; variable 143 if ((fp = fopen(pidfile, "r")) == NULL) { 198 unlink(pidfile); 201 free(pidfile); [all...] |
/external/dnsmasq/src/ |
dnsmasq.c | 336 /* write pidfile _after_ forking ! */ 339 FILE *pidfile; local 342 if ((pidfile = fopen(daemon->runfile, "w"))) 344 fprintf(pidfile, "%d\n", (int) getpid()); 345 fclose(pidfile); 790 die(_("failed to open pidfile %s: %s"), daemon->runfile, EC_FILE); [all...] |
/external/libsepol/tests/policies/test-cond/ |
refpolicy-base.conf | 647 attribute pidfile; 866 type var_run_t, file_type, pidfile; [all...] |