diff options
author | 2016-11-14 20:12:56 +0900 | |
---|---|---|
committer | 2017-04-04 15:41:15 -0700 | |
commit | af96f0d6394a0af59c4dd71d6bcd3b1ddfba5196 (patch) | |
tree | b919dfda7beba06d3dd7a7ee74d40ea6c683bd0b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | smack: fix double free in smack_parse_opts_str() (diff) | |
download | linux-dev-af96f0d6394a0af59c4dd71d6bcd3b1ddfba5196.tar.xz linux-dev-af96f0d6394a0af59c4dd71d6bcd3b1ddfba5196.zip |
Smack: Use GFP_KERNEL for smk_netlbl_mls().
Since all callers of smk_netlbl_mls() are GFP_KERNEL context
(smk_set_cipso() calls memdup_user_nul(), init_smk_fs() calls
__kernfs_new_node(), smk_import_entry() calls kzalloc(GFP_KERNEL)),
it is safe to use GFP_KERNEL from netlbl_catmap_setbit().
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions