Messages in this thread | | | From | "H. Peter Anvin" <> | Subject | Re: Recent changes to sysctl.h breaks glibc | Date | 20 May 2003 15:10:08 -0700 |
| |
Followup to: <200305200111.h4K1BJPc026622@turing-police.cc.vt.edu> By author: Valdis.Kletnieks@vt.edu In newsgroup: linux.dev.kernel > > > For a lot of system calls it is actively dangerous to assume dev_t == > > __kernel_dev_t. As glibc does some cute things in there. > > I thought that sort of fun and games was *WHY* userspace can't use the > kernel headers in the first place? >
Indeed. Because they try to export dev_t, not __kernel_dev_t (unless you know exactly what you're doing, which most people don't.)
dev_t should be defined by the library ABI, not by the kernel ABI.
-hpa -- <hpa@transmeta.com> at work, <hpa@zytor.com> in private! "Unix gives you enough rope to shoot yourself in the foot." Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64 - 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/
| |