When deleting files, drop any s-bit first, so that a malicious
authorPaul Nasrat <pnasrat@redhat.com>
Mon, 16 Apr 2007 12:26:12 +0000 (13:26 +0100)
committerPaul Nasrat <pnasrat@redhat.com>
Mon, 16 Apr 2007 12:26:12 +0000 (13:26 +0100)
commit0e863398d4c4f8b750b41e0eeeb643d3b9ebbf06
treec6cecdd12c30073b3208fc20a4b7adb6919728b2
parenta6368d35530243b8d6bb0ca302a16c903f967921
When deleting files, drop any s-bit first, so that a malicious
user does not have access to old programs if he hard links them
to some other directory. [#50376] rh#125517
Patch from OpenSuSE
lib/cpio.h
lib/fsm.c
lib/psm.c
lib/transaction.c