Files
linux/fs/proc
Paul Moore 7928396df9 proc: prevent changes to overridden credentials
commit 35a196bef4 upstream.

Prevent userspace from changing the the /proc/PID/attr values if the
task's credentials are currently overriden.  This not only makes sense
conceptually, it also prevents some really bizarre error cases caused
when trying to commit credentials to a task with overridden
credentials.

Cc: <stable@vger.kernel.org>
Reported-by: "chengjian (D)" <cj.chengjian@huawei.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Acked-by: John Johansen <john.johansen@canonical.com>
Acked-by: James Morris <james.morris@microsoft.com>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-05-25 18:23:25 +02:00
..
2019-03-13 14:02:32 -07:00
2018-08-22 10:52:45 -07:00
2017-11-17 16:10:00 -08:00
2018-06-07 17:34:37 -07:00
2018-05-16 07:23:35 +02:00
2017-11-17 16:10:00 -08:00