lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Tue,  5 Dec 2017 20:05:43 +0530
From:   Hareesh Gundu <hareeshg@...eaurora.org>
To:     Linus Torvalds <torvalds@...ux-foundation.org>,
        Steven Rostedt <rostedt@...dmis.org>,
        Mel Gorman <mgorman@...e.de>
Cc:     efault@....de, peterz@...radead.org, tglx@...utronix.de,
        linux-kernel@...r.kernel.org, hareeshg@...eaurora.org
Subject: [PATCH] lib/plist.c: Export plist_*() APIs

Allow plist_add(), plist_del() and plist_requeue() APIs to
be referenced by kernel modules by adding the EXPORT_SYMBOL().

Signed-off-by: Hareesh Gundu <hareeshg@...eaurora.org>
---
 lib/plist.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/plist.c b/lib/plist.c
index 199408f..6109b75 100644
--- a/lib/plist.c
+++ b/lib/plist.c
@@ -103,6 +103,7 @@ void plist_add(struct plist_node *node, struct plist_head *head)
 
 	plist_check_head(head);
 }
+EXPORT_SYMBOL(plist_add);
 
 /**
  * plist_del - Remove a @node from plist.
@@ -132,6 +133,7 @@ void plist_del(struct plist_node *node, struct plist_head *head)
 
 	plist_check_head(head);
 }
+EXPORT_SYMBOL(plist_del);
 
 /**
  * plist_requeue - Requeue @node at end of same-prio entries.
@@ -172,6 +174,7 @@ void plist_requeue(struct plist_node *node, struct plist_head *head)
 
 	plist_check_head(head);
 }
+EXPORT_SYMBOL(plist_requeue);
 
 #ifdef CONFIG_DEBUG_PI_LIST
 #include <linux/sched.h>
-- 
1.9.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ