diff options
Diffstat (limited to 'kernel/sysctl.c')
| -rw-r--r-- | kernel/sysctl.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 270ee7fadbd8..e60b9c36f1f0 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
| @@ -146,6 +146,9 @@ extern ctl_table random_table[]; | |||
| 146 | #ifdef CONFIG_UNIX98_PTYS | 146 | #ifdef CONFIG_UNIX98_PTYS |
| 147 | extern ctl_table pty_table[]; | 147 | extern ctl_table pty_table[]; |
| 148 | #endif | 148 | #endif |
| 149 | #ifdef CONFIG_INOTIFY | ||
| 150 | extern ctl_table inotify_table[]; | ||
| 151 | #endif | ||
| 149 | 152 | ||
| 150 | #ifdef HAVE_ARCH_PICK_MMAP_LAYOUT | 153 | #ifdef HAVE_ARCH_PICK_MMAP_LAYOUT |
| 151 | int sysctl_legacy_va_layout; | 154 | int sysctl_legacy_va_layout; |
| @@ -218,6 +221,7 @@ static ctl_table root_table[] = { | |||
| 218 | .mode = 0555, | 221 | .mode = 0555, |
| 219 | .child = dev_table, | 222 | .child = dev_table, |
| 220 | }, | 223 | }, |
| 224 | |||
| 221 | { .ctl_name = 0 } | 225 | { .ctl_name = 0 } |
| 222 | }; | 226 | }; |
| 223 | 227 | ||
| @@ -950,6 +954,14 @@ static ctl_table fs_table[] = { | |||
| 950 | .mode = 0644, | 954 | .mode = 0644, |
| 951 | .proc_handler = &proc_dointvec, | 955 | .proc_handler = &proc_dointvec, |
| 952 | }, | 956 | }, |
| 957 | #ifdef CONFIG_INOTIFY | ||
| 958 | { | ||
| 959 | .ctl_name = FS_INOTIFY, | ||
| 960 | .procname = "inotify", | ||
| 961 | .mode = 0555, | ||
| 962 | .child = inotify_table, | ||
| 963 | }, | ||
| 964 | #endif | ||
| 953 | #endif | 965 | #endif |
| 954 | { | 966 | { |
| 955 | .ctl_name = KERN_SETUID_DUMPABLE, | 967 | .ctl_name = KERN_SETUID_DUMPABLE, |
| @@ -968,7 +980,7 @@ static ctl_table debug_table[] = { | |||
| 968 | 980 | ||
| 969 | static ctl_table dev_table[] = { | 981 | static ctl_table dev_table[] = { |
| 970 | { .ctl_name = 0 } | 982 | { .ctl_name = 0 } |
| 971 | }; | 983 | }; |
| 972 | 984 | ||
| 973 | extern void init_irq_proc (void); | 985 | extern void init_irq_proc (void); |
| 974 | 986 | ||
