Searched refs:control (Results 1 - 16 of 16) sorted by relevance

/systemd/src/shared/
H A Dmachine-pool.c192 _cleanup_close_ int fd = -1, control = -1, loop = -1; local
252 control = open("/dev/loop-control", O_RDWR|O_CLOEXEC|O_NOCTTY|O_NONBLOCK);
253 if (control < 0)
254 return sd_bus_error_set_errnof(error, errno, "Failed to open /dev/loop-control: %m");
256 nr = ioctl(control, LOOP_CTL_GET_FREE);
351 if (control >= 0 && nr >= 0)
352 (void) ioctl(control, LOOP_CTL_REMOVE, nr);
H A Dask-password-api.c568 } control; local
608 zero(control);
612 msghdr.msg_control = &control;
613 msghdr.msg_controllen = sizeof(control);
633 control.cmsghdr.cmsg_level != SOL_SOCKET ||
634 control.cmsghdr.cmsg_type != SCM_CREDENTIALS ||
635 control.cmsghdr.cmsg_len != CMSG_LEN(sizeof(struct ucred))) {
640 ucred = (struct ucred*) CMSG_DATA(&control.cmsghdr);
/systemd/src/libsystemd/sd-bus/
H A Dbus-container.c150 } control = {}; local
157 .msg_control = &control,
158 .msg_controllen = sizeof(control),
H A Dbus-socket.c513 } control; local
546 mh.msg_control = &control;
547 mh.msg_controllen = sizeof(control);
804 struct cmsghdr *control; local
806 mh.msg_control = control = alloca(CMSG_SPACE(sizeof(int) * m->n_fds));
807 mh.msg_controllen = control->cmsg_len = CMSG_LEN(sizeof(int) * m->n_fds);
808 control->cmsg_level = SOL_SOCKET;
809 control->cmsg_type = SCM_RIGHTS;
810 memcpy(CMSG_DATA(control), m->fds, sizeof(int) * m->n_fds);
931 } control; local
[all...]
/systemd/src/resolve/
H A Dresolved-dns-stream.c70 } control; local
102 sl = sizeof(control);
104 r = getsockopt(s->fd, IPPROTO_IP, IP_PKTOPTIONS, &control, &sl);
109 r = getsockopt(s->fd, IPPROTO_IPV6, IPV6_2292PKTOPTIONS, &control, &sl);
115 mh.msg_control = &control;
H A Dresolved-manager.c615 } control; local
644 mh.msg_control = &control;
645 mh.msg_controllen = sizeof(control);
806 } control; local
831 zero(control);
833 mh.msg_control = &control;
855 } control; local
881 zero(control);
883 mh.msg_control = &control;
/systemd/src/journal/
H A Djournald-syslog.c62 } control; local
69 zero(control);
70 msghdr.msg_control = &control;
71 msghdr.msg_controllen = sizeof(control);
H A Djournald-server.c1178 } control = {}; local
1185 .msg_control = &control,
1186 .msg_controllen = sizeof(control),
/systemd/src/basic/
H A Dsocket-util.c873 } control = {}; local
877 .msg_control = &control,
878 .msg_controllen = sizeof(control),
902 } control = {}; local
904 .msg_control = &control,
905 .msg_controllen = sizeof(control),
/systemd/src/libsystemd-network/
H A Dsd-ndisc.c480 } control = {}; local
488 .msg_control = &control,
489 .msg_controllen = sizeof(control),
/systemd/src/nspawn/
H A Dnspawn.c299 /* Allow the user to control whether the unified hierarchy is used */
1684 _cleanup_close_ int fd = -1, control = -1, loop = -1; local
1722 control = open("/dev/loop-control", O_RDWR|O_CLOEXEC|O_NOCTTY|O_NONBLOCK);
1723 if (control < 0)
1724 return log_error_errno(errno, "Failed to open /dev/loop-control: %m");
1726 nr = ioctl(control, LOOP_CTL_GET_FREE);
2227 _cleanup_close_ int control = -1; local
2240 control = open("/dev/loop-control", O_RDW
[all...]
/systemd/src/coredump/
H A Dcoredump.c735 } control = {}; local
737 .msg_control = &control,
738 .msg_controllen = sizeof(control),
/systemd/src/import/
H A Dimportd.c570 } control = {}; local
574 .msg_control = &control,
575 .msg_controllen = sizeof(control),
/systemd/src/timesync/
H A Dtimesyncd-manager.c484 } control; local
489 .msg_control = &control,
490 .msg_controllen = sizeof(control),
/systemd/src/udev/
H A Dudevd.c854 } control = {}; local
858 .msg_control = &control,
859 .msg_controllen = sizeof(control),
1305 return log_error_errno(EINVAL, "error initializing udev control socket");
1309 return log_error_errno(EINVAL, "error binding udev control socket");
1532 return log_error_errno(EINVAL, "error taking over udev control socket");
/systemd/src/core/
H A Dmanager.c384 /* Enable that we get SIGINT on control-alt-del. In containers
428 SIGINT, /* Kernel sends us this on control-alt-del */
1163 /* We might have deserialized the kdbus control fd, but if we
1529 } control = {}; local
1533 .msg_control = &control,
1534 .msg_controllen = sizeof(control),

Completed in 2696 milliseconds