Home
last modified time | relevance | path

Searched refs:socket (Results 1 – 25 of 168) sorted by relevance

1234567

/systemd-251/test/units/
Dtestsuite-12.sh8 U=/run/systemd/system/test12.socket
11 Description=Test 12 socket
14 ListenStream=/run/test12.socket
23 StandardInput=socket
27 systemctl start test12.socket
28 systemctl is-active test12.socket
30 echo A | nc -w1 -U /run/test12.socket
34 systemctl is-active test12.socket
36 echo B | nc -w1 -U /run/test12.socket && exit 1
40 systemctl is-active test12.socket
[all …]
Dtestsuite-44.service6 Wants=systemd-journald@foobar.socket systemd-journald-varlink@foobar.socket
7 After=systemd-journald@foobar.socket systemd-journald-varlink@foobar.socket
Dtestsuite-33.sh248 cat >/etc/systemd/system/testservice.socket <<EOF
250 ListenSequentialPacket=/run/testservice.socket
268 systemctl start testservice.socket
276 systemctl clean testservice.socket && { echo 'unexpected success'; exit 1; }
278 systemctl stop testservice.socket
286 systemctl clean testservice.socket --what=configuration
294 systemctl clean testservice.socket
302 systemctl clean testservice.socket --what=logs
310 systemctl clean testservice.socket --what=all
Dtestsuite-10.service9 ExecStart=systemctl start test10.socket
14 ExecStart=sh -x -c 'test "$(systemctl show test10.socket -P ActiveState)" = failed'
15 ExecStart=sh -x -c 'test "$(systemctl show test10.socket -P Result)" = trigger-limit-hit'
/systemd-251/src/core/bpf/socket_bind/
Dmeson.build8 'socket-bind.bpf.unstripped.o',
9 input : 'socket-bind.bpf.c',
10 output : 'socket-bind.bpf.unstripped.o',
14 'socket-bind.bpf.o',
16 output : 'socket-bind.bpf.o',
20 'socket-bind.skel.h',
22 output : 'socket-bind.skel.h',
/systemd-251/units/
Dsystemd-journald.service.in14 Requires=systemd-journald.socket
15 After=systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket syslog.
36 Sockets=systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket
Dmeson.build98 ['syslog.socket', ''],
112 ['systemd-coredump.socket', 'ENABLE_COREDUMP',
119 ['systemd-initctl.socket', 'HAVE_SYSV_COMPAT',
125 ['systemd-journal-gatewayd.socket', 'ENABLE_REMOTE HAVE_MICROHTTPD'],
126 ['systemd-journal-remote.socket', 'ENABLE_REMOTE HAVE_MICROHTTPD'],
127 ['systemd-journald-audit.socket', '',
129 ['systemd-journald-dev-log.socket', '',
131 ['systemd-journald.socket', '',
136 ['systemd-journald@.socket', ''],
137 ['systemd-journald-varlink@.socket', ''],
[all …]
Dsystemd-journald@.service.in13 Requires=systemd-journald@%i.socket systemd-journald-varlink@%i.socket
14 After=systemd-journald@%i.socket systemd-journald-varlink@%i.socket
34 Sockets=systemd-journald@%i.socket
Dinitrd-udevadm-cleanup-db.service14 Conflicts=systemd-udevd.service systemd-udevd-control.socket systemd-udevd-kernel.socket systemd-ud…
15 After=systemd-udevd.service systemd-udevd-control.socket systemd-udevd-kernel.socket systemd-udev-t…
Dsystemd-userdbd.service.in13 Requires=systemd-userdbd.socket
14 After=systemd-userdbd.socket
45 Also=systemd-userdbd.socket
Dsystemd-logind.service.in20 # Ask for the dbus socket.
21 Wants=dbus.socket
22 After=dbus.socket
Dsystemd-networkd.service.in16 After=systemd-networkd.socket systemd-udevd.service network-pre.target systemd-sysusers.service sys…
19 Wants=systemd-networkd.socket network.target
56 Also=systemd-networkd.socket
Dsystemd-udev-trigger.service15 After=systemd-udevd-kernel.socket systemd-udevd-control.socket
Dsystemd-coredump@.service.in15 After=systemd-journald.socket
16 Requires=systemd-journald.socket
Dsystemd-journald.socket16 # Mount and swap units need this. If this socket unit is removed by an
22 ListenDatagram=/run/systemd/journal/socket
Dsystemd-journal-gatewayd.service.in13 Requires=systemd-journal-gatewayd.socket
41 Also=systemd-journal-gatewayd.socket
/systemd-251/man/rules/
Dmeson.build864 ['systemd-coredump.socket', 'systemd-coredump@.service'],
910 ['systemd-initctl', 'systemd-initctl.socket'],
919 ['systemd-journal-gatewayd', 'systemd-journal-gatewayd.socket'],
923 ['systemd-journal-remote', 'systemd-journal-remote.socket'],
932 'systemd-journald-audit.socket',
933 'systemd-journald-dev-log.socket',
934 'systemd-journald-varlink@.socket',
935 'systemd-journald.socket',
937 'systemd-journald@.socket'],
979 ['systemd-rfkill', 'systemd-rfkill.socket'],
[all …]
/systemd-251/src/core/
Dmeson.build18 bpf-socket-bind.c
19 bpf-socket-bind.h
48 dbus-socket.c
49 dbus-socket.h
118 socket.c
119 socket.h
/systemd-251/src/test/
Dtest-socket-util.c426 listen_stream = socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0); in TEST()
429 listen_dgram = socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0); in TEST()
432 listen_seqpacket = socket(AF_UNIX, SOCK_SEQPACKET|SOCK_CLOEXEC|SOCK_NONBLOCK, 0); in TEST()
455 connect_stream = socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0); in TEST()
458 connect_dgram = socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0); in TEST()
461 connect_seqpacket = socket(AF_UNIX, SOCK_SEQPACKET|SOCK_CLOEXEC|SOCK_NONBLOCK, 0); in TEST()
506 fd1 = socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0); in TEST()
513 fd2 = socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0); in TEST()
Dtest-capability.c122 sock = socket(AF_INET, SOCK_RAW, IPPROTO_UDP); in test_drop_privileges_keep_net_raw()
131 sock = socket(AF_INET, SOCK_RAW, IPPROTO_UDP); in test_drop_privileges_keep_net_raw()
139 sock = socket(AF_INET, SOCK_RAW, IPPROTO_UDP); in test_drop_privileges_dontkeep_net_raw()
148 sock = socket(AF_INET, SOCK_RAW, IPPROTO_UDP); in test_drop_privileges_dontkeep_net_raw()
/systemd-251/docs/
DJOURNAL_NATIVE_PROTOCOL.md12 * Classic RFC3164 BSD syslog via the `/dev/log` socket
31 `/run/systemd/journal/socket` `AF_UNIX`/`SOCK_DGRAM` socket on which
32 `systemd-journald.service` listens. Each datagram sent to this socket
35 sent over this socket may come in one of two formats:
52 A client probably should bump up the `SO_SNDBUF` socket option of its `AF_UNIX`
53 socket towards `journald` in order to delay blocking I/O as much as possible.
156 this case should be pretty obvious: try connecting a socket to
157 `/run/systemd/journal/socket` first (on success use the native Journal
173 upgrade to the native Journal protocol via an `AF_UNIX` socket of its own, and
DPASSWORD_AGENTS.md10 …he answer is then sent back to the querier via an `AF_UNIX`/`SOCK_DGRAM` socket. Multiple agents m…
29 * The socket to send the response to is configured via `Socket=` in the `[Ask]` section. It is a `A…
32socket is restricted to privileged users. To acquire the necessary privileges to send the answer b…
33 …necessary privileges in some other way and send a single datagram to the socket consisting of the …
/systemd-251/test/testsuite-10.units/
Dtest10.service3 Requires=test10.socket
5 # Make sure we hit the socket trigger limit in the test and not the service start limit.
/systemd-251/test/
Dnetworkd-test.py24 import socket
768 orig_hostname = socket.gethostname()
769 self.addCleanup(socket.sethostname, orig_hostname)
796 self.assertEqual(socket.gethostname(), 'testgreen')
806 orig_hostname = socket.gethostname()
807 self.addCleanup(socket.sethostname, orig_hostname)
816 socket.sethostname("foobarqux");
829 self.assertEqual(socket.gethostname(), "foobarqux")
/systemd-251/src/libsystemd-network/
Dfuzz-dhcp-client.c22 fd = socket(AF_INET, SOCK_DGRAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0); in dhcp_network_bind_raw_socket()
36 fd = socket(AF_INET, SOCK_DGRAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0); in dhcp_network_bind_udp_socket()

1234567