apparmor/utils/test/wtmp-examples/wtmp-aarch64-expected-output
Christian Boltz 255716b90a
Add support for reading s390x and aarch64 wtmp file
Both aarch64 and s390x have a bigger wtmp record size (16 bytes more
than x86_64, 400 bytes total).

The byte position of the timestamp is also different on each
architecture. To make things even more interesting, s390x is big endian.

Fixes: https://bugzilla.opensuse.org/show_bug.cgi?id=1181155
2021-10-24 17:24:43 +02:00

5 lines
207 B
Text

guillaum pts/3 192.168.0.2 Mon Jan 25 08:19 - 09:36 (01:17)
Example and expected output taken from https://bugzilla.opensuse.org/show_bug.cgi?id=1181155
On openSUSE, aarch64 is little endian.