Re: [RFC] No more module_* hooks

From: Greg KH (gregat_private)
Date: Thu Sep 26 2002 - 16:42:56 PDT

  • Next message: dlambrouat_private: "module_* hooks"

    # This is a BitKeeper generated patch for the following project:
    # Project Name: Linux Security Module
    # This patch format is intended for GNU patch command version 2.5 or higher.
    # This patch includes the following deltas:
    #	           ChangeSet	1.509   -> 1.510  
    #	     kernel/module.c	1.24    -> 1.25   
    #
    # The following is the BitKeeper ChangeSet Log
    # --------------------------------------------
    # 02/09/26	gregat_private	1.510
    # put kernel/module.c back to the way it was before we touched it.
    # --------------------------------------------
    #
    diff -Nru a/kernel/module.c b/kernel/module.c
    --- a/kernel/module.c	Thu Sep 26 16:39:31 2002
    +++ b/kernel/module.c	Thu Sep 26 16:39:31 2002
    @@ -313,7 +313,6 @@
     		error = -EEXIST;
     		goto err1;
     	}
    -
     	if ((mod = (struct module *)module_map(size)) == NULL) {
     		error = -ENOMEM;
     		goto err1;
    @@ -500,8 +499,6 @@
     		error = -EFAULT;
     		goto err3;
     	}
    -
    -	error = -EINVAL;
     
     	if (module_arch_init(mod))
     		goto err3;
    _______________________________________________
    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 : Thu Sep 26 2002 - 16:47:32 PDT