* Andrew Morton (email@example.com) wrote:
> Chris Wright <firstname.lastname@example.org> wrote:
> > security_capable() returns 0 if that capability bit is set.
> That's just bizarre. Is there any logic behind it?
Yes, as Stephen pointed out, it's common for the security interface to
return 0 on success on -errno on failure.
-- Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to email@example.com More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:17 EST