[PATCH v4 00/23] LSM: Module stacking for AppArmor
James Morris
jmorris at namei.org
Thu Jun 27 18:10:25 UTC 2019
On Thu, 27 Jun 2019, Kees Cook wrote:
> On Thu, Jun 27, 2019 at 02:10:18PM +1000, James Morris wrote:
> > On Thu, 27 Jun 2019, James Morris wrote:
> >
> > > Confirming there's no oops when Tomoyo is un-selected in the kernel
> > > config.
> >
> > n/m, the problem is still there.
>
> Were you able to test my fix for this? I wonder if what I found was just
> a coincidence.
Seems to have fixed the oops I was seeing.
diff --git a/drivers/android/binder.c b/drivers/android/binder.c
index 4adf4d4a954b..e76dbeee979b 100644
--- a/drivers/android/binder.c
+++ b/drivers/android/binder.c
@@ -2875,7 +2875,7 @@ static void binder_transaction(struct binder_proc *proc,
binder_size_t last_fixup_min_off = 0;
struct binder_context *context = proc->context;
int t_debug_id = atomic_inc_return(&binder_last_id);
- struct lsmcontext lsmctx;
+ struct lsmcontext lsmctx = {};
e = binder_transaction_log_add(&binder_transaction_log);
e->debug_id = t_debug_id;
--
James Morris
<jmorris at namei.org>
More information about the Linux-security-module-archive
mailing list