/systemd/src/shared/ |
H A D | machine-pool.c | 192 _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 D | ask-password-api.c | 568 } 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 D | bus-container.c | 150 } control = {}; local 157 .msg_control = &control, 158 .msg_controllen = sizeof(control),
|
H A D | bus-socket.c | 513 } 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 D | resolved-dns-stream.c | 70 } 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 D | resolved-manager.c | 615 } 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 D | journald-syslog.c | 62 } control; local 69 zero(control); 70 msghdr.msg_control = &control; 71 msghdr.msg_controllen = sizeof(control);
|
H A D | journald-server.c | 1178 } control = {}; local 1185 .msg_control = &control, 1186 .msg_controllen = sizeof(control),
|
/systemd/src/basic/ |
H A D | socket-util.c | 873 } 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 D | sd-ndisc.c | 480 } control = {}; local 488 .msg_control = &control, 489 .msg_controllen = sizeof(control),
|
/systemd/src/nspawn/ |
H A D | nspawn.c | 299 /* 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 D | coredump.c | 735 } control = {}; local 737 .msg_control = &control, 738 .msg_controllen = sizeof(control),
|
/systemd/src/import/ |
H A D | importd.c | 570 } control = {}; local 574 .msg_control = &control, 575 .msg_controllen = sizeof(control),
|
/systemd/src/timesync/ |
H A D | timesyncd-manager.c | 484 } control; local 489 .msg_control = &control, 490 .msg_controllen = sizeof(control),
|
/systemd/src/udev/ |
H A D | udevd.c | 854 } 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 D | manager.c | 384 /* 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),
|