diff options
author | Karel Zak | 2007-03-08 23:22:06 +0100 |
---|---|---|
committer | Karel Zak | 2007-03-08 23:22:06 +0100 |
commit | 75d4dbb0d7d7937f0f5f464c3bd803d4191a6c0e (patch) | |
tree | 3f21ab6cdde2f96990ae71100f56ac684bbff27e /login-utils/Makefile.am | |
parent | login: omits PAM account validation when auth is skipped (CVE-2006-7108) (diff) | |
download | kernel-qcow2-util-linux-75d4dbb0d7d7937f0f5f464c3bd803d4191a6c0e.tar.gz kernel-qcow2-util-linux-75d4dbb0d7d7937f0f5f464c3bd803d4191a6c0e.tar.xz kernel-qcow2-util-linux-75d4dbb0d7d7937f0f5f464c3bd803d4191a6c0e.zip |
login: update 32bit utmp correctly on 64bit system
On 64-bit platforms such as x86_64, glibc is usually built with 32-bit
compatibility for various structures. One of them is utmp.
What this means is that gettimeofday(&ut.ut_tv, NULL) on x86_64 will
end up overwriting the first parts of ut_addr_v6, leading to garbage
in the utmp file.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'login-utils/Makefile.am')
0 files changed, 0 insertions, 0 deletions