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/mips | |
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/mips')
6 files changed, 50 insertions, 12 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist index ea5fee313d..1ff01ce150 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist @@ -492,6 +492,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 @@ -750,6 +751,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 @@ -829,6 +834,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 @@ -2484,8 +2490,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 @@ -2502,6 +2513,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/mips/mips32/libutil.abilist b/sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist index aa2d35b323..3d51141483 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips32/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/mips/mips32/nofpu/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist index 5f20e5f3fc..104d8cbc02 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist @@ -492,6 +492,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 @@ -750,6 +751,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 @@ -829,6 +834,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 @@ -2482,8 +2488,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 @@ -2500,6 +2511,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/mips/mips64/libutil.abilist b/sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist index aa2d35b323..3d51141483 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips64/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/mips/mips64/n32/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist index f3c9081242..6285d3c8f8 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist @@ -492,6 +492,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 @@ -750,6 +751,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 @@ -829,6 +834,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 @@ -2490,8 +2496,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 @@ -2508,6 +2519,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/mips/mips64/n64/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist index 2e10c747a2..6a4c1816d4 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist @@ -490,6 +490,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 @@ -748,6 +749,10 @@ GLIBC_2.0 localtime F GLIBC_2.0 localtime_r F GLIBC_2.0 lockf F GLIBC_2.0 locs D 0x8 +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 @@ -827,6 +832,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 0x8 GLIBC_2.0 opterr D 0x4 GLIBC_2.0 optind D 0x4 @@ -2403,8 +2409,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 @@ -2421,6 +2432,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 |