aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sysctl.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2007-02-14 03:34:11 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-14 11:09:59 -0500
commit1ff007eb8e8c7c44e9a384a67d0fdd0fd06ba811 (patch)
tree01ed52bee21a39302ccfd49315a79806506177c7 /include/linux/sysctl.h
parent805b5d5e063e7fde5e2eb724e3f4cb18e47cab19 (diff)
[PATCH] sysctl: allow sysctl_perm to be called from outside of sysctl.c
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/sysctl.h')
-rw-r--r--include/linux/sysctl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
index 72ba58b362d8..9698ac30f553 100644
--- a/include/linux/sysctl.h
+++ b/include/linux/sysctl.h
@@ -925,8 +925,10 @@ enum
925#include <linux/list.h> 925#include <linux/list.h>
926 926
927/* For the /proc/sys support */ 927/* For the /proc/sys support */
928struct ctl_table;
928extern struct ctl_table_header *sysctl_head_next(struct ctl_table_header *prev); 929extern struct ctl_table_header *sysctl_head_next(struct ctl_table_header *prev);
929extern void sysctl_head_finish(struct ctl_table_header *prev); 930extern void sysctl_head_finish(struct ctl_table_header *prev);
931extern int sysctl_perm(struct ctl_table *table, int op);
930 932
931extern void sysctl_init(void); 933extern void sysctl_init(void);
932 934