[Rpm-maint] ACL and File Capability Support in RPM

pmatilai at laiskiainen.org pmatilai at laiskiainen.org
Thu Nov 13 17:40:19 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?

Oh, of course. Just haven't gotten around to it (this is hardly rocket 
science :) - as the code only exists in the development tree, for all 
practical purposes there are zero users who would be affected at the 
moment.

 	- Panu -


More information about the Rpm-maint mailing list