John Johansen 38125c2c2b 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>
2018-06-07 01:49:21 -07:00
..
2018-04-13 15:38:53 -07:00
2017-04-07 08:58:35 +10:00
2018-05-03 00:47:56 -07:00
2018-02-09 11:30:01 -08:00
2018-05-03 00:49:35 -07:00
2018-05-03 00:49:56 -07:00
2018-05-03 00:50:12 -07:00
2018-05-03 00:50:30 -07:00
2018-02-09 11:30:01 -08:00
2018-05-03 00:50:46 -07:00
2018-02-09 11:30:01 -08:00
2018-02-09 11:30:01 -08:00