Home
last modified time | relevance | path

Searched refs:hostname_fd (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/resolve/
Dresolved-manager.c465 m->hostname_fd = open("/proc/sys/kernel/hostname", in manager_watch_hostname()
467 if (m->hostname_fd < 0) { in manager_watch_hostname()
472 …r = sd_event_add_io(m->event, &m->hostname_event_source, m->hostname_fd, 0, on_hostname_change, m); in manager_watch_hostname()
476 m->hostname_fd = safe_close(m->hostname_fd); in manager_watch_hostname()
575 .hostname_fd = -1, in manager_new()
730 safe_close(m->hostname_fd); in manager_free()
Dresolved-manager.h121 int hostname_fd; member
/systemd-251/src/journal/
Dfuzz-journald.c15 .hostname_fd = -1, in dummy_server_init()
Djournald-server.c1832 s->hostname_fd = open("/proc/sys/kernel/hostname", in server_open_hostname()
1834 if (s->hostname_fd < 0) in server_open_hostname()
1837 …r = sd_event_add_io(s->event, &s->hostname_event_source, s->hostname_fd, 0, dispatch_hostname_chan… in server_open_hostname()
1843 s->hostname_fd = safe_close(s->hostname_fd); in server_open_hostname()
2289 .hostname_fd = -1, in server_init()
2598 safe_close(s->hostname_fd); in server_done()
Djournald-server.h71 int hostname_fd; member