sysctl CTL_KERN, KERN_OSREV

Arnaldo Carvalho de Melo (acme@conectiva.com.br)
Tue, 19 Jan 1999 11:11:02 -0200 (EDT)


Hi,

I noted that KERN_OSREV isn't referenced anywhere in the kernel
sources and a sysctl to get it return an error, as espected ;> Should I
implement it or simply remove it from include/linux/sysctl.h, as the
revision can be easily parsed from the KERNEL_OSRELEASE sysctl?

[root@plucky linux]# find . -name "*.[ch]" -exec grep -l KERN_OSREV {} \;
./include/linux/sysctl.h
[root@plucky linux]# find . -name "*.[ch]" -exec grep -l KERN_OSTYPE {} \;
./kernel/sysctl.c
./include/linux/sysctl.h
[root@plucky linux]# find . -name "*.[ch]" -exec grep -l KERN_OSRELEASE {} \;
./kernel/sysctl.c
./include/linux/sysctl.h

- Arnaldo

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