[PATCH] shm_close hook

From: Emily Ratliff (ratliffat_private)
Date: Fri Jan 11 2002 - 16:45:48 PST

  • Next message: Emily Ratliff: "shm_close hook"

    Hi,
    
    I've attached a patch for you all to consider. The patch adds a hook to 
    shm_close() in ipc/shm.c and updates the example modules.
    
    The SECURE_SHM part of the OpenWall module needs this in order to destroy 
    the shared memory segment when the last attached process closes it. This 
    particular usage of the hook changes the way that shared memory works, 
    but, as Seth pointed out, having control over when shared memory segments 
    become unused could be useful for containment.
    
    BTW, many thanks to Chris for answering 101 questions on IRC.
    
    Any objections to a new hook?
    
    Thanks,
    
    Emily
    
    -- 
    Emily Ratliff
    IBM Linux Technology Center, Security
    
    
    

    _______________________________________________ linux-security-module mailing list linux-security-moduleat_private http://mail.wirex.com/mailman/listinfo/linux-security-module



    This archive was generated by hypermail 2b30 : Fri Jan 11 2002 - 18:24:21 PST