Re: [PATCH] bugfix: was Re: [ linus-git ] prctl(PR_SET_KEEPCAPS,...) is broken for some configs, e.g. CONFIG_SECURITY_SELINUX

From: Andrew G. Morgan
Date: Tue Jun 10 2008 - 20:38:42 EST


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

Chris Wright wrote:
|> + switch (option) {
|> + case PR_CAPBSET_READ:
|> + *rc_p = (cap_valid(arg2) ? 1 : -EINVAL);
|> + break;
|
| Do we need this one? It's new to 2.6.25, so I think we could not
| worry about emulating it here.

We're talking about 'fixing' 2.6.26 no? I'd rather not open up the
possibility that I have to 'fix' it again because of dropping a feature
of 2.6.25... (Forgive me if I sound like I'm climbing out of a septic
tank here.)

Dmitry: please verify this change addresses your problem...

Cheers

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

iD8DBQFITx5i+bHCR3gb8jsRAi8dAJ9A8v+wbSiqikGaW8vIY2HcS0Hs5QCfU2gT
1z9FHzHTgSeBMqHak6+VCtU=
=jKT2
-----END PGP SIGNATURE-----
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/