Re: My patch

From: David Wagner (dawat_private)
Date: Mon Jun 18 2001 - 18:05:38 PDT

  • Next message: Shane Kerr: "Re: New LSM patch for consideration"

    Christopher D. Lundberg wrote:
    >Yup, pretty much.  Our project needs to be able to return specific
    >values (mostly not found/doesn't exist values) when users try certain
    >things.  Sometimes the system logic is correct in denying, but incorrect
    >for our purposes in error messages.  
    
    Wouldn't the following suit your purposes just as well?
      int rv;
      rv = (... kernel's logic ...);
      rv = hook(rv, args, ...);
      if (rv < 0)
        goto out;
    
    _______________________________________________
    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 Jun 18 2001 - 18:08:33 PDT