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

  • Next message: Jim Mostek: "Re: Source code for Linux XFS now available!"

    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 : Sat Apr 01 2000 - 09:09:17 EST