Hi Stephen,
Does this mean the si_band field was always zero before, or that it was
unreliable? I'd like to know if autoconfing for existence of si_band is
enough to use the returned value reliably.
btw, you may want to include the attached for completeness.
thanks,
-- Jamie
diff -u linux-2.2.8/fs/fcntl.c.devel linux-2.2.8/fs/fcntl.c
--- linux-2.2.8/fs/fcntl.c.devel Wed May 12 00:44:17 1999
+++ linux-2.2.8/fs/fcntl.c Wed May 12 00:44:32 1999
@@ -162,7 +162,8 @@
err = filp->f_owner.signum;
break;
case F_SETSIG:
- if (arg <= 0 || arg > _NSIG) {
+ /* arg == 0 restores default behaviour. */
+ if (arg < 0 || arg > _NSIG) {
err = -EINVAL;
break;
}
-
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/