]> git.proxmox.com Git - mirror_lxc.git/commitdiff
CODING_STYLE: remove duplicate _exit() entry
authorChristian Brauner <christian.brauner@ubuntu.com>
Fri, 2 Mar 2018 11:18:38 +0000 (12:18 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Fri, 2 Mar 2018 11:18:38 +0000 (12:18 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
CODING_STYLE.md

index a3bf41a4acab7d91b001939f539d64b0cadad44d..4a88bb898c308cf2f0fbd2d766237b9b14986b46 100644 (file)
@@ -433,13 +433,6 @@ rules to use them:
   }
   ```
 
-#### Use `_exit()` in `fork()`ed Processes
-
-- This has multiple reasons but the gist is:
-  - `exit()` is not thread-safe
-  - `exit()` in libc runs exit handlers which might interfer with the parents
-    state
-
 #### Use `for (;;)` instead of `while (1)` or `while (true)`
 
 - Let's be honest, it is really the only sensible way to do this.