Paul Moore 35a196bef4 proc: prevent changes to overridden credentials
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>
2019-04-29 09:51:21 -04:00
..
2019-03-05 21:07:22 -08:00
2019-02-01 15:46:22 -08:00
2019-02-28 03:29:28 -05:00
2018-10-31 08:54:16 -07:00
2017-11-17 16:10:00 -08:00
2019-03-05 21:07:14 -08:00
2019-03-09 15:53:03 -08:00
2018-10-31 08:54:16 -07:00