Home
last modified time | relevance | path

Searched refs:mkdir_safe_label (Results 1 – 14 of 14) sorted by relevance

/systemd-251/src/network/
Dnetworkd.c56 r = mkdir_safe_label("/run/systemd/netif", 0755, uid, gid, MKDIR_WARN_MODE); in run()
72 … r = mkdir_safe_label("/run/systemd/netif/links", 0755, UID_INVALID, GID_INVALID, MKDIR_WARN_MODE); in run()
76 …r = mkdir_safe_label("/run/systemd/netif/leases", 0755, UID_INVALID, GID_INVALID, MKDIR_WARN_MODE); in run()
80 … r = mkdir_safe_label("/run/systemd/netif/lldp", 0755, UID_INVALID, GID_INVALID, MKDIR_WARN_MODE); in run()
/systemd-251/src/shared/
Dmkdir-label.h15 int mkdir_safe_label(const char *path, mode_t mode, uid_t uid, gid_t gid, MkdirFlags flags);
Dmkdir-label.c27 int mkdir_safe_label(const char *path, mode_t mode, uid_t uid, gid_t gid, MkdirFlags flags) { in mkdir_safe_label() function
/systemd-251/src/resolve/
Dresolved.c57 r = mkdir_safe_label("/run/systemd/resolve", 0755, uid, gid, MKDIR_WARN_MODE); in run()
/systemd-251/src/login/
Dlogind-inhibit.c93 r = mkdir_safe_label("/run/systemd/inhibit", 0755, 0, 0, MKDIR_WARN_MODE); in inhibitor_save()
299 r = mkdir_safe_label("/run/systemd/inhibit", 0755, 0, 0, MKDIR_WARN_MODE); in inhibitor_create_fifo()
Duser-runtime-dir.c65 r = mkdir_safe_label("/run/user", 0755, 0, 0, MKDIR_WARN_MODE); in user_mkdir_runtime_path()
Dlogind-session.c215 r = mkdir_safe_label("/run/systemd/sessions", 0755, 0, 0, MKDIR_WARN_MODE); in session_save()
1068 r = mkdir_safe_label("/run/systemd/sessions", 0755, 0, 0, MKDIR_WARN_MODE); in session_create_fifo()
Dlogind-seat.c94 r = mkdir_safe_label("/run/systemd/seats", 0755, 0, 0, MKDIR_WARN_MODE); in seat_save()
Dlogind-user.c151 r = mkdir_safe_label("/run/systemd/users", 0755, 0, 0, MKDIR_WARN_MODE); in user_save_internal()
Dlogind-dbus.c1291 r = mkdir_safe_label("/var/lib/systemd/linger", 0755, 0, 0, MKDIR_WARN_MODE); in method_set_user_linger()
/systemd-251/src/core/
Dimport-creds.c72 r = mkdir_safe_label(ENCRYPTED_SYSTEM_CREDENTIALS_DIRECTORY, 0700, 0, 0, MKDIR_WARN_MODE); in acquire_encrypted_credential_directory()
268 r = mkdir_safe_label(SYSTEM_CREDENTIALS_DIRECTORY, 0700, 0, 0, MKDIR_WARN_MODE); in acquire_credential_directory()
Dexecute.c2387 r = mkdir_safe_label(pp, 0700, 0, 0, MKDIR_WARN_MODE); in setup_exec_directory()
/systemd-251/src/timesync/
Dtimesyncd.c57 r = mkdir_safe_label(STATE_DIR, 0755, uid, gid, in load_clock_timestamp()
/systemd-251/src/machine/
Dmachine.c121 r = mkdir_safe_label("/run/systemd/machines", 0755, 0, 0, MKDIR_WARN_MODE); in machine_save()