Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some utmp symbols still missing on musl #4322

Open
Ecordonnier opened this issue Mar 11, 2025 · 0 comments · May be fixed by #4332
Open

Some utmp symbols still missing on musl #4322

Ecordonnier opened this issue Mar 11, 2025 · 0 comments · May be fixed by #4332
Labels
C-API-request Category: API request

Comments

@Ecordonnier
Copy link

This is a follow-up of #3190

The function utmpxname is missing from the musl implementation ( src/unix/linux_like/linux/musl/mod.rs ), even though this function is implemented (as a stub doing nothing) in musl (see https://git.musl-libc.org/cgit/musl/tree/include/utmpx.h ).

As reference, see this commit which added the function for solaris, as well as the man page: https://linux.die.net/man/3/endutxent

The symbols "libc::__UT_HOSTSIZE", "libc::__UT_LINESIZE", "libc::__UT_NAMESIZE" and "libc::ACCOUNTING" are also missing.

@Ecordonnier Ecordonnier added the C-API-request Category: API request label Mar 11, 2025
Ecordonnier added a commit to Ecordonnier/libc that referenced this issue Mar 15, 2025
@Ecordonnier Ecordonnier linked a pull request Mar 15, 2025 that will close this issue
3 tasks
Ecordonnier added a commit to Ecordonnier/libc that referenced this issue Mar 15, 2025
Ecordonnier added a commit to Ecordonnier/libc that referenced this issue Mar 21, 2025
Ecordonnier added a commit to Ecordonnier/libc that referenced this issue Mar 21, 2025
Ecordonnier added a commit to Ecordonnier/libc that referenced this issue Mar 23, 2025
Close rust-lang#4322

Also add a deprecation warning, because those functions are only implemented as stubs inside musl.

Signed-off-by: Etienne Cordonnier <[email protected]>
Ecordonnier added a commit to Ecordonnier/libc that referenced this issue Mar 23, 2025
Close rust-lang#4322

Also add a deprecation warning, because those functions are only implemented as stubs inside musl.

Signed-off-by: Etienne Cordonnier <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-API-request Category: API request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant