summary refs log tree commit diff
path: root/login
diff options
context:
space:
mode:
Diffstat (limited to 'login')
-rw-r--r--login/Versions41
-rw-r--r--login/libutil.map7
2 files changed, 41 insertions, 7 deletions
diff --git a/login/Versions b/login/Versions
new file mode 100644
index 0000000000..b7cc90c7da
--- /dev/null
+++ b/login/Versions
@@ -0,0 +1,41 @@
+libc {
+  GLIBC_2.0 {
+    # e*
+    endutent;
+
+    # g*
+    getlogin; getlogin_r; getutent; getutent_r; getutid; getutid_r; getutline;
+    getutline_r;
+
+    # p*
+    pututline;
+
+    # s*
+    setutent;
+
+    # u*
+    updwtmp; utmpname;
+  }
+  GLIBC_2.1 {
+    # e*
+    endutxent;
+
+    # g*
+    getpt; getutxent; getutxid; getutxline; grantpt;
+
+    # p*
+    ptsname; ptsname_r; pututxline;
+
+    # s*
+    setutxent;
+
+    # u*
+    unlockpt; updwtmpx; utmpxname;
+  }
+}
+
+libutil {
+  GLIBC_2.0 {
+    forkpty; login; login_tty; logout; logwtmp; openpty;
+  }
+}
diff --git a/login/libutil.map b/login/libutil.map
deleted file mode 100644
index 3063790dd0..0000000000
--- a/login/libutil.map
+++ /dev/null
@@ -1,7 +0,0 @@
-GLIBC_2.0 {
-  global:
-    forkpty; login; login_tty; logout; logwtmp; openpty;
-
-  local:
-    *;
-};