/freebsd/lib/libsys/ |
H A D | kill.2 | 33 .Nd send signal to a process 44 system call sends the signal given by 49 process or a group of processes. 57 signal is actually sent. 61 For a process to have permission to send a signal to a process designated 64 the user must be the super-user, or 67 A single exception is the signal SIGCONT, which may always be sent 72 is set to 1, the user is not a super-user, and 73 the receiver is set-uid, then 77 .Bl -tag -width Ds [all …]
|
H A D | wait.2 | 70 or a signal is received. 125 .Bd -literal 145 .Pf non- Dv NULL , 148 signal delivered when the process changed state. 159 identifiers in addition to process IDs and process group IDs. 160 .Bl -bullet -offset indent 179 wait for the child process with a process group ID equal to 205 wait for any child process in the same process group as the caller. 208 Non-standard identifier types supported by this 214 .Bl -tag -width P_JAILID [all …]
|
H A D | _exit.2 | 45 .Bl -bullet 56 signal, 63 The parent process-ID of all of the calling process's existing child 64 processes are set to the process-ID of the calling process's reaper; 75 If the termination of the process causes any process group 77 of the group have now exited; see 78 .Dq orphaned process group 81 and if any member of the orphaned group is stopped, 84 signal and the 86 signal are sent to all members of the newly-orphaned process group. [all …]
|
H A D | mq_notify.2 | 29 .\" from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- 30 .\" Portable Operating System Interface (POSIX), The Open Group Base 31 .\" Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of 32 .\" Electrical and Electronics Engineers, Inc and The Open Group. In the 34 .\" The Open Group Standard, the original IEEE and The Open Group Standard is 60 the process when the message queue transitions from empty to non-empty. 73 .Fa notification->sigev_notify 76 then no signal will be posted, but the error status and the return status 83 the signal specified in 84 .Fa notification->sigev_signo [all …]
|
H A D | execve.2 | 75 .Bd -ragged -offset indent -compact 104 is a pointer to a null-terminated array of 105 character pointers to null-terminated character strings. 115 is also a pointer to a null-terminated array of 116 character pointers to null-terminated strings. 124 the new process image, except for those for which the close-on-exec 134 is called, and the process will gain privilege as a result of set-i [all...] |
/freebsd/share/man/man4/ |
H A D | termios.4 | 62 Every process is associated with a particular process group and session. 63 The grouping is hierarchical: every member of a particular process group is a 75 of signals that stop or start the group as a whole, along with 76 arbitrating which process group has access to the single controlling 91 same process group. 92 A set of processes in the same process group 96 group of the terminal is the same as the process group of a particular 99 When the process group of the terminal is different from the process group of 107 sets the process group of the terminal to the process group 109 sets the process group of the terminal back to its own process [all …]
|
H A D | dtrace_proc.4 | 34 .Fn proc:::exec-failure "int" 35 .Fn proc:::exec-success "char *" 37 .Fn proc:::signal-clear "int" "ksiginfo_t *" 38 .Fn proc:::signal-discard "struct thread *" "struct proc *" "int" 39 .Fn proc:::signal-send "struct thread *" "struct proc *" "int" 72 .Fn proc:::exec-failure 77 .Fn proc:::exec-success 85 signal code; valid values are documented in the 88 .Pa signal.h . 95 .Fn proc:::signal-send [all …]
|
/freebsd/usr.sbin/bluetooth/sdpd/ |
H A D | main.c | 1 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 39 #include <signal.h> 56 static int32_t drop_root (char const *user, char const *group); 71 char const *user = "nobody", *group = "nobody"; in main() local 75 while ((opt = getopt(argc, argv, "c:dg:hu:")) != -1) { in main() 85 case 'g': /* group */ in main() 86 group = optarg; in main() 109 /* Set signal handlers */ in main() 116 log_crit("Could not install signal handlers. %s (%d)", in main() [all …]
|
/freebsd/bin/kill/ |
H A D | kill.1 | 1 .\"- 37 .Nd terminate or signal a process 54 utility sends a signal to the processes specified by the 58 Only the super-user may send signals to other users' processes. 61 .Bl -tag -width indent 63 A symbolic signal name specifying the signal to be sent instead of the 67 If no operand is given, list the signal names; otherwise, write 68 the signal name corresponding to 71 A symbolic signal name specifying the signal to be sent instead of the 75 A non-negative decimal integer, specifying the signal to be sent instead [all …]
|
/freebsd/share/man/man9/ |
H A D | signal.9 | 31 .Nm signal , 58 .Nd "kernel signal functions" 124 is a valid signal number. 134 is a valid signal number. 167 macro determines if two signal sets are equal; that is, the same signals 172 macro determines if two signal sets differ; that is, if any signal set in 228 signal from 237 If the process has a pending signal and the process is currently being 240 will return true even if the signal is masked. 244 function returns the signal number that should be delivered to process [all …]
|
H A D | psignal.9 | 38 .Nd post signal to a thread, process, or process group 49 These functions post a signal to a thread or one or more processes. 53 .Bq 1- Ns Dv NSIG . 57 function posts signal number 67 With a few exceptions noted below, the target process signal disposition is 68 updated and is marked as runnable, so further handling of the signal is done 75 .Bl -bullet -offset indent 78 The signal will be 81 The target process is currently ignoring the signal. 83 If a stop signal is sent to a sleeping process that takes the [all …]
|
/freebsd/lib/libc/compat-43/ |
H A D | killpg.2 | 33 .Nd send signal to a process group 45 sends the signal 47 to the process group 56 sends the signal to the sending process's process group. 60 at least one process in the receiving process group. 62 .Rv -std killpg 67 will fail and no signal will be sent if: 68 .Bl -tag -width Er 73 is not a valid signal number. 75 No process can be found in the process group specified by [all …]
|
/freebsd/usr.sbin/newsyslog/ |
H A D | newsyslog.conf.5 | 67 .Bl -tag -width indent 94 .It Ar owner : Ns Ar group 95 This optional field specifies the owner and group for the archive file. 101 .Ar group 106 .Pa /etc/group . 112 the owner, group, and others.) 141 .So Li \&@ Sc Ns No -sign 166 The lead-in character for a restricted 192 .Bl -item -compact -offset indent 217 The lead-in character for day, week, and month specification is a [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/pinctrl/ |
H A D | nxp,s32g2-siul2-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/pinctrl/nxp,s32g2-siul [all...] |
H A D | starfive,jh7100-pinctrl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/starfive,jh7100-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 Bindings for the JH7100 RISC-V SoC from StarFive Ltd. 15 interesting 2-layered approach to pin muxing best illustrated by the diagram 18 Signal group 0, 1, ... or 6 21 LCD output -----------------| | 22 CMOS Camera interface ------| |--- PAD_GPIO[0] 23 Ethernet PHY interface -----| MUX |--- PAD_GPIO[1] [all …]
|
/freebsd/contrib/wpa/wpa_supplicant/dbus/ |
H A D | dbus_new.c | 2 * WPA Supplicant / dbus-based control interface 4 * Copyright (c) 2009-2010, Witold Sowa <witold.sowa@gmail.com> 36 * a signal that it needs. While it can also unregister, we must 39 * DBus is to register for the NameOwnerChanged signal which will 40 * signal an owner change to NULL if the peer closes the socket 43 * Handle this signal via a filter function whenever necessary. 79 for (wpa_s = priv->global->ifaces; wpa_s; wpa_s = wpa_s->next) { in noc_filter() 80 if (wpa_s->preq_notify_peer != NULL && in noc_filter() 81 os_strcmp(name, wpa_s->preq_notify_peer) == 0 && in noc_filter() 84 os_free(wpa_s->preq_notify_peer); in noc_filter() [all …]
|
/freebsd/share/doc/psd/05.sysman/ |
H A D | a.t | 58 getgid get accounting group id 59 getegid get effective accounting group id 60 getgroups get access group set 61 setregid set real and effective group id's 62 setgroups set access group set 63 getpgrp get process group 64 setpgrp set process group 92 <signal.h> signal definitions 93 sigvec set handler for signal 94 kill send signal to process [all …]
|
H A D | 1.3.t | 34 to a process. Signal delivery resembles the occurrence of a hardware 35 interrupt: the signal is blocked from further occurrence, 38 the \fIhandler\fP to which a signal is delivered, or specify that 39 the signal is to be \fIblocked\fP or \fIignored\fP. A process may 46 the current memory image of the process for use in post-mortem debugging. 52 to a process is implementation specific. Signal routines execute 53 with the signal that caused their invocation \fIblocked\fP, but other 57 Signal types 63 The set of signals is defined in the file \fI<signal.h>\fP. 72 Other, more cpu-specific hardware signals exist, [all …]
|
/freebsd/share/doc/psd/21.ipc/ |
H A D | 5.t | 58 support only in-band signaling (i.e. the urgent data is 65 If the socket has a process group, a SIGURG signal is generated 67 A process can set the process group 68 or process id to be informed by the SIGURG signal via the 74 Neither the signal nor the select indicate the actual arrival 75 of the out-of-band data, but only notification that it is pending. 81 client and server processes. When a signal 97 to transmission of the out of band signal. The routine used 99 interrupt or quit signal is shown in Figure 5. 101 then reads the out-of-band byte. [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/gpio/ |
H A D | gpio.txt | 5 ----------------- 7 GPIO properties should be named "[<name>-]gpios", with <name> being the purpose 8 of this GPIO for the device. While a non-existent <name> is considered valid 10 for new bindings. Also, GPIO properties named "[<name>-]gpio" are valid and old 24 and bit-banged data signals: 27 gpio-controller; 28 #gpio-cells = <2>; 32 data-gpios = <&gpio1 12 0>, 44 recommended to use the two-cell approach. 48 include/dt-bindings/gpio/gpio.h whenever possible: [all …]
|
/freebsd/contrib/nvi/cl/ |
H A D | README.signal | 21 Disabled by the signal initialization routines. Historically, ^\ 26 key-read routine, so there are no reentrancy issues. This means 31 to permit the user to interrupt long-running operations. Generally, a 50 the place -- I hate to litter the source code with that. For example, 58 on DISCARD and LNEXT. To clarify, what vi WANTS is 8-bit clean, with 68 3) and POSIX 1003.1-1992, so it should be fairly portable. 70 The second problem is that vi permits you to enter literal signal 116 the text input routines will treat it as a signal instead of as a 127 newterm() interface, the TSTP signal will leave you in raw mode, and the 129 initscr() interface, the TSTP signal will return you to the correct shell [all …]
|
/freebsd/usr.bin/procstat/ |
H A D | procstat.1 | 1 .\"- 2 .\" Copyright (c) 2007-2009 Robert N. M. Watson 34 .Op Fl -libxo 42 .Op Fl -libxo 50 .Op Fl -libxo 73 .Op Fl -libxo 96 .Op Fl -libxo 104 .Op Fl -libxo 107 .Op Fl -libxo 110 .Op Fl -libxo [all …]
|
/freebsd/usr.sbin/bsdinstall/runconsoles/ |
H A D | child.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 39 #include <signal.h> 53 /* -1: not started, 0: reaped */ 54 static volatile pid_t grandchild_pid = -1; 110 while ((void)(pid = waitpid(-1, &status, WNOHANG)), in sigchld_handler() 111 pid != -1 && pid != 0) { in sigchld_handler() 125 if (pid == -1 && errno == ECHILD && grandchild_pid == 0) in sigchld_handler() 138 * with that signal, otherwise kill all our descendants with that in exit_signal_handler() 139 * signal and let the main program pick up the grandchild's death. in exit_signal_handler() [all …]
|
/freebsd/contrib/kyua/utils/process/ |
H A D | operations.cpp | 35 #include <signal.h> 61 /// process to construct the arguments list, which would have side-effects in 69 /// Exception-based, type-improved version of wait(2). 80 if (pid == -1) { in safe_wait() 89 /// Exception-based, type-improved version of waitpid(2). 101 if (process::detail::syscall_waitpid(pid, &stat_loc, 0) == -1) { in safe_waitpid() 169 INV(ret == -1); in exec_unsafe() 189 /// Forcibly kills a process group started by us. 191 /// This function is safe to call from an signal handler context. 193 /// Pretty much all of our subprocesses run in their own process group so that [all …]
|
/freebsd/lib/libc/gen/ |
H A D | posix_spawn.3 | 26 .\" from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- 27 .\" Portable Operating System Interface (POSIX), The Open Group Base 28 .\" Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of 29 .\" Electrical and Electronics Engineers, Inc and The Open Group. In the 31 .\" The Open Group Standard, the original IEEE and The Open Group Standard is 75 entered as a C-language function call as follows: 76 .Bd -literal -offset indent 86 .Bd -literal -offset indent 95 is an array of character pointers to null-terminated 114 is an array of character pointers to null-terminated strings. [all …]
|