Public bug reported:

Binary package hint: realtime-lsm-source

Hello,

realtime-lsm hasn't been converted from MODULE_PARM to module_param.
This patch takes care of that and restores its ability to be compiled.

--- realcap.c.orig      2004-05-10 19:54:16.000000000 -0400
+++ realcap.c   2006-11-04 23:45:49.000000000 -0500
@@ -33,19 +33,19 @@
 
 /* module parameters */
 static int any = 0;                    /* if TRUE, any process is realtime */
-MODULE_PARM(any, "i");
+module_param(any, int, 0444);
 MODULE_PARM_DESC(any, " grant realtime privileges to any process.");
 
 static int gid = -1;                   /* realtime group id, or NO_GROUP */
-MODULE_PARM(gid, "i");
+module_param(gid, int, 0444);
 MODULE_PARM_DESC(gid, " the group ID with access to realtime privileges.");
 
 static int mlock = 1;                  /* enable mlock() privileges */
-MODULE_PARM(mlock, "i");
+module_param(mlock, int, 0444);
 MODULE_PARM_DESC(mlock, " enable memory locking privileges.");
 
 static int allcaps = 0;                        /* enable all capabilities */
-MODULE_PARM(allcaps, "i");
+module_param(allcaps, int, 0444);
 MODULE_PARM_DESC(allcaps, " enable all capabilities, including CAP_SETPCAP.");
 
 static kernel_cap_t cap_bset_save;     /* place to save cap-bound */

** Affects: realtime-lsm (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
[PATCH] Fix compile error in realtime-lsm-source
https://launchpad.net/bugs/70369

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to