projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
procfs: use an enum for possible hidepid values
[linux-2.6-microblaze.git]
/
include
/
linux
/
pid_namespace.h
diff --git
a/include/linux/pid_namespace.h
b/include/linux/pid_namespace.h
index
34cce96
..
c2a989d
100644
(file)
--- a/
include/linux/pid_namespace.h
+++ b/
include/linux/pid_namespace.h
@@
-21,6
+21,12
@@
struct pidmap {
struct fs_pin;
+enum { /* definitions for pid_namespace's hide_pid field */
+ HIDEPID_OFF = 0,
+ HIDEPID_NO_ACCESS = 1,
+ HIDEPID_INVISIBLE = 2,
+};
+
struct pid_namespace {
struct kref kref;
struct pidmap pidmap[PIDMAP_ENTRIES];