Re: Utmp/wtmp handling in glibc/libc6
In article <199708010814.KAA22480@hall.phys.uva.nl>,
ir. Mark M._Kettenis <email@example.com> wrote:
>I noticed that Debian is "converting to GNU LIBC 6".
>The GNU C Library will provide a daemon to make sure that both libc5
>and libc6 programs will be able to function correctly and will be
Debian has another, simpler solution for this. Personally, I would
not like yet ANOTHER daemon running on my machine. Read on..
>work it is VERY important that programs linked against libc6 DO NOT
>access /var/run/utmp and /var/log/wtmp directly. Instead they should
>use the functions provided in libc and libutil:
[.. etc ..]
The Debian libc5 for Debian-2.0 converts the libc5 utmp struct to a
libc6 struct internally, and reads/writes that. So the FS interface
is libc6 structs, while the application sees libc5 structs. As long
as they use the library interface, ofcourse.
>header file. Note that updwtmp() is provided in libutil in the
>current release (2.0.4) but has been moved to libc in the development
What about 2.0.5 which will be out soon?
| Miquel van Smoorenburg | |
| firstname.lastname@example.org | Owners of digital watches, your days are numbered. |
| PGP fingerprint: FE 66 52 4F CD 59 A5 36 7F 39 8B 20 F1 D6 74 02 |
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .