]> Git Repo - linux.git/commit - security/selinux/hooks.c
SELinux: NULL terminate al contexts from disk
authorEric Paris <[email protected]>
Thu, 12 Feb 2009 19:50:05 +0000 (14:50 -0500)
committerJames Morris <[email protected]>
Fri, 13 Feb 2009 22:22:30 +0000 (09:22 +1100)
commit4cb912f1d1447077160ace9ce3b3a10696dd74e5
tree916f112de07ca626b0f398a0fc85943f15306146
parent4ba0a8ad63e12a03ae01c039482967cc496b9174
SELinux: NULL terminate al contexts from disk

When a context is pulled in from disk we don't know that it is null
terminated.  This patch forecebly null terminates contexts when we pull
them from disk.

Signed-off-by: Eric Paris <[email protected]>
Acked-by: Stephen Smalley <[email protected]>
Signed-off-by: James Morris <[email protected]>
security/selinux/hooks.c
This page took 0.04488 seconds and 4 git commands to generate.