lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 15 Jul 2006 23:44:31 +0200
From:	Adrian Bunk <bunk@...sta.de>
To:	Albert Cahalan <acahalan@...il.com>
Cc:	dwmw2@...radead.org, arjan@...radead.org, maillist@...55.com,
	ralf@...ux-mips.org, linux-kernel@...r.kernel.org,
	davem@...emloft.net
Subject: Re: 2.6.18 Headers - Long

On Sat, Jul 15, 2006 at 05:09:28PM -0400, Albert Cahalan wrote:
> David Woodhouse writes:
> 
> >Kernel headers are _not_ a library of random crap for userspace to use.
> 
> The attraction is that the kernel abstractions are very nice.
> Much of the POSIX API sucks ass. The kernel stuff is NOT crap.
> 
> Here we have a full-featured set of atomic ops, byte swapping
> with readable names and a distinction for pointers, nice macros
> for efficient data structure manipulation...
>...

These are _kernel_ headers.

Sure, applications are abusing the kernel headers as userspace library.

But this is wrong, that's not what they are designed for.
Look at the code MySQL uses for including atomic.h and you understand 
what I'm saying.

If stuff from the headers is generally considered useful for userspace, 
someone should simply start a new project containing the small subset of 
the headers containing such stuff cleaned up for userspace.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ