Skip to content

Commit

Permalink
Merge tag 'apparmor-pr-2017-11-30' of git://git.kernel.org/pub/scm/li…
Browse files Browse the repository at this point in the history
…nux/kernel/git/jj/linux-apparmor

Pull apparmor bugfix from John Johansen:
 "Fix oops in audit_signal_cb hook marked for stable"

* tag 'apparmor-pr-2017-11-30' of git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor:
  apparmor: fix oops in audit_signal_cb hook
  • Loading branch information
torvalds committed Nov 30, 2017
2 parents 42062b9 + b12cbb2 commit df8ba95
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions security/apparmor/include/audit.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,17 +121,19 @@ struct apparmor_audit_data {
/* these entries require a custom callback fn */
struct {
struct aa_label *peer;
struct {
const char *target;
kuid_t ouid;
} fs;
union {
struct {
const char *target;
kuid_t ouid;
} fs;
int signal;
};
};
struct {
struct aa_profile *profile;
const char *ns;
long pos;
} iface;
int signal;
struct {
int rlim;
unsigned long max;
Expand Down

0 comments on commit df8ba95

Please sign in to comment.