Implement shm_open() and shm_unlink(). The shared memory objects are
simply created as files in /boot/var/shared_memory/. The Bootscript clears the directory. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25374 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -57,6 +57,12 @@ exec >/dev/null 2>&1
|
||||
SCRIPTS=beos/system/boot
|
||||
SERVERS=beos/system/servers
|
||||
|
||||
# clean the shared memory dir
|
||||
shmDir=/boot/var/shared_memory
|
||||
rm -rf $shmDir
|
||||
mkdir $shmDir
|
||||
chmod 777 $shmDir
|
||||
|
||||
# Set up the environment
|
||||
|
||||
export SAFEMODE=`/bin/safemode`
|
||||
|
||||
Reference in New Issue
Block a user