Re: [RFC c/r 3/4] c/r: procfs: add arg_start/end, env_start/end andexit_code members to /proc/$pid/stat

From: Cyrill Gorcunov
Date: Fri Jan 27 2012 - 15:10:27 EST


On Fri, Jan 27, 2012 at 03:00:37PM -0500, KOSAKI Motohiro wrote:
...
>
> > +
> > + seq_printf(m, "%d\n", task->exit_code);
> > +
>
> Bad this part seems to make new side channel. exit_code is one of
> inter process communication messages. IPC messages should NOT be
> observed from completely unrelated proesses.
>

You mean we need "permitted" test here, right?

Cyrill
--
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/