Skip to content

Some utmp symbols still missing on musl #4322

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

Closed
Ecordonnier opened this issue Mar 11, 2025 · 0 comments · Fixed by #4332
Closed

Some utmp symbols still missing on musl #4322

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

Comments

@Ecordonnier
Copy link
Contributor

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 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]>
Ecordonnier added a commit to Ecordonnier/libc that referenced this issue Mar 29, 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 Apr 9, 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]>
tgross35 pushed a commit to tgross35/rust-libc that referenced this issue Apr 11, 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]>

(backport <rust-lang#4332>)
(cherry picked from commit 42ead6d)
tgross35 pushed a commit to tgross35/rust-libc that referenced this issue Apr 11, 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]>

(backport <rust-lang#4332>)
(cherry picked from commit 42ead6d)
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