]> git.baikalelectronics.ru Git - kernel.git/commit
SELinux: fix bug in new ebitmap code.
authorKaiGai Kohei <kaigai@kaigai.gr.jp>
Tue, 6 Nov 2007 16:17:16 +0000 (01:17 +0900)
committerJames Morris <jmorris@sdv.(none)>
Wed, 7 Nov 2007 21:55:10 +0000 (08:55 +1100)
commitcb7fcc96525a33b6acc7231c0572afce384ff6d6
treea4e098a0eaa0f59b84f167e875a987779a6cba5f
parent52205e66d86d64460f90acb6297030a9a1c83d32
SELinux: fix bug in new ebitmap code.

The "e_iter = e_iter->next;" statement in the inner for loop is primally
bug.  It should be moved to outside of the for loop.

Signed-off-by: KaiGai Kohei <kaigai@kaigai.gr.jp>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/ss/ebitmap.c