]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - CODING_STYLE
core: add RootImage= setting for using a specific image file as root directory for...
[thirdparty/systemd.git] / CODING_STYLE
index e89b3c67e5166e9ce62904baee55b08a10eb289b..ed61ea9d28169d4d4f9fffbc9f1898314c4e6cb9 100644 (file)
   and Linux/GNU-specific APIs, we generally prefer the POSIX APIs. If there
   aren't, we are happy to use GNU or Linux APIs, and expect non-GNU
   implementations of libc to catch up with glibc.
+
+- Whenever installing a signal handler, make sure to set SA_RESTART for it, so
+  that interrupted system calls are automatically restarted, and we minimize
+  hassles with handling EINTR (in particular as EINTR handling is pretty broken
+  on Linux).