shm fs fixes against 2.3.99-pre3

From: Christoph Rohland (hans-christoph.rohland@sap.com)
Date: Sat Apr 01 2000 - 09:04:10 EST


Hi Linus,

The attached patch fixes the following problems:
1) we have to raise the capabilties in shm_remove_name for the
   process, since some unpriviledged process could be the last
   attachee. sys_shmctl did the permission check already.
2) There was a _big_ memory hole in the truncate logic. shm_free did
   not free the actual pages (shame on me). I cleaned up the logic and
   names of the alloc/free routines.

Greetings
                Christoph

-- 


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:07 EST