5ec9d065128cfc6ffde28abd3938f5009e36e41a
TRUNCATE_FILE is now handled by a new dedicated function truncate_file(). Indeed we have to take special care when truncating existing file since the behavior is only specified for regular files. Well that's not entirely true for fifo and terminal devices since O_TRUNC is ignored in this case but even in for these types of file, truncating is probably not the right thing to do. It is worth noting that both truncate_file() and create_file() have been modified so they use fstat(2) instead of stat(2) since both functions are not supposed to follow symlinks.
systemd - System and Service Manager
Details
General information about systemd can be found in the systemd Wiki.
Information about build requirements are provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the HACKING file for information how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list or join our IRC channel.
Stable branches with backported patches are available in the stable repo.
Languages
C
88.5%
Shell
5.7%
Python
4.6%
Meson
1.1%