From 734c60ebb607086ad6d67b2544d6b7baba72a652 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 30 Jun 2021 07:21:14 +0200 Subject: login: Move libutil into libc The symbols forkpty, login, login_tty, logout, logwtmp, openpty were moved using scripts/move-symbol-to-libc.py. This is a single commit because most of the symbols are tied together via forkpty, for example. Several changes to use hidden prototypes are needed. This commit also updates pseudoterminal terminology on modified lines. For 390 (31-bit), this commit follows the existing style for the compat symbol version creation. Reviewed-by: Adhemerval Zanella --- sysdeps/mach/hurd/i386/libc.abilist | 12 ++++++++++++ sysdeps/mach/hurd/i386/libutil.abilist | 7 +------ 2 files changed, 13 insertions(+), 6 deletions(-) (limited to 'sysdeps/mach') diff --git a/sysdeps/mach/hurd/i386/libc.abilist b/sysdeps/mach/hurd/i386/libc.abilist index 120131a768..fcfe64f26b 100644 --- a/sysdeps/mach/hurd/i386/libc.abilist +++ b/sysdeps/mach/hurd/i386/libc.abilist @@ -863,6 +863,7 @@ GLIBC_2.2.6 fopen64 F GLIBC_2.2.6 fopencookie F GLIBC_2.2.6 fopenport F GLIBC_2.2.6 fork F +GLIBC_2.2.6 forkpty F GLIBC_2.2.6 fpathconf F GLIBC_2.2.6 fprintf F GLIBC_2.2.6 fputc F @@ -1215,6 +1216,10 @@ GLIBC_2.2.6 localtime_r F GLIBC_2.2.6 lockf F GLIBC_2.2.6 lockf64 F GLIBC_2.2.6 locs D 0x4 +GLIBC_2.2.6 login F +GLIBC_2.2.6 login_tty F +GLIBC_2.2.6 logout F +GLIBC_2.2.6 logwtmp F GLIBC_2.2.6 longjmp F GLIBC_2.2.6 lrand48 F GLIBC_2.2.6 lrand48_r F @@ -1337,6 +1342,7 @@ GLIBC_2.2.6 open_memstream F GLIBC_2.2.6 opendir F GLIBC_2.2.6 openlog F GLIBC_2.2.6 openport F +GLIBC_2.2.6 openpty F GLIBC_2.2.6 optarg D 0x4 GLIBC_2.2.6 opterr D 0x4 GLIBC_2.2.6 optind D 0x4 @@ -2229,6 +2235,12 @@ GLIBC_2.34 dlopen F GLIBC_2.34 dlsym F GLIBC_2.34 dlvsym F GLIBC_2.34 execveat F +GLIBC_2.34 forkpty F +GLIBC_2.34 login F +GLIBC_2.34 login_tty F +GLIBC_2.34 logout F +GLIBC_2.34 logwtmp F +GLIBC_2.34 openpty F GLIBC_2.34 shm_open F GLIBC_2.34 shm_unlink F GLIBC_2.34 timespec_getres F diff --git a/sysdeps/mach/hurd/i386/libutil.abilist b/sysdeps/mach/hurd/i386/libutil.abilist index 1dd59e0afb..0196d40e56 100644 --- a/sysdeps/mach/hurd/i386/libutil.abilist +++ b/sysdeps/mach/hurd/i386/libutil.abilist @@ -1,6 +1 @@ -GLIBC_2.2.6 forkpty F -GLIBC_2.2.6 login F -GLIBC_2.2.6 login_tty F -GLIBC_2.2.6 logout F -GLIBC_2.2.6 logwtmp F -GLIBC_2.2.6 openpty F +GLIBC_2.2.6 __libutil_version_placeholder F -- cgit 1.4.1