Is SIOCGIFCOUNT implemented under 2.4.0

2001-06-24 Thread Nagendra Singh Tomar
Hi All ! Just wanted to know whether SIOCGIFCOUNT ioctl is implemented in linux kernel >= 2.4.0. It gives me EINVAL, I browsed thru the code and concluded that this ioctl is not implemented. Am I correct ??? regards tom - To unsubscribe from this list: send the line "unsubscribe linux-k

[PATCH 2.6.19.2] SCSI sd: udev accessing an uninitialized scsi_disk results in a crash

2007-02-02 Thread Nagendra Singh Tomar
ow solves it by calling class_device_add() only after the necessary fields in the scsi_disk structure are initialized properly. Thanx, Tomar Signed-off-by: Nagendra Singh Tomar <[EMAIL PROTECTED]> --- --- linux-2.6.19.2/drivers/scsi/sd.c.orig 2007-02-02 17:03:03.0 +0530

BUG in sysfs_remove_group

2007-04-17 Thread Nagendra Singh Tomar
The return value of lookup_one_len() is used without testing for error return. This results in the following oops when SELinux is enabled and enforced. The reason for the Oops is as follows. The shell's (bash) SELinux domain is not allowed "search" permission in sysfs filesystem (type