diff options
| author | Christoph Hellwig <hch@infradead.org> | 2002-10-16 20:09:55 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-10-16 20:09:55 -0700 |
| commit | 22652747744ff8deca0166c00d17ba66684bb6ef (patch) | |
| tree | 647767de1b4b6b273aeb82cacdead01426eb1933 /security | |
| parent | d90199f27a434e8ebd8c1bd6466854fa7ffd7a89 (diff) | |
[PATCH] make LSM register functions GPLonly exports
These exports have the power to change the implementations of all
syscalls and I've seen people exploiting this "feature".
Make the exports GPLonly (which some LSM folks agreed to
when it was merged initially to avoid that).
Diffstat (limited to 'security')
| -rw-r--r-- | security/security.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/security/security.c b/security/security.c index 892208b20bc4..57746fb90878 100644 --- a/security/security.c +++ b/security/security.c @@ -241,9 +241,9 @@ asmlinkage long sys_security (unsigned int id, unsigned int call, return security_ops->sys_security (id, call, args); } -EXPORT_SYMBOL (register_security); -EXPORT_SYMBOL (unregister_security); -EXPORT_SYMBOL (mod_reg_security); -EXPORT_SYMBOL (mod_unreg_security); -EXPORT_SYMBOL (capable); -EXPORT_SYMBOL (security_ops); +EXPORT_SYMBOL_GPL(register_security); +EXPORT_SYMBOL_GPL(unregister_security); +EXPORT_SYMBOL_GPL(mod_reg_security); +EXPORT_SYMBOL_GPL(mod_unreg_security); +EXPORT_SYMBOL(capable); +EXPORT_SYMBOL(security_ops); |
