mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: __KERNEL__ removal
@ 2001-07-14 23:10 Rick Hohensee
  2001-07-14 23:26 ` Alexander Viro
  0 siblings, 1 reply; 9+ messages in thread
From: Rick Hohensee @ 2001-07-14 23:10 UTC (permalink / raw)
  To: linux-kernel

>Jeff Garzik
>If there -must- be parts of the kernel that are visible to userspace,
>yes, we should separate them and make that separation obvious.  I would
>not call our current setup obvious :)


There are. -must-. Plan 9 minimizes them. It ain't POSIX, I'm guessing,
never having seen a POSIX in real life myself. I do happen to have K&R2
right here though. Hmmm, unistd.h is not in the 89 spec. Well of course
not. It's not C. You need need need that (which is why I did libsys.a),
and I think Plan 9 has a thing that lays out calling conventions for
syscalls, and some other things about the local CPU. Actually, Plan 9 lays
out lots of CPUs, being heterogenously distributed. That's where I get
dizzy, and start to wax unix-traditional. With all my twisted antics, I've
never cross-compiled anything. You also need ioctls for userland probably,
which Plan 9 either doesn't have or they actually figured out how to hide
them.

There's also a level below unistd.h maybe. A libcpu or something. Dono.

Rick Hohensee
		www.clienux.com

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: (patch-2.4.6) Fix oops with Iomega Clik! (ide-floppy)
  2001-07-14 17:33 ` Alan Cox
@ 2001-07-14 17:38 Jeff Garzik
  2001-07-14 17:33 ` Alan Cox
  0 siblings, 1 reply; 9+ messages in thread
From: Jeff Garzik @ 2001-07-14 17:38 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel, torvalds

Alan Cox wrote:
> Jeff Garzik wrote:
> > it would be nice to remove __KERNEL__ from at least the i386
> > kernel headers in 2.5, and I think it's a doable task...
> 
> That just generates work for the glibc folks when they are working off copies
> of kernel header snapshots as they need to

It is a flag day change so it generates [a lot of] work once... it has
always been policy that userspace shouldn't be including kernel
headers.  uClibc and now dietlibc are following this policy.

IMHO we have made an exception for glibc for long enough...

-- 
Jeff Garzik      | A recent study has shown that too much soup
Building 1024    | can cause malaise in laboratory mice.
MandrakeSoft     |

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2001-07-16  9:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-14 23:10 __KERNEL__ removal Rick Hohensee
2001-07-14 23:26 ` Alexander Viro
  -- strict thread matches above, loose matches on Subject: below --
2001-07-14 17:38 (patch-2.4.6) Fix oops with Iomega Clik! (ide-floppy) Jeff Garzik
2001-07-14 17:33 ` Alan Cox
2001-07-14 18:04   ` __KERNEL__ removal Jonathan Lundell
2001-07-14 18:19     ` Jeff Garzik
2001-07-14 18:30       ` Mo McKinlay
2001-07-15 11:53     ` Kai Henningsen
2001-07-15 13:12       ` Chris Wedgwood
2001-07-15 14:21       ` Horst von Brand
2001-07-16  9:16         ` Chris Wedgwood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®