Re: 2.0.29 sysctl.c

Garst R. Reese (
Sat, 08 Feb 1997 14:03:39 -0400

Excuse my dyslexia: Earlier I wrote

>Back about 2.0.23 and 2.1.11 a patch was submitted to change line 231
>of sysctl.c in /linux/kernel. The offending line was:

>if (grp == current->euid)
>in the function:
>static int (in_egroup_p(gid_t grp)

>patch-2.1.12 and possibly later 2.1 patches addressed this problem.
>The unofficial patch simply changed euid to guid.
The unoffical patch simply changes euid to egid

>patch-2.1.12 made more extensive changes to the function.

>No similar official patch has appeared for 2.0.xx kernels.

>I am not currently running 2.1 (until pcmcia works) and I am not kernel
>hacker enough to know what this effects, but it does look wrong.