Commit d4fefa4
audit: move audit_return_fixup before the filters
The success and return_code are needed by the filters. Move
audit_return_fixup() before the filters. This was causing syscall
auditing events to be missed.
Link: linux-audit/audit-kernel#138
Cc: [email protected]
Fixes: 12c5e81 ("audit: prepare audit_context for use in calling contexts beyond syscalls")
Signed-off-by: Richard Guy Briggs <[email protected]>
[PM: manual merge required]
Signed-off-by: Paul Moore <[email protected]>1 parent ad982c3 commit d4fefa4
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1940 | 1940 | | |
1941 | 1941 | | |
1942 | 1942 | | |
| 1943 | + | |
1943 | 1944 | | |
1944 | 1945 | | |
1945 | 1946 | | |
| |||
1981 | 1982 | | |
1982 | 1983 | | |
1983 | 1984 | | |
1984 | | - | |
1985 | 1985 | | |
1986 | 1986 | | |
1987 | 1987 | | |
| |||
2065 | 2065 | | |
2066 | 2066 | | |
2067 | 2067 | | |
| 2068 | + | |
2068 | 2069 | | |
2069 | 2070 | | |
2070 | 2071 | | |
2071 | 2072 | | |
2072 | 2073 | | |
2073 | 2074 | | |
2074 | | - | |
2075 | 2075 | | |
2076 | 2076 | | |
2077 | 2077 | | |
| |||
0 commit comments