-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Serge E. Hallyn wrote:
> Unfortunately libcap apparently does not set the
> capability_version on the cap_t into a capget().  So
> to support old libcap, if the user calls capget without
> asking for 64bit caps, we assume 32-bit caps.  Otherwise
> we get segfault from writing past the cap_t bounds.

It should be set when the set is cap_init()'d.

As you know, I've been playing with an alternative patch for all this
that should scale a little better to beyond 64 bits. I'll try to get it
done over the weekend and send out an RFC patch by Monday.

Cheers

Andrew
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFHIvC/QheEq9QabfIRAog1AJ9ce8FIdb7tyOtEyREh4pq0zveJXwCeJqlA
MBsf2UkpNDSSye7OPXCp+kY=
=yiDA
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe 
linux-security-module" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to