]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Smack: Use GFP_KERNEL for smack_parse_opts_str().
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Mon, 14 Nov 2016 11:12:55 +0000 (20:12 +0900)
committerCasey Schaufler <casey@schaufler-ca.com>
Mon, 14 Nov 2016 20:55:11 +0000 (12:55 -0800)
commit8c15d66e429afd099b66f05393527c23f85ca41c
treedda9eea10b14612ff26af6c671efddfc113810f8
parent2e4939f7026f938a1dc81533d020801198562804
Smack: Use GFP_KERNEL for smack_parse_opts_str().

Since smack_parse_opts_str() is calling match_strdup() which uses
GFP_KERNEL, it is safe to use GFP_KERNEL from kcalloc() which is
called by smack_parse_opts_str().

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
security/smack/smack_lsm.c