Messages in this thread | | | Date | Sat, 1 May 2004 16:55:30 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: 2.6.6-rc3: modular DVB tda1004x broken |
| |
On Sat, 1 May 2004, Andrew Morton wrote: > > Maybe we should change __syscall_return() to return the -ve errno rather > than -1?
Yes. Except we should probably only do this for __KERNEL_SYSCALLS__, since it's possible that somebody is still using this in user space (it pre-glibc people).
So maybe a
#undef __syscall_return #define __syscall_return(type, res) return (type)(res);
inside the __KERNEL_SYSCALLS__ area?
Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |