Bug report [linux 2.2.14 and 2.3.3x], /proc/sys/real-root-dev not big-endian compliant.
Patrick Lerda
Lerda en microprocess.com
Lun Ene 24 07:44:34 CST 2000
In file /usr/src/linux/kernel/sysctl.c, "/proc/sys/real-root-dev" is defined
as is:
#ifdef CONFIG_BLK_DEV_INITRD
{KERN_REALROOTDEV, "real-root-dev", &real_root_dev, sizeof(int),
0644, NULL, &proc_dointvec},
#endif
real_root_dev is defined as kdev_t type (typedef struct { unsigned short
major, minor; } kdev_t;).
this definition returns a different result on a big-endian and a
little-endian architecture.
This is quite wrong and need to be fixed!
Patrick LERDA
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
Más información sobre la lista de distribución Ayuda