Gentoo Archives: gentoo-user

From: Martins Steinbergs <mar@××.lv>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] shared memory
Date: Tue, 23 Aug 2005 16:38:52
Message-Id: 200508231929.41784.mar@ml.lv
In Reply to: Re: [gentoo-user] shared memory by Jonas Geiregat
1 defaults was there for ages and it worked until recent. I'm not sure is it
2 good idea, but changed it to users and got things working. will add noexec,
3 rw as you sudgest.
4
5 thanx
6
7 Martins
8
9
10 On Tuesday 23 August 2005 20:40, Jonas Geiregat wrote:
11 > Martins Steinbergs wrote:
12 > >fstab has entry:
13 > >none /dev/shm defaults 0 0
14 >
15 > First and for all change defaults to noexec,rw , why would you want
16 > anyone to be able to execute anything in a volatile fs ?
17 > Second /dev/shm is `as far as I know` only added to be compatible with
18 > glibc2.2 and above so the POSIX shm_open and shm_unlink can be used, try
19 > running
20 > touch /dev/shm/foo
21 > if this works then nothing is wrong with /dev/shm or any related
22 > settings , I think ..
23 --
24 gentoo-user@g.o mailing list