Re: [PATCH] coredump_filter: enable to change the default filter

From: Roland McGrath
Date: Thu Dec 11 2008 - 18:22:39 EST


> Or does the patch change other behaviour? Say, when mm_init() is
> called by a kernel thread (current->mm==NULL)? call_usermodehelper(),
> for example?
>
> If so, then setting init's filter doesn't cover that case.

Hmm, probably for the kernel thread case mm_init should use
task_active_pid_ns(current)->child_reaper->mm->flags.


Thanks,
Roland
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/