glibc/login/Versions
Florian Weimer 734c60ebb6 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>
2021-06-30 08:43:37 +02:00

72 lines
943 B
Plaintext

libc {
GLIBC_2.0 {
# e*
endutent;
# g*
getlogin; getlogin_r; getutent; getutent_r; getutid; getutid_r; getutline;
getutline_r;
# p*
pututline;
# s*
setlogin;
setutent;
# u*
updwtmp; utmpname;
# Symbols formerly in libutil.
forkpty;
login;
login_tty;
logout;
logwtmp;
openpty;
}
GLIBC_2.1 {
# e*
endutxent;
# g*
getpt; getutxent; getutxid; getutxline; grantpt;
# p*
ptsname; ptsname_r; pututxline;
# s*
setutxent;
# u*
unlockpt; updwtmpx; utmpxname;
}
GLIBC_2.1.1 {
# g*
getutmpx; getutmp;
}
GLIBC_2.2.1 {
# p*
posix_openpt;
}
GLIBC_2.4 {
__getlogin_r_chk;
__ptsname_r_chk;
}
GLIBC_2.34 {
# Symbols formerly in libutil.
forkpty;
login;
login_tty;
logout;
logwtmp;
openpty;
}
}
libutil {
GLIBC_2.0 {
__libutil_version_placeholder;
}
}