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/x86_64/64 | |
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/x86_64/64')
-rw-r--r-- | sysdeps/unix/sysv/linux/x86_64/64/libc.abilist | 12 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist | 7 |
2 files changed, 13 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist b/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist index 63a7bc8388..0d98e85292 100644 --- a/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist +++ b/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist @@ -816,6 +816,7 @@ GLIBC_2.2.5 fopen F GLIBC_2.2.5 fopen64 F GLIBC_2.2.5 fopencookie F GLIBC_2.2.5 fork F +GLIBC_2.2.5 forkpty F GLIBC_2.2.5 fpathconf F GLIBC_2.2.5 fprintf F GLIBC_2.2.5 fputc F @@ -1152,6 +1153,10 @@ GLIBC_2.2.5 localtime_r F GLIBC_2.2.5 lockf F GLIBC_2.2.5 lockf64 F GLIBC_2.2.5 locs D 0x8 +GLIBC_2.2.5 login F +GLIBC_2.2.5 login_tty F +GLIBC_2.2.5 logout F +GLIBC_2.2.5 logwtmp F GLIBC_2.2.5 longjmp F GLIBC_2.2.5 lrand48 F GLIBC_2.2.5 lrand48_r F @@ -1252,6 +1257,7 @@ GLIBC_2.2.5 open64 F GLIBC_2.2.5 open_memstream F GLIBC_2.2.5 opendir F GLIBC_2.2.5 openlog F +GLIBC_2.2.5 openpty F GLIBC_2.2.5 optarg D 0x8 GLIBC_2.2.5 opterr D 0x4 GLIBC_2.2.5 optind D 0x4 @@ -2331,8 +2337,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 @@ -2349,6 +2360,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/x86_64/64/libutil.abilist b/sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist index 1356ed4115..d2f5c42d0b 100644 --- a/sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist +++ b/sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist @@ -1,6 +1 @@ -GLIBC_2.2.5 forkpty F -GLIBC_2.2.5 login F -GLIBC_2.2.5 login_tty F -GLIBC_2.2.5 logout F -GLIBC_2.2.5 logwtmp F -GLIBC_2.2.5 openpty F +GLIBC_2.2.5 __libutil_version_placeholder F |