diff options
author | John Johansen <[email protected]> | 2018-02-09 04:57:39 -0800 |
---|---|---|
committer | John Johansen <[email protected]> | 2018-02-09 11:30:00 -0800 |
commit | b5beb07ad32ab533027aa988d96a44965ec116f7 (patch) | |
tree | 187176b624ad9dfe857f6b2625426b9e7ac1d5d1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 040d9e2bce0a5b321c402b79ee43a8e8d2fd3b06 (diff) |
apparmor: fix resource audit messages when auditing peer
Resource auditing is using the peer field which is not available
when the rlim data struct is used, because it is a different element
of the same union. Accessing peer during resource auditing could
cause garbage log entries or even oops the kernel.
Move the rlim data block into the same struct as the peer field
so they can be used together.
CC: <[email protected]>
Fixes: 86b92cb782b3 ("apparmor: move resource checks to using labels")
Signed-off-by: John Johansen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions