Commit df8ba95c authored by Linus Torvalds's avatar Linus Torvalds

Merge tag 'apparmor-pr-2017-11-30' of...

Merge tag 'apparmor-pr-2017-11-30' of git://git.kernel.org/pub/scm/linux/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
parents 42062b98 b12cbb21
...@@ -121,17 +121,19 @@ struct apparmor_audit_data { ...@@ -121,17 +121,19 @@ struct apparmor_audit_data {
/* these entries require a custom callback fn */ /* these entries require a custom callback fn */
struct { struct {
struct aa_label *peer; struct aa_label *peer;
struct { union {
const char *target; struct {
kuid_t ouid; const char *target;
} fs; kuid_t ouid;
} fs;
int signal;
};
}; };
struct { struct {
struct aa_profile *profile; struct aa_profile *profile;
const char *ns; const char *ns;
long pos; long pos;
} iface; } iface;
int signal;
struct { struct {
int rlim; int rlim;
unsigned long max; unsigned long max;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment