Fixed a very bogus bug with the SHM permissions: 700!=0700 ! O_CREAT usually gives an RW access regardless, but add some security patches here, and that will explain a SIGBUS reported recently in ML. git-svn-id: https://dosemu.svn.sourceforge.net/svnroot/dosemu/trunk@1316 7758b857-130e-0410-ab9c-d8735a528d18