[Rpm-maint] ACL and File Capability Support in RPM
Panu Matilainen
pmatilai at laiskiainen.org
Fri Nov 14 07:52:33 UTC 2008
On Thu, 13 Nov 2008, Andrew G. Morgan wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Andrew G. Morgan wrote:
>>> So assuming I can't rely on cap_compare() always being there (it being
>>> Linux-specific extension and even then only in very recent libcap),
>>> would the following be a reasonable fallback: If cap_size() of both sets
>>> are equal, grab external presentation of both and memcmp() them?
>>
>> Yes, that would work - if their size is different they don't match ;-)
>
> http://rpm.org/gitweb?p=rpm.git;a=commitdiff;h=db1f9af5e2a4443e64ce10112a9553204bab7f4e
>
> I don't see this implemented yet. Is fixing this still on your radar?
Ok, should be fixed now:
http://rpm.org/gitweb?p=rpm.git;a=commitdiff;h=e0e0a5e0352fcc8aebe5a4752d672399151aee3f
Again, thanks for pointing this out (and kicking my lazy butt to actually
fix it ;)
- Panu -
More information about the Rpm-maint
mailing list