[PATCH] no longer export capability_ops and nproc_ops

From: Chris Wright (chrisat_private)
Date: Wed Nov 07 2001 - 14:26:27 PST

  • Next message: jmjonesat_private: "Re: [PATCH] no longer export capability_ops and nproc_ops"

    Is anyone still using the capabilty_ops directly instead of stacking
    with capability module?
    
    I don't think we need to export capability_ops and nproc_ops any longer.
    
    Thoughts/flames?
    
    -chris
    
    
    ===== security/capability.c 1.75 vs edited =====
    --- 1.75/security/capability.c	Tue Nov  6 00:19:18 2001
    +++ edited/security/capability.c	Wed Nov  7 11:28:21 2001
    @@ -1331,7 +1331,5 @@
     module_init (capability_init);
     module_exit (capability_exit);
     
    -EXPORT_SYMBOL (capability_ops);
    -
     MODULE_DESCRIPTION("Standard Linux Capabilities Security Module");
     MODULE_LICENSE("GPL");
    ===== security/nproc.c 1.7 vs edited =====
    --- 1.7/security/nproc.c	Fri Nov  2 10:35:34 2001
    +++ edited/security/nproc.c	Wed Nov  7 11:28:41 2001
    @@ -1180,8 +1180,6 @@
     module_init (nproc_init);
     module_exit (nproc_exit);
     
    -EXPORT_SYMBOL(nproc_ops);
    -
     MODULE_DESCRIPTION("LSM implementation of the Openwall kernel patch adding RLIMIT_NPROC limitation to execve");
     MODULE_LICENSE("GPL");
     
    ===== security/Makefile 1.10 vs edited =====
    --- 1.10/security/Makefile	Tue Nov  6 00:19:18 2001
    +++ edited/security/Makefile	Wed Nov  7 13:46:34 2001
    @@ -9,7 +9,7 @@
     subdir-$(CONFIG_SECURITY_DTE)		+= dte
     
     # Objects that export symbols
    -export-objs	:= security.o capability.o nproc.o
    +export-objs	:= security.o
     
     # Object file lists
     obj-y		:= security.o dummy.o
    
    _______________________________________________
    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 : Wed Nov 07 2001 - 14:33:37 PST