-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ANDROID: Add ns_pid_max for each pid namespace
Android bionic has limitation for thread id(<65536), add a new node /proc/sys/kernel/ns_pid_max for each pid namespace, android container can use this new node to limit max process/thread id for android. We still use kernel original /proc/sys/kernel/pid_max node to config global level max pid, the valid pid per namespace is min(pid_max, ns_pid_max). Signed-off-by: Hongcheng Xie <[email protected]>
- Loading branch information
1 parent
69c4d40
commit 892ce93
Showing
3 changed files
with
35 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters