[Rpm-maint] ACL and File Capability Support in RPM
Andrew G. Morgan
morgan at kernel.org
Thu Nov 13 16:25:18 UTC 2008
-----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?
Cheers
Andrew
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJHFTs+bHCR3gb8jsRAsxYAKC6Dw/hd1ewl8a6o3VWuLPLKjce7gCdFAVi
0RYGB02KPxVmqwM/Z7uobu0=
=dMNZ
-----END PGP SIGNATURE-----
More information about the Rpm-maint
mailing list