git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
security
/
selinux
/
ss
/
mls.c
diff --git
a/security/selinux/ss/mls.c
b/security/selinux/ss/mls.c
index
f54ad88
..
9f06141
100644
(file)
--- a/
security/selinux/ss/mls.c
+++ b/
security/selinux/ss/mls.c
@@
-654,7
+654,7
@@
int cat_destroy(void *key, void *datum, void *p)
int sens_read(struct policydb *p, struct hashtab *h, void *fp)
{
int sens_read(struct policydb *p, struct hashtab *h, void *fp)
{
- char *key =
0
;
+ char *key =
NULL
;
struct level_datum *levdatum;
int rc;
u32 *buf, len;
struct level_datum *levdatum;
int rc;
u32 *buf, len;
@@
-707,7
+707,7
@@
bad:
int cat_read(struct policydb *p, struct hashtab *h, void *fp)
{
int cat_read(struct policydb *p, struct hashtab *h, void *fp)
{
- char *key =
0
;
+ char *key =
NULL
;
struct cat_datum *catdatum;
int rc;
u32 *buf, len;
struct cat_datum *catdatum;
int rc;
u32 *buf, len;