selinux: use GFP_KERNEL while reading binary policy
authorChristian Göttsche <cgzones@googlemail.com>
Mon, 7 Aug 2023 18:05:18 +0000 (20:05 +0200)
committerPaul Moore <paul@paul-moore.com>
Tue, 8 Aug 2023 17:40:53 +0000 (13:40 -0400)
commit2b86e04bce141311c3a68940be2c8d5984274fca
treee8c905e436bfc59de07c5d55db3ebe7631c5f532
parent64f18f8a8c091f1f8fdc4805bafaffd15b588b23
selinux: use GFP_KERNEL while reading binary policy

Use GFP_KERNEL instead of GFP_ATOMIC while reading a binary policy in
sens_read() and cat_read(), similar to surrounding code.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/ss/policydb.c