diff options
author | John Johansen <john.johansen@canonical.com> | 2018-05-04 12:18:07 +0300 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2018-06-07 11:49:21 +0300 |
commit | 38125c2c2beb3c770d8fcdbcd846bd95938866d3 (patch) | |
tree | f40478007c4c3350f5bd83ae94931c5b98de513e /security/apparmor/include/secid.h | |
parent | 52e7128ebbdd7b05ba8615efbe410e88a5925a1d (diff) | |
download | linux-38125c2c2beb3c770d8fcdbcd846bd95938866d3.tar.xz |
apparmor: improve get_buffers macro by using get_cpu_ptr
Refactor get_buffers so the cpu_ptr can be obtained in the outer
layer, instead of inside the macro.
This also enables us to cleanup the code and use get_cpu_ptr,
to handle the preempt_disable()
Signed-off-by: John Johansen <john.johansen@canonical.com>
Acked-by: Seth Arnold <seth.arnold@canonical.com>
Diffstat (limited to 'security/apparmor/include/secid.h')
0 files changed, 0 insertions, 0 deletions