diff options
author | Eric Paris <eparis@redhat.com> | 2012-04-17 16:26:54 -0400 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2012-04-18 12:37:56 +1000 |
commit | d52fc5dde171f030170a6cb78034d166b13c9445 (patch) | |
tree | f982d0bdab54d5ab31cdd3e69cb88a1376797d1f /virt/kvm/eventfd.c | |
parent | 09c79b60960bdd4b00916219402eabfa5e479c5a (diff) | |
download | op-kernel-dev-d52fc5dde171f030170a6cb78034d166b13c9445.zip op-kernel-dev-d52fc5dde171f030170a6cb78034d166b13c9445.tar.gz |
fcaps: clear the same personality flags as suid when fcaps are used
If a process increases permissions using fcaps all of the dangerous
personality flags which are cleared for suid apps should also be cleared.
Thus programs given priviledge with fcaps will continue to have address space
randomization enabled even if the parent tried to disable it to make it
easier to attack.
Signed-off-by: Eric Paris <eparis@redhat.com>
Reviewed-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'virt/kvm/eventfd.c')
0 files changed, 0 insertions, 0 deletions