public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH 0/5] Fixes to AppArmor policy, passt/pasta profile split
@ 2023-09-06 22:35 Stefano Brivio
  2023-09-06 22:35 ` [PATCH 1/5] apparmor: Use abstractions/nameservice to deal with symlinked resolv.conf Stefano Brivio
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Stefano Brivio @ 2023-09-06 22:35 UTC (permalink / raw)
  To: passt-dev; +Cc: Paul Holzinger, David Gibson

These assume that distributions with AppArmor support will install
pasta and pasta.avx2 as hard links, and I prepared matching changes
for the Debian package. This particular aspect is
distribution-specific, so I'm not changing the symlink install from
the Makefile anyway.

Stefano Brivio (5):
  apparmor: Use abstractions/nameservice to deal with symlinked
    resolv.conf
  apparmor: Explicitly pass options we use while remounting root
    filesystem
  apparmor: Allow read-only access to uid_map
  apparmor: Allow pasta to remount /proc, access entries under its own
    copy
  apparmor: Add pasta's own profile

 contrib/apparmor/abstractions/passt |  7 ++++---
 contrib/apparmor/abstractions/pasta |  9 +++++++++
 contrib/apparmor/usr.bin.passt      | 12 ++----------
 contrib/apparmor/usr.bin.pasta      | 27 +++++++++++++++++++++++++++
 4 files changed, 42 insertions(+), 13 deletions(-)
 create mode 100644 contrib/apparmor/usr.bin.pasta

-- 
2.39.2


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-09-06 22:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-06 22:35 [PATCH 0/5] Fixes to AppArmor policy, passt/pasta profile split Stefano Brivio
2023-09-06 22:35 ` [PATCH 1/5] apparmor: Use abstractions/nameservice to deal with symlinked resolv.conf Stefano Brivio
2023-09-06 22:35 ` [PATCH 2/5] apparmor: Explicitly pass options we use while remounting root filesystem Stefano Brivio
2023-09-06 22:35 ` [PATCH 3/5] apparmor: Allow read-only access to uid_map Stefano Brivio
2023-09-06 22:35 ` [PATCH 4/5] apparmor: Allow pasta to remount /proc, access entries under its own copy Stefano Brivio
2023-09-06 22:35 ` [PATCH 5/5] apparmor: Add pasta's own profile Stefano Brivio

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).