Re: Is CAP_SYS_ADMIN checked by every program !?

From: Bernd Eckenfels
Date: Thu Dec 30 2004 - 03:26:53 EST


In article <200412301640.FCB13564.FtFPMSMGJtSOLVOYN@xxxxxxxxxxxxxxxxxxx> you wrote:
> But anyway, I have to give up checking for CAP_SYS_ADMIN .

You can add dump_stack(void) from kernel.h to you patch, since there are not
many sources for SYS_ADMIN capabilities checks in the kernel. You will
quickly find the syscall in question.

Greetings
Bernd
y
-
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/