summaryrefslogtreecommitdiff
path: root/License
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2011-07-24 19:17:25 -0700
committerAndrew G. Morgan <morgan@kernel.org>2011-07-24 19:17:25 -0700
commitaf725c50c2930485947bd958dbdf984faf8fc1ba (patch)
tree8c11ec9f583b41f39648a0b0bf92d04797fdf8e9 /License
parent1d229a36f06962ea8555afd0e657af9364c0e6d6 (diff)
downloadlibcap2-af725c50c2930485947bd958dbdf984faf8fc1ba.tar.gz
Change directory to "/" after --chroot operation.
Thanks to Steve Grubb for suggesting this. He wrote: ========= I was reviewing something recently and discovered a problem in capsh. The capsh program has a --chroot command line option. Inspecting the code shows that it does not do a chdir("/") after calling chroot. This means that '.' is outside the chroot. Additional info: http://cwe.mitre.org/data/definitions/243.html ========= Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
Diffstat (limited to 'License')
0 files changed, 0 insertions, 0 deletions