lkml.org 
[lkml]   [2008]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: asm-x86/byteorder.h, CONFIG_X86_BSWAP leaks to userland
Arjan van de Ven wrote:
\>
> It is also not the kernels job to provide this sort of functionality to
> userspace programs. At all. This is gcc/glibc/etc's job.
>
> Rule of thumb: the kernel does not provide code for compiling inside
> userspace programs.
>
> (As opposed to providing datastructures that userspace programs can use
> to talk to the kernel).
>

That's a fine rule of thumb, but we have 17 years of legacy to deal with
here, too.

-hpa



\
 
 \ /
  Last update: 2008-07-26 20:25    [W:0.045 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site