process-util: prefix FORK_PID_ONLY with _ to signify it is internal
This commit is contained in:
@@ -187,7 +187,8 @@ typedef enum ForkFlags {
|
||||
FORK_NEW_NETNS = 1 << 20, /* Run child in its own network namespace 💣 DO NOT USE IN THREADED PROGRAMS! 💣 */
|
||||
FORK_NEW_PIDNS = 1 << 21, /* Run child in its own PID namespace 💣 DO NOT USE IN THREADED PROGRAMS! 💣 */
|
||||
FORK_FREEZE = 1 << 22, /* Don't return in child, just call freeze() instead */
|
||||
FORK_PID_ONLY = 1 << 23, /* Don't open a pidfd referencing the child process */
|
||||
|
||||
_FORK_PID_ONLY = 1 << 23, /* Don't open a pidfd referencing the child process */
|
||||
} ForkFlags;
|
||||
|
||||
int pidref_safe_fork_full(
|
||||
|
||||
Reference in New Issue
Block a user