diff options
| author | James Morris <jmorris@intercode.com.au> | 2003-02-06 09:47:09 -0800 |
|---|---|---|
| committer | James Morris <jmorris@intercode.com.au> | 2003-02-06 09:47:09 -0800 |
| commit | 3518172ae5d7cb08ff4452ad2ac31d97bbd801a8 (patch) | |
| tree | db7a89dd853ddb7a861ee56c64a17c08b4d409dd /include/linux/security.h | |
| parent | 67f0857aebe0a1952ffb790a1231537b6c33480d (diff) | |
[LSM]: networking hooks, kconfig bits.
Diffstat (limited to 'include/linux/security.h')
| -rw-r--r-- | include/linux/security.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/include/linux/security.h b/include/linux/security.h index a7d728493d2c..5e2d1da2e7f7 100644 --- a/include/linux/security.h +++ b/include/linux/security.h @@ -63,16 +63,14 @@ extern void cap_task_reparent_to_init (struct task_struct *p); /* setfsuid or setfsgid, id0 == fsuid or fsgid */ #define LSM_SETID_FS 8 - -#ifdef CONFIG_SECURITY - /* forward declares to avoid warnings */ struct sk_buff; -struct net_device; struct nfsctl_arg; struct sched_param; struct swap_info_struct; +#ifdef CONFIG_SECURITY + /** * struct security_operations - main security structure * @@ -952,6 +950,9 @@ struct security_operations { struct security_operations *ops); int (*unregister_security) (const char *name, struct security_operations *ops); + +#ifdef CONFIG_SECURITY_NETWORK +#endif /* CONFIG_SECURITY_NETWORK */ }; /* global variables */ @@ -2106,5 +2107,9 @@ static inline int security_sem_semop (struct sem_array * sma, #endif /* CONFIG_SECURITY */ +#ifdef CONFIG_SECURITY_NETWORK +#else /* CONFIG_SECURITY_NETWORK */ +#endif /* CONFIG_SECURITY_NETWORK */ + #endif /* ! __LINUX_SECURITY_H */ |
