Home
last modified time | relevance | path

Searched full:daemon (Results 1 – 25 of 1320) sorted by relevance

12345678910>>...53

/freebsd/contrib/unbound/daemon/
H A Ddaemon.c2 * daemon/daemon.c - collection of workers that handles requests.
39 * The daemon consists of global settings and a number of workers.
69 #include "daemon/daemon.h"
70 #include "daemon/worker.h"
71 #include "daemon/remote.h"
72 #include "daemon/acl_list.h"
99 #include <systemd/sd-daemon.h>
202 struct daemon*
205 struct daemon* daemon = (struct daemon*)calloc(1, daemon_init() local
348 daemon_open_shared_ports(struct daemon * daemon) daemon_open_shared_ports() argument
448 daemon_privileged(struct daemon * daemon) daemon_privileged() argument
464 daemon_setup_modules(struct daemon * daemon) daemon_setup_modules() argument
488 daemon_get_shufport(struct daemon * daemon,int * shufport) daemon_get_shufport() argument
519 daemon_clear_allocs(struct daemon * daemon) daemon_clear_allocs() argument
544 daemon_create_workers(struct daemon * daemon) daemon_create_workers() argument
618 close_other_pipes(struct daemon * daemon,int thr) close_other_pipes() argument
671 daemon_start_others(struct daemon * daemon) daemon_start_others() argument
692 daemon_stop_others(struct daemon * daemon) daemon_stop_others() argument
712 daemon_fork(struct daemon * daemon) daemon_fork() argument
863 daemon_cleanup(struct daemon * daemon) daemon_cleanup() argument
924 daemon_delete(struct daemon * daemon) daemon_delete() argument
1009 daemon_apply_cfg(struct daemon * daemon,struct config_file * cfg) daemon_apply_cfg() argument
[all...]
H A Ddaemon.h2 * daemon/daemon.h - collection of workers that handles requests.
39 * The daemon consists of global settings and a number of workers.
80 struct daemon {
140 /** time when daemon started */
175 * Initialize daemon structure.
176 * @return: The daemon structure, or NULL on error.
178 struct daemon* daemon_init(void);
182 * The cfg member pointer must have been set for the daemon.
183 * @param daemon
78 struct daemon { global() struct
99 rcdaemon global() argument
101 connect_sslctxdaemon global() argument
103 numdaemon global() argument
105 old_numdaemon global() argument
107 workersdaemon global() argument
132 time_last_statdaemon global() argument
133 time_bootdaemon global() argument
135 viewsdaemon global() argument
160 cookie_secretsdaemon global() argument
[all...]
H A Dunbound.c2 * daemon/unbound.c - main program for unbound DNS resolver daemon.
40 * Main program to start the DNS resolver daemon.
49 #include "daemon/daemon.h"
50 #include "daemon/remote.h"
146 printf(" start unbound daemon DNS resolver.\n"); in usage()
301 apply_settings(struct daemon* daemon, struct config_file* cfg, in apply_settings() argument
311 daemon_apply_cfg(daemon, cfg); in apply_settings()
434 /* use POSIX daemon(3) function */ in detach()
435 if(daemon(1, 0) != 0) in detach()
436 fatal_exit("daemon failed: %s", strerror(errno)); in detach()
[all …]
H A Dworker.h2 * daemon/worker.h - worker that handles a pending list of requests.
52 #include "daemon/stats.h"
58 struct daemon;
89 /** the thread number (in daemon array). First in struct for debug. */
91 /** global shared daemon structure */
92 struct daemon* daemon;
147 * @param daemon: the daemon that this worker thread is part of.
153 struct worker* worker_create(struct daemon* daemo
86 struct daemon* daemon; global() member
[all...]
/freebsd/usr.sbin/daemon/tests/
H A Ddaemon_test.sh30 atf_set "descr" "daemon should write pid files for itself and its child"
33 daemon -P daemon.pid -p sleep.pid sleep 300
34 atf_check -s exit:0 test -f daemon.pid
35 atf_check -s exit:0 -o match:"daemon: sleep" ps -p `cat daemon.pid`
40 if [ -f daemon.pid ]; then
41 daemon_pid=`cat daemon.pid`
47 # NB: killing the sleep should kill the daemon too, so we musn't fail
54 atf_set "descr" "daemon should chdir to /"
58 daemon -p ${PWD}/sleep.pid -c bin/sleep 300
69 atf_set "descr" "daemon should write its child's pid to a pidfile"
[all …]
/freebsd/contrib/unbound/util/shm_side/
H A Dshm_main.c54 #include "daemon/daemon.h"
55 #include "daemon/worker.h"
56 #include "daemon/stats.h"
83 int shm_main_init(struct daemon* daemon) in shm_main_init() argument
90 if(!daemon) in shm_main_init()
92 if(!daemon->cfg->shm_enable) in shm_main_init()
94 if(daemon->cfg->stat_interval == 0) in shm_main_init()
98 shm_size = (sizeof(struct ub_stats_info) * (daemon in shm_main_init()
194 shm_main_shutdown(struct daemon * daemon) shm_main_shutdown() argument
[all...]
/freebsd/sbin/mount_fusefs/
H A Dmount_fusefs.840 .Nd mount a Fuse file system daemon
56 Basic usage is to start a fuse daemon on the given
59 In practice, the daemon is assigned a
66 However, the procedure of spawning a daemon will usually be automated
81 .Sx DAEMON MOUNTS . )
102 .Sx DAEMON MOUNTS ) .
114 Run in safe mode (i.e., reject invoking a filesystem daemon).
117 .It Fl D , Ic --daemon Ar daemon
119 .Ar daemon .
123 to the daemon's command line.
[all …]
/freebsd/sys/contrib/openzfs/man/man8/
H A Dzed.8.in3 .\" This file is part of the ZFS Event Daemon (ZED).
22 .Nd ZFS Event Daemon
36 (ZFS Event Daemon) monitors events generated by the ZFS kernel
40 will run any ZEDLETs (ZFS Event Daemon Linkage for Executable Tasks)
54 Force the daemon to run if at all possible, disabling security checks and
62 This may help the daemon remain responsive when the system is under heavy
65 Request that the daemon idle rather than exit when the kernel modules are not
69 Under Linux the kernel modules cannot be unloaded while the daemon is running.
71 Zero the daemon's state, thereby allowing zevents still within the kernel
76 Write the daemon's process ID to the specified file.
[all …]
/freebsd/lib/libc/gen/
H A Ddaemon.332 .Nm daemon
39 .Fn daemon "int nochdir" "int noclose"
44 .Fn daemon
51 .Fn daemon
58 .Fn daemon
65 .Fn daemon
83 .Rv -std daemon daemonfd
86 .Fn daemon
102 .Fn daemon
113 .Fn daemon
[all …]
/freebsd/share/doc/smm/11.timedop/
H A Dtimed.ms70 A time daemon has a twofold function.
78 The next paragraphs are a brief overview of how the time daemon works.
82 A \fImaster time daemon\fP measures the time
93 It then sends to each \fIslave time daemon\fP the
100 it starts a slave time daemon which
121 A time daemon on such machines may act as a \fIsubmaster\fP.
141 The time daemon will only work on networks with broadcast capability
144 non-broadcast networks may not use the time daemon.
147 daemon in a local area internetwork.
154 A master time daemon will require CPU resources
[all …]
/freebsd/contrib/unbound/winrc/
H A Dwin_svc.c49 #include "daemon/daemon.h"
50 #include "daemon/worker.h"
51 #include "daemon/remote.h"
299 * @param d: daemon returned here.
304 service_init(int r, struct daemon** d, struct config_file** c) in service_init()
307 struct daemon* daemon = NULL; in service_init() local
316 /* create daemon */ in service_init()
317 if(r) daemon = *d; in service_init()
318 else daemon = daemon_init(); in service_init()
319 if(!daemon) return 0; in service_init()
[all …]
/freebsd/share/doc/smm/07.lpd/
H A D7.t54 lpr: \fIprinter\fP\|: jobs queued, but cannot start daemon.
71 You can also check the state of the master printer daemon with the following.
78 program is not set-user-id to \fIroot\fP, set-group-id to group \fIdaemon\fP.
102 The printer device could not be opened by the daemon.
123 program checks to see if a daemon process exists for
126 If the daemon is hung, a super user can use
128 to abort the current daemon and start a new one.
132 This implies there is a daemon trying to connect to the remote
146 If not, the local daemon should be aborted and started with
154 Warning: no daemon present
[all …]
/freebsd/usr.sbin/rpc.statd/
H A Drpc.statd.835 .Nd host status monitoring daemon
46 is a daemon which co-operates with
50 The daemon accepts requests from
53 the NFS file locking daemon) to monitor the status of specified
55 If a monitored host crashes and restarts, the remote daemon will
56 notify the local daemon, which in turn will notify the local program(s)
68 all RPC transactions to the daemon.
76 in the foreground, rather than going into daemon mode.
104 option allow to force the daemon to bind to the specified
113 because the protocol assumes that the daemon will run from system start time.
[all …]
/freebsd/etc/mail/
H A DMakefile2 # file and database maps for the sendmail(8) daemon.
12 # For acting on both the MTA daemon and MSP queue running daemon:
13 # start - Start both the sendmail MTA daemon and MSP queue running
14 # daemon with the flags defined in /etc/defaults/rc.conf or
16 # stop - Stop both the sendmail MTA daemon and MSP queue running
17 # daemon
18 # restart - Restart both the sendmail MTA daemon and MSP queue running
19 # daemon
21 # For acting on just the MTA daemon:
22 # start-mta - Start the sendmail MTA daemon with the flags defined in
[all …]
/freebsd/share/doc/smm/12.timed/
H A Dtimed.ms81 A \fImaster time daemon\fP measures the time
95 It then sends to each \fIslave time daemon\fP the
101 it starts a slave time daemon, which
107 Additionally, a time daemon on gateway machines may run as
109 A submaster time daemon functions as a slave on one network that
134 the time daemon that has sent the message will assume that the
172 For the purpose of the following discussion, a time daemon can
212 A newly-started time daemon broadcasts this message to
282 A slave sends this message to accept the candidature of the time daemon
294 After a slave accepts the candidature of a time daemon, it will reply
[all …]
/freebsd/contrib/tcp_wrappers/
H A Dhosts_access.515 In the following text, \fIdaemon\fR is the the process name of a
16 network daemon process, and \fIclient\fR is the name and/or address of
17 a host requesting service. Network daemon process names are specified
23 Access will be granted when a (daemon,client) pair matches an entry in
26 Otherwise, access will be denied when a (daemon,client) pair matches an
53 \fIdaemon_list\fR is a list of one or more daemon process names
60 The more complex forms \fIdaemon@host\fR and \fIuser@host\fR are
85 for daemon process names or for client user names.
162 The daemon process name (argv[0] value).
169 The daemon process id.
[all …]
H A Dtcpdmatch.85 tcpdmatch [-d] [-i inet_conf] daemon client
7 tcpdmatch [-d] [-i inet_conf] daemon[@server] [user@]client
25 .IP daemon
26 A daemon process name. Typically, the last component of a daemon
38 Optional information specified with the \fIdaemon@server\fR form:
73 On some systems, daemon names have no `in.' prefix, or \fItcpdmatch\fR
/freebsd/libexec/rc/
H A Drc.conf88 # management daemon.
206 ike_enable="NO" # Enable IKE daemon (usually racoon or isakmpd)
207 ike_program="${_localbase}/sbin/isakmpd" # Path to IKE daemon
208 ike_flags="" # Additional flags for IKE daemon
298 ### Network daemon (miscellaneous) ###
300 hostapd_enable="NO" # Run hostap daemon.
301 syslogd_enable="YES" # Run syslog daemon (or NO).
306 inetd_enable="NO" # Run the network daemon dispatcher (YES/NO).
309 iscsid_enable="NO" # iSCSI initiator daemon.
312 hastd_enable="NO" # Run the HAST daemon (YES/NO).
[all …]
/freebsd/usr.sbin/lpr/lpr/
H A Dlpr.143 .Op Fl Z Ar daemon-options
52 utility uses a spooling daemon to print the named files when facilities
58 The spooling daemon will
172 The daemon
209 This option is only honored if the real user-id is daemon
210 (or that specified in the printcap file instead of daemon),
212 .It Fl Z Ar daemon-options
224 .Ar daemon-options
255 Daemon control files.
273 will say that the daemon cannot be started.
[all …]
/freebsd/tests/sys/mac/bsdextended/
H A Dugidfw_test.c60 "daemon",
67 "daemon",
80 "subject uid root object uid daemon mode n",
81 "subject uid daemon object uid root mode n",
82 "subject uid daemon object uid daemon mode n",
92 "subject gid wheel object gid daemon mode n",
93 "subject gid daemon object gid wheel mode n",
94 "subject gid daemon object gid daemon mode n",
96 "subject uid bin gid daemon object uid operator gid wheel mode n",
100 "subject not uid daemon object not uid operator mode n",
[all …]
/freebsd/usr.sbin/rpc.tlsservd/
H A Drpc.tlsservd.832 .Nd "Sun RPC over TLS Server Daemon"
55 This daemon must be running to allow the kernel RPC to perform the TLS
58 This daemon requires that the kernel be built with
100 option on this daemon be specified.
128 If a SIGHUP signal is sent to the daemon it will reload the
136 The daemon will log failed certificate verifications via
146 By default, the daemon will only allow mounts
221 option is specified so that the daemon can verify the client's
241 this daemon might get overloaded after a reboot, when many
243 To speed up recovery after reboot, the daemon always processes a TLS handshake
[all …]
/freebsd/share/man/man5/
H A Drc.conf.5227 .Dq Li daemon .
305 daemon.
402 daemon.
411 daemon.
1383 if a dynamic routing daemon is enabled, because redirect processing may
1890 daemon using its MIB-2 module.
2103 daemon.
2123 daemon.
2328 daemon.
2355 daemon.
[all …]
/freebsd/lib/libutil/
H A Dpidfile.370 already running daemon or
72 in case daemon did not write its PID yet.
97 It should be used after daemon
174 pfh = pidfile_open("/var/run/daemon.pid", 0600, &otherpid);
177 errx(EXIT_FAILURE, "Daemon already running, pid: %jd.",
189 if (daemon(0, 0) == -1) {
224 daemon is already running.
229 the function will use it to store a PID of an already running daemon or
231 in case daemon did not write its PID yet.
337 .Xr daemon 3 ,
/freebsd/contrib/sendmail/contrib/
H A Dsmcontrol.pl61 # &do_command -- send command to sendmail daemon view control socket
68 # reply from sendmail daemon
158 # raw -- raw results from sendmail daemon STATUS query
197 # &start_daemon -- fork off a sendmail daemon
219 return "sendmail daemon startup exited with exit value $exitstat";
225 die "Unable to start sendmail daemon: $!.\n";
236 # &stop_daemon -- stop the sendmail daemon using control socket
252 return "The control socket is not configured so the daemon can not be stopped.\n";
259 # &restart_daemon -- restart the sendmail daemon using control socket
275 return "The control socket is not configured so the daemon can not be restarted.";
[all …]
/freebsd/sys/contrib/openzfs/etc/zfs/
H A Dzfs-functions.in133 # 0 if daemon has been started
134 # 1 if daemon was already running
135 # 2 if daemon could not be started
143 if type start-stop-daemon > /dev/null 2>&1 ; then
145 start-stop-daemon --start --quiet --pidfile "$PIDFILE" \
149 start-stop-daemon --start --quiet --exec "$DAEMON_BIN" -- \
160 elif type daemon > /dev/null 2>&1 ; then
163 daemon --pidfile "$PIDFILE" "$DAEMON_BIN" "$@"
174 # 0 if daemon has been stopped
175 # 1 if daemon was already stopped
[all …]

12345678910>>...53