Tomasz

I am using RTAI which uses the character device called rtai_shm but
I get the picture. Thanks for the help.

Daniel


>From: Tomasz Motylewski <[EMAIL PROTECTED]>
>To: daniel sheltraw <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: Re: [rtl] shared memory and user-space
>Date: Fri, 21 Jul 2000 00:24:13 +0200 (CEST)
>
>On Thu, 20 Jul 2000, daniel sheltraw wrote:
>
> > module. If I execute the user-space program as root all works fine but 
>if I
> > execute it as a user the shared-memory allocation fails. What do I need 
>to
> > do to get this to work?
>
>Create new group "memaccess"
>
>#if you are using mbuff do as root:
>chgrp memaccess /dev/mbuff
>chmod g+rw /dev/mbuff
>
>#else
>#if you get shared memory by mmapping /dev/mem, do as root:
>
>mknod /dev/memmap  c 1 2
>chgrp memaccess /dev/memmap
>chmod g+rw /dev/memmap
>change your program to use /dev/memmap instead of /dev/mem
>
>#else
>#error I do not know how do you get shared memory
>#endif
>#endif
>
>
>add all users which should be able to mmap memory to "memaccess" group. 
>After
>new log-in it should work.
>
>Best regards,
>--
>Tomek
>

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to