Re: quotactl hook

From: Stephen Smalley (sdsat_private)
Date: Mon Aug 27 2001 - 06:57:25 PDT

  • Next message: Chris Vance: "[patch] IPC/Message Queues"

    On Mon, 27 Aug 2001, Lachlan McIlroy wrote:
    
    > Attached is a patch to add a hook to the quotactl()
    > system call.  The hook has been made authoritative as
    > that seems to be the direction that LSM is heading.  Any
    > feedback/opinions/comments would be greatly appreciated...
    
    Why not pass the 'id' parameter as well, so that the module
    can perform access control on the particular user or group
    identity?  Also, why not pass the 'sb' parameter (although
    the module would need to be careful, because it may be NULL)
    so that the module can perform access control based on
    the particular file system?  Finally, it would be nice to
    also have a hook in quota_on after the filp_open so that
    the module can control what files are used as quota files.
    
    --
    Stephen D. Smalley, NAI Labs
    ssmalleyat_private
    
    
    
    
    
    
    _______________________________________________
    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 : Mon Aug 27 2001 - 06:58:32 PDT