Searched refs:slink_tmp (Results 1 - 1 of 1) sorted by relevance

/systemd/src/udev/
H A Dudev-node.c41 char slink_tmp[UTIL_PATH_SIZE + 32]; local
103 strscpyl(slink_tmp, sizeof(slink_tmp), slink, ".tmp-", udev_device_get_id_filename(dev), NULL);
104 unlink(slink_tmp);
106 err = mkdir_parents_label(slink_tmp, 0755);
109 mac_selinux_create_file_prepare(slink_tmp, S_IFLNK);
110 err = symlink(target, slink_tmp);
116 log_error_errno(errno, "symlink '%s' '%s' failed: %m", target, slink_tmp);
119 err = rename(slink_tmp, slink);
121 log_error_errno(errno, "rename '%s' '%s' failed: %m", slink_tmp, slin
[all...]

Completed in 1239 milliseconds