Re: [PATCH] Call security hook from pid*_revalidate

From: Andrew Morton
Date: Tue Aug 19 2003 - 16:44:32 EST


Stephen Smalley <sds@xxxxxxxxxxxxxx> wrote:
>
> This patch against 2.6.0-test3-mm3 adds calls to the
> security_task_to_inode hook to the pid*_revalidate functions to ensure
> that the inode security field is also updated appropriately for
> /proc/pid inodes. This corresponds with the uid/gid update performed by
> the proc-pid-setuid-ownership-fix.patch that is already in -mm3.

wow, you're awake ;)

I'm not sure that the /proc/fd ownership patch is the correct solution to
that bug yet; we'll see. I'll include your change, thanks.

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