From: Eric Paris Date: Tue, 17 Apr 2012 20:26:54 +0000 (-0400) Subject: fcaps: clear the same personality flags as suid when fcaps are used X-Git-Tag: v3.2.16~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2c309c36d0a433c88534082cb2c3a817d6bd409;p=pandora-kernel.git fcaps: clear the same personality flags as suid when fcaps are used commit d52fc5dde171f030170a6cb78034d166b13c9445 upstream. 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 Reviewed-by: Serge Hallyn Signed-off-by: James Morris Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed