Re: Is CAP_SYS_ADMIN checked by every program !?

From: Bernd Eckenfels
Date: Wed Dec 29 2004 - 23:46:44 EST


In article <200412291347.JEH41956.OOtStPFFNMLJVGMYS@xxxxxxxxxxxxxxxxxxx> you wrote:
> even for programs such as cat(1) sed(1) ls(1).

You you tried strace, if it is actually the user mode which is doing that?
If yes, then it might be a libc issue. Perhaps hwcap or something line this.
libc for example disables some features if running suid. Maybe those checks
result in checking capabilities.

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