diff options
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 65d4a9ba79e4..c83f566e940a 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -176,6 +176,9 @@ extern struct ctl_table random_table[]; | |||
176 | #ifdef CONFIG_INOTIFY_USER | 176 | #ifdef CONFIG_INOTIFY_USER |
177 | extern struct ctl_table inotify_table[]; | 177 | extern struct ctl_table inotify_table[]; |
178 | #endif | 178 | #endif |
179 | #ifdef CONFIG_EPOLL | ||
180 | extern struct ctl_table epoll_table[]; | ||
181 | #endif | ||
179 | 182 | ||
180 | #ifdef HAVE_ARCH_PICK_MMAP_LAYOUT | 183 | #ifdef HAVE_ARCH_PICK_MMAP_LAYOUT |
181 | int sysctl_legacy_va_layout; | 184 | int sysctl_legacy_va_layout; |
@@ -1335,6 +1338,13 @@ static struct ctl_table fs_table[] = { | |||
1335 | .child = inotify_table, | 1338 | .child = inotify_table, |
1336 | }, | 1339 | }, |
1337 | #endif | 1340 | #endif |
1341 | #ifdef CONFIG_EPOLL | ||
1342 | { | ||
1343 | .procname = "epoll", | ||
1344 | .mode = 0555, | ||
1345 | .child = epoll_table, | ||
1346 | }, | ||
1347 | #endif | ||
1338 | #endif | 1348 | #endif |
1339 | { | 1349 | { |
1340 | .ctl_name = KERN_SETUID_DUMPABLE, | 1350 | .ctl_name = KERN_SETUID_DUMPABLE, |