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

Jeff Garzik (jgarzik@mandrakesoft.com)
Thu, 27 Apr 2000 14:02:55 -0400


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/