diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-06-30 07:21:14 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-06-30 08:43:37 +0200 |
commit | 734c60ebb607086ad6d67b2544d6b7baba72a652 (patch) | |
tree | 3d0480b60b81da20b51df998f6585feeb85a8d14 /sysdeps/unix/sysv/linux/powerpc/powerpc32 | |
parent | 98164ba55d01dfe517a71cbc5538ff1f5dc563d6 (diff) | |
download | glibc-734c60ebb607086ad6d67b2544d6b7baba72a652.tar.gz glibc-734c60ebb607086ad6d67b2544d6b7baba72a652.tar.xz glibc-734c60ebb607086ad6d67b2544d6b7baba72a652.zip |
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 <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/powerpc32')
3 files changed, 25 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist index 229731b575..46a5759c0a 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist @@ -503,6 +503,7 @@ GLIBC_2.0 fnmatch F GLIBC_2.0 fopen F GLIBC_2.0 fopencookie F GLIBC_2.0 fork F +GLIBC_2.0 forkpty F GLIBC_2.0 fpathconf F GLIBC_2.0 fprintf F GLIBC_2.0 fputc F @@ -761,6 +762,10 @@ GLIBC_2.0 localtime F GLIBC_2.0 localtime_r F GLIBC_2.0 lockf F GLIBC_2.0 locs D 0x4 +GLIBC_2.0 login F +GLIBC_2.0 login_tty F +GLIBC_2.0 logout F +GLIBC_2.0 logwtmp F GLIBC_2.0 longjmp F GLIBC_2.0 lrand48 F GLIBC_2.0 lrand48_r F @@ -840,6 +845,7 @@ GLIBC_2.0 open F GLIBC_2.0 open_memstream F GLIBC_2.0 opendir F GLIBC_2.0 openlog F +GLIBC_2.0 openpty F GLIBC_2.0 optarg D 0x4 GLIBC_2.0 opterr D 0x4 GLIBC_2.0 optind D 0x4 @@ -2546,8 +2552,13 @@ 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 lio_listio F GLIBC_2.34 lio_listio64 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 mq_close F GLIBC_2.34 mq_getattr F GLIBC_2.34 mq_notify F @@ -2564,6 +2575,7 @@ GLIBC_2.34 mtx_lock F GLIBC_2.34 mtx_timedlock F GLIBC_2.34 mtx_trylock F GLIBC_2.34 mtx_unlock F +GLIBC_2.34 openpty F GLIBC_2.34 pthread_attr_getaffinity_np F GLIBC_2.34 pthread_attr_getguardsize F GLIBC_2.34 pthread_attr_getstack F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist index aa2d35b323..3d51141483 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist @@ -1,6 +1 @@ -GLIBC_2.0 forkpty F -GLIBC_2.0 login F -GLIBC_2.0 login_tty F -GLIBC_2.0 logout F -GLIBC_2.0 logwtmp F -GLIBC_2.0 openpty F +GLIBC_2.0 __libutil_version_placeholder F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist index 8b3bdc0909..10ac038d7c 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist @@ -503,6 +503,7 @@ GLIBC_2.0 fnmatch F GLIBC_2.0 fopen F GLIBC_2.0 fopencookie F GLIBC_2.0 fork F +GLIBC_2.0 forkpty F GLIBC_2.0 fpathconf F GLIBC_2.0 fprintf F GLIBC_2.0 fputc F @@ -761,6 +762,10 @@ GLIBC_2.0 localtime F GLIBC_2.0 localtime_r F GLIBC_2.0 lockf F GLIBC_2.0 locs D 0x4 +GLIBC_2.0 login F +GLIBC_2.0 login_tty F +GLIBC_2.0 logout F +GLIBC_2.0 logwtmp F GLIBC_2.0 longjmp F GLIBC_2.0 lrand48 F GLIBC_2.0 lrand48_r F @@ -840,6 +845,7 @@ GLIBC_2.0 open F GLIBC_2.0 open_memstream F GLIBC_2.0 opendir F GLIBC_2.0 openlog F +GLIBC_2.0 openpty F GLIBC_2.0 optarg D 0x4 GLIBC_2.0 opterr D 0x4 GLIBC_2.0 optind D 0x4 @@ -2579,8 +2585,13 @@ 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 lio_listio F GLIBC_2.34 lio_listio64 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 mq_close F GLIBC_2.34 mq_getattr F GLIBC_2.34 mq_notify F @@ -2597,6 +2608,7 @@ GLIBC_2.34 mtx_lock F GLIBC_2.34 mtx_timedlock F GLIBC_2.34 mtx_trylock F GLIBC_2.34 mtx_unlock F +GLIBC_2.34 openpty F GLIBC_2.34 pthread_attr_getaffinity_np F GLIBC_2.34 pthread_attr_getguardsize F GLIBC_2.34 pthread_attr_getstack F |