Here are a few bugs fixes for the sysctl mechanism. This patch fixes the
following things:
- The function in_egroup_p() compares a GID with a UID.
- The binary IDs of /proc/sys/kernel/nfs-root-name and
/proc/sys/kernel/nfs-root-addrs were the same.
- /proc/sys/kernel/java-[interpreter|appletviewer] was not created if
binfmt_java is compiled as a module. So I made the sysctl registration
dynamic as in IPv6.
The patch also fixes a minor prototype warning in the softdog.c file.
It has been successfully tested under linux 2.0.25, 2.1.8 and 2.1.10.