]> git.pld-linux.org Git - packages/kernel.git/blame - 2.6.0-t5-SELinux-convert_context-lkml.patch
- ported from linux-2.4.25-atmdd.patch
[packages/kernel.git] / 2.6.0-t5-SELinux-convert_context-lkml.patch
CommitLineData
34318f06 1 security/selinux/ss/services.c | 4 +++-
2 1 files changed, 3 insertions(+), 1 deletion(-)
3
4Index: linux-2.6/security/selinux/ss/services.c
5===================================================================
6RCS file: /nfshome/pal/CVS/linux-2.6/security/selinux/ss/services.c,v
7retrieving revision 1.28
8diff -u -r1.28 services.c
9--- linux-2.6/security/selinux/ss/services.c 17 Jul 2003 11:33:35 -0000 1.28
10+++ linux-2.6/security/selinux/ss/services.c 24 Sep 2003 13:08:40 -0000
11@@ -896,13 +896,15 @@
12 struct user_datum *usrdatum;
13 char *s;
14 u32 len;
15- int rc = -EINVAL;
16+ int rc;
17
18 args = p;
19
20 rc = context_cpy(&oldc, c);
21 if (rc)
22 goto out;
23+
24+ rc = -EINVAL;
25
26 /* Convert the user. */
27 usrdatum = hashtab_search(args->newp->p_users.table,
This page took 0.098892 seconds and 4 git commands to generate.