On Thu, Dec 24, 2015 at 7:30 AM, Jann Horn <[email protected]> wrote:
> This adds a new ptrace_may_access_file() method that extracts
> the caller credentials from the supplied file instead of the
> current task. (However, the current task may still be
> inspected for auditing purposes, e.g. by the Smack LSM.)
>

I think the addition of f_tgid to struct file is a bit unfortunate.  I
wonder if we can avoid that somehow.  Maybe this could be shoved into
procfs' private data in the cases where it matters?

--Andy
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to