lkml.org 
[lkml]   [2003]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Recent changes to sysctl.h breaks glibc
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.057 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site