Message ID | 1353351139-26868-1-git-send-email-tim.gardner@canonical.com |
---|---|
State | New |
Headers | show |
Doh. These 2 patches are for Quantal.
On Mon, Nov 19, 2012 at 10:58:46AM -0800, Tim Gardner wrote: > Doh. These 2 patches are for Quantal. > -- > Tim Gardner tim.gardner@canonical.com another minor nit: you may want to tweak the changelog on second patch to say 7b162efee4ef7d01077038a5fba6867fac53d711 instead of 426ae7eee59e3de2a4c14ccfc30df0a7d64709fe, ack on the changes.
On 19.11.2012 20:06, Herton Ronaldo Krzesinski wrote: > On Mon, Nov 19, 2012 at 10:58:46AM -0800, Tim Gardner wrote: >> Doh. These 2 patches are for Quantal. >> -- >> Tim Gardner tim.gardner@canonical.com > > another minor nit: you may want to tweak the changelog on second patch > to say 7b162efee4ef7d01077038a5fba6867fac53d711 instead of > 426ae7eee59e3de2a4c14ccfc30df0a7d64709fe, ack on the changes. > With Hertons suggested changes, ack.
diff --git a/include/linux/audit.h b/include/linux/audit.h index 4a2f0d6..22f292a 100644 --- a/include/linux/audit.h +++ b/include/linux/audit.h @@ -510,7 +510,8 @@ void audit_core_dumps(long signr); static inline void audit_seccomp(unsigned long syscall, long signr, int code) { - __audit_seccomp(syscall, signr, code); + if (unlikely(!audit_dummy_context())) + __audit_seccomp(syscall, signr, code); } static inline void audit_ptrace(struct task_struct *t)