summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-07-10 20:38:07 +0200
committerLennart Poettering <lennart@poettering.net>2014-07-10 20:38:07 +0200
commit947127ff6230b44623afec3e6aacc85f54168db2 (patch)
treeb0265d0e3bcc7f59ab61e226b79a992105d8bea7 /src
parentbb62fb68f61fac69fa7f2470db943da859844acf (diff)
nss-myhostname: only export the NSS entry point symbols, nothing else
Diffstat (limited to 'src')
-rw-r--r--src/nss-myhostname/nss-myhostname.sym19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/nss-myhostname/nss-myhostname.sym b/src/nss-myhostname/nss-myhostname.sym
new file mode 100644
index 0000000000..dcfc2e4006
--- /dev/null
+++ b/src/nss-myhostname/nss-myhostname.sym
@@ -0,0 +1,19 @@
+/***
+ This file is part of systemd.
+
+ systemd is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+***/
+
+{
+global:
+ _nss_myhostname_gethostbyaddr2_r;
+ _nss_myhostname_gethostbyaddr_r;
+ _nss_myhostname_gethostbyname2_r;
+ _nss_myhostname_gethostbyname3_r;
+ _nss_myhostname_gethostbyname4_r;
+ _nss_myhostname_gethostbyname_r;
+local: *;
+};