1. 27 Jan, 2022 10 commits
  2. 26 Jan, 2022 1 commit
    • Georgia Garcia's avatar
      tests: add built test files to gitignore · c0ee4a9a
      Georgia Garcia authored
      
      
      The following files generated during the build were not ignored by git:
        aa_policy_cache
        at_secure
        dbus_common.o
        dbus_eavesdrop
        dbus_message
        dbus_service
        dbus_unrequested_reply
        fd_inheritance
        fd_inheritor
        introspect
        pivot_root
        query_label
        socketpair
        syscall_ioperm
        syscall_iopl
        transition
        unix_socket
        unix_socket_client
        unix_socket_common.o
        uservars.inc
        xattrs_profile
      Signed-off-by: Georgia Garcia's avatarGeorgia Garcia <georgia.garcia@canonical.com>
      c0ee4a9a
  3. 21 Jan, 2022 1 commit
  4. 20 Jan, 2022 1 commit
  5. 18 Jan, 2022 1 commit
  6. 17 Jan, 2022 2 commits
  7. 06 Jan, 2022 1 commit
  8. 05 Jan, 2022 1 commit
  9. 20 Dec, 2021 2 commits
  10. 19 Dec, 2021 1 commit
  11. 14 Dec, 2021 1 commit
  12. 13 Dec, 2021 1 commit
  13. 11 Dec, 2021 1 commit
    • Christian Boltz's avatar
      Change 'aa' from hasher to dict · 32acb228
      Christian Boltz authored
      If there's still some code left that tries to access an uninitialized
      item in 'aa' (reading or writing), this will result in a very visible
      crash instead of silently seeming to work.
      
      Testing shows that we seem to correctly initialize each item in 'aa' (no
      crashes), therefore let's hope the best ;-)
      32acb228
  14. 07 Dec, 2021 1 commit
  15. 05 Dec, 2021 1 commit
  16. 04 Dec, 2021 2 commits
  17. 11 Nov, 2021 1 commit
  18. 08 Nov, 2021 1 commit
    • John Johansen's avatar
      Merge Add support for reading s390x and aarch64 wtmp file · ca276d2b
      John Johansen authored
      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.
      
      Note that this MR includes more things, like
      * moving `get_last_login_timestamp()` to the new `apparmor/notify.py` file
      * add unit tests for it
      * add wtmp example files from various architectures, including a hand-edited one claiming to be from 1999
      * fixing a bug in `get_last_login_timestamp()` that unpacked `type` from too many bytes - which accidently worked on x86_64
      * detecting from which architecture the wtmp file comes (luckily the timestamps are located at different locations)
      
      See the individual commits for details.
      
      Fixes: https://bugzilla.opensuse.org/show_bug.cgi?id=1181155
      MR: !809
      
      Acked-by: default avatarJohn Johansen <john.johansen@canonical.com>
      ca276d2b
  19. 30 Oct, 2021 1 commit
  20. 26 Oct, 2021 1 commit
  21. 24 Oct, 2021 6 commits
  22. 20 Oct, 2021 1 commit
  23. 18 Oct, 2021 1 commit