Re: CAP_SYSLOG, 2.6.38 and user space

From: Alan Cox
Date: Thu Feb 03 2011 - 10:11:43 EST


On Thu, 03 Feb 2011 12:39:37 +0100
Gergely Nagy <algernon@xxxxxxxxxx> wrote:

> Hi!
>
> Back in november, a patch was merged into the kernel (in commit
> ce6ada35bdf710d16582cc4869c26722547e6f11), that splits CAP_SYSLOG out of
> CAP_SYS_ADMIN.
>
> Sadly, this has an unwelcomed consequence, that any userspace syslogd
> that formerly used CAP_SYS_ADMIN will stop working, unless upgraded, or
> otherwise adapted to the change.

Then the patch should probably be reverted as it's breaking an existing
userspace API (or the kernel should accept either SYSLOG || ADMIN in
those cases that check is made so that the old right covers it as well as
the split out one)

Alan


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