Home
last modified time | relevance | path

Searched refs:nspid (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/libsystemd/sd-bus/
Dbus-container.c25 assert(b->nspid > 0 || b->machine); in bus_container_connect_socket()
27 if (b->nspid <= 0) { in bus_container_connect_socket()
31 r = container_get_leader(b->machine, &b->nspid); in bus_container_connect_socket()
36 b->description ? " " : "", strempty(b->description), b->nspid); in bus_container_connect_socket()
38 r = namespace_open(b->nspid, &pidnsfd, &mntnsfd, NULL, &usernsfd, &rootfd); in bus_container_connect_socket()
40 … return log_debug_errno(r, "Failed to open namespace of PID "PID_FMT": %m", b->nspid); in bus_container_connect_socket()
Dbus-internal.h248 pid_t nspid; member
Dsd-bus.c980 r = parse_pid(pid, &b->nspid); in parse_container_unix_address()
984 b->nspid = 0; in parse_container_unix_address()
1006 b->nspid = 0; in bus_reset_parsed_address()
1107 else if ((b->nspid > 0 || b->machine) && b->sockaddr.sa.sa_family != AF_UNSPEC) in bus_start_address()