]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
selinux: conditionally reschedule in hashtab_insert while loading selinux policy
authorDave Jones <davej@redhat.com>
Thu, 15 May 2014 19:03:53 +0000 (15:03 -0400)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Tue, 3 Jun 2014 19:21:50 +0000 (14:21 -0500)
commited1c96429a6aa6ffd8c4ee3e80bcde28aad270bc
tree235ddd61f28c3030838ebbe5655fccfd1468042c
parent9a591f39a9d11df435652738e7f6e62a09c87909
selinux: conditionally reschedule in hashtab_insert while loading selinux policy

After silencing the sleeping warning in mls_convert_context() I started
seeing similar traces from hashtab_insert. Do a cond_resched there too.

Signed-off-by: Dave Jones <davej@redhat.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Paul Moore <pmoore@redhat.com>
security/selinux/ss/hashtab.c