Searched refs:getenv_for_pid (Results 1 – 7 of 7) sorted by relevance
/systemd-251/src/getty-generator/ |
D | getty-generator.c | 118 (void) getenv_for_pid(1, "container_ttys", &container_ttys); in run_container() 171 r = getenv_for_pid(1, "SYSTEMD_GETTY_AUTO", &getty_auto); in run()
|
/systemd-251/src/basic/ |
D | process-util.h | 75 int getenv_for_pid(pid_t pid, const char *field, char **_value);
|
D | virt.c | 737 r = getenv_for_pid(1, "container", &m); in detect_container()
|
D | terminal-util.c | 1330 if (getenv_for_pid(1, "TERM", &s) <= 0) in dev_console_colors_enabled()
|
D | process-util.c | 880 int getenv_for_pid(pid_t pid, const char *field, char **ret) { in getenv_for_pid() function
|
/systemd-251/src/shared/ |
D | machine-id-setup.c | 57 if (getenv_for_pid(1, "container_uuid", &e) > 0 && in generate_machine_id()
|
/systemd-251/src/test/ |
D | test-process-util.c | 97 (void) getenv_for_pid(pid, "PATH", &i); in test_get_process_comm_one()
|