[Rpm-maint] [PATCH] Revert "If there are no hardlinks, dont bother with s-bit and caps removal"

Panu Matilainen pmatilai at laiskiainen.org
Wed Jun 23 13:12:49 UTC 2010


On Tue, 22 Jun 2010, Michal Schmidt wrote:

> Deciding whether it is necessary to remove the SUID bit based on
> the current link count creates an opportunity for a race condition.
> A hardlink could be created just between lstat() and chmod().
>
> This reverts commit 89be57ad9239c9ada0cba94a5003876b456d46bf.

I was intending to do this alongs with a slightly revised version of the 
whole thing but in the meanwhile... applied, thanks.

 	- Panu -


More information about the Rpm-maint mailing list