Re: 2.0.29 sysctl.c if(grp == current->euid)

Chris Wedgwood (chris@cyphercom.com)
Thu, 13 Feb 1997 16:05:12 -0500


>Subject: Re: 2.0.29 sysctl.c if(grp == current->euid)
^^^^^^

(I didn't notice this at first, by then I had already grepped the 2.0
source tree...)

> if (grp == current->euid)
> ^
> make any sense?
> 2. Should euid be changed to egid?
> 3. Or should the patches to sys.c and sysctl.c that appeared in 2.1.12
> go into the 2.0.xx series.
>
>Where is this line found? I've looked in the 2.1.26 sources, and I
>can't find it anywhere.
>
> - Ted

x:/usr/src/linux-2.0.x# grep "grp.*euid" `find -name "*.[ch]" -print`
./kernel/sysctl.c: if (grp == current->euid)

This is a bug, it has been fixed in 2.1.26 at least... (I just checked).

-Chris