[PATCH] shm free security call

From: Chris Vance (cvanceat_private)
Date: Tue Sep 11 2001 - 04:54:16 PDT

  • Next message: Stephen Smalley: "[PATCH] Moving mount-related hooks into sb_ops"

    For some reason, this call never made it into the tree.  The documentation
    (process) really does seem to be helping!
    
    chris.
    
    --- lsm-wirex/ipc/shm.c	Thu Sep  6 14:59:20 2001
    +++ lsm/ipc/shm.c	Mon Sep 10 15:54:00 2001
    @@ -110,6 +110,9 @@
     {
     	shm_tot -= (shp->shm_segsz + PAGE_SIZE - 1) >> PAGE_SHIFT;
     	shm_rmid (shp->id);
    +
    +	security_ops->shm_ops->free_security(shp);
    +
     	shmem_lock(shp->shm_file, 0);
     	fput (shp->shm_file);
     	kfree (shp);
    
    
    
    
    _______________________________________________
    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 : Tue Sep 11 2001 - 04:56:31 PDT