| Date | Fri, 17 Nov 2006 18:02:10 +0100 | From | Adrian Bunk <> | Subject | [-mm patch] security/slim/slm_main.c: make 2 functions static |
| |
This patch makes two needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
security/slim/slm_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
--- linux-2.6.19-rc5-mm2/security/slim/slm_main.c.old 2006-11-17 16:42:58.000000000 +0100 +++ linux-2.6.19-rc5-mm2/security/slim/slm_main.c 2006-11-17 16:43:22.000000000 +0100 @@ -967,8 +967,8 @@ * of the current process. This is especially important for objects * being promoted. */ -int slm_inode_setxattr(struct dentry *dentry, char *name, void *value, - size_t size, int flags) +static int slm_inode_setxattr(struct dentry *dentry, char *name, void *value, + size_t size, int flags) { struct slm_tsec_data *cur_tsec = current->security; char *data = value; @@ -1075,7 +1075,7 @@ /* * Opening a socket demotes the integrity of a process to untrusted. */ -int slm_socket_create(int family, int type, int protocol, int kern) +static int slm_socket_create(int family, int type, int protocol, int kern) { struct task_struct *parent_tsk; struct slm_tsec_data *cur_tsec = current->security, *parent_tsec; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|