Re: Is shared memory now only for use by the kernel in 2.3.x????

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Thu Apr 27 2000 - 13:02:55 EST


kenbo@iris.com wrote:
>
> Using 2.3.99pre6-6, I noticed that SHMMAX has been moved to linux/shm.h and
> that this file is only useable if you have __KERNEL__ defined, otherwise
> the headers it includes basically blow up due to symbols such as kdev_t not
> getting defined. Was this on purpose? If not, maybe we can fix this,
> because otherwise app builders using shared memory and trying to honor
> system boundaries are going to have some problems.

Do not use kernel headers directly in userspace programs.

        Jeff

-- 
Jeff Garzik              | Nothing cures insomnia like the
Building 1024            | realization that it's time to get up.
MandrakeSoft, Inc.       |        -- random fortune

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



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:13 EST