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:
Ingo Weinhold
2008-05-08 13:42:33 +00:00
parent cf1c322756
commit f23d0a6242
3 changed files with 107 additions and 9 deletions
+6
View File
@@ -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`