Re: [PATCH 6/9] procfs: add pid_seq_private struct to handle /proc//{stat|stack}

2014-05-27 Thread Djalal Harouni
On Mon, May 26, 2014 at 10:02:15AM -0700, Andy Lutomirski wrote: > On Mon, May 26, 2014 at 6:27 AM, Djalal Harouni wrote: > > This patch is preparation to handle sensitive ONE entries: > > /proc//stat > > /proc//stack > > > > These files use sequence iterators and we want to keep that logic, and >

Re: [PATCH 6/9] procfs: add pid_seq_private struct to handle /proc//{stat|stack}

2014-05-26 Thread Andy Lutomirski
On Mon, May 26, 2014 at 6:27 AM, Djalal Harouni wrote: > This patch is preparation to handle sensitive ONE entries: > /proc//stat > /proc//stack > > These files use sequence iterators and we want to keep that logic, and > their internal handler semantics. > > The sequence iterators stock the inode

[PATCH 6/9] procfs: add pid_seq_private struct to handle /proc//{stat|stack}

2014-05-26 Thread Djalal Harouni
This patch is preparation to handle sensitive ONE entries: /proc//stat /proc//stack These files use sequence iterators and we want to keep that logic, and their internal handler semantics. The sequence iterators stock the inode in the seq_file->private field, so in order to keep the semantic and