Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
utmp and wtmp file paths defined by musl point to /dev/null. This patch restores their normal paths. Notes: - musl does not have login() and logout() functions that write utmp and wtmp. - musl has pututline() and related functions, but they are stubs. - for a program to use utmp/wtmp, it needs to write those files directly. - Busybox and Dropbear implement direct write to wtmp. - Busybox implements direct write to utmp too. (Dropbear has a bug.) - there might be concerns about the security and privacy: - OpenWrt is not usually an OS where many persons log into. - If an intruder gains access to wtmp/utmp, it probably already has access to the rest of the system too. Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
- Loading branch information