selinux: Return directly after a failed next_entry() in genfs_read()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 14 Jan 2017 15:34:25 +0000 (16:34 +0100)
committerPaul Moore <paul@paul-moore.com>
Thu, 23 Mar 2017 21:45:29 +0000 (17:45 -0400)
commit3a0aa56518432a1a598ac3e48a93f2e99c66a393
tree4f225e2731cd2b3166b2720acd4088b78cf14f8b
parentb4e4686f65a3092f63ed01c887d9f56714d29f4a
selinux: Return directly after a failed next_entry() in genfs_read()

Return directly after a call of the function "next_entry" failed
at the beginning.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/ss/policydb.c