|
|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Thu, May 17, 2012 at 8:49 PM, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote: > On Thu, May 17, 2012 at 8:39 PM, H.J. Lu <hjl.tools@xxxxxxxxx> wrote: >> >> That will be wrong. __BITS_PER_LONG defines # bits of long >> as seen by kernel. We don't use it in user space. > > Yes you do. Exactly in that structure that Peter points to. *Exactly* > because that structure uses "long" instead of some fixed size. Which > will be different in user mode than in kernel mode. > > And if user mode doesn't use these headers at all, then we should stop > playing the insane games. > > Linus We need kernel headers for constants used in system calls. But I don't mind if kernel stops exporting data structures to user space. -- H.J. -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Kernel] [Kernel Newbies] [x86 Platform Driver] [Share Photos] [Security] [Netfilter] [Bugtraq] [Linux FS] [Photo] [Yosemite] [Yosemite Discussion] [MIPS Linux] [ARM Linux] [Linux Security] [Linux RAID] [Samba] [Video 4 Linux] [Device Mapper] [Linux Resources]
![]() |