RE: Capabilities: ALPHA time

Jeremy Fitzhardinge (jeremy@goop.org)
Mon, 03 May 1999 12:16:47 -0700 (PDT)


On 30-Apr-99 Pavel Machek wrote:
> Hi!
>
> Capabilities reached state where they are actually usefull. (I was
> able to lower permissions for programs like ping and rlogin). There
> are still some problems with headers (I include
> /usr/src/linux/include/linux/capability.h directly -- that's ugly),
> and there are problems with applications which do getuid() and then
> print failed - must be run as root when they actually do not need root
> at all (fping). Diff against kernel follows, and diff against
> http://www.goop.org/~jeremy/elf-caps.html follows, too (Jeremy, please
> apply at least parts which look clean to you).

Your way of parsing an executable for notes is very fragile. I've posted a
much better patch a couple of times - see
http://www/~jeremy/caps/binfmt_elf.c.diff

J

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/