public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
23ff1cecfeeb9ecc21a5497f3671a927d9f5b530 blob 899 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 
# SPDX-License-Identifier: GPL-2.0-or-later
#
# PASST - Plug A Simple Socket Transport
#  for qemu/UNIX domain socket mode
#
# PASTA - Pack A Subtle Tap Abstraction
#  for network namespace/tap device mode
#
# contrib/apparmor/usr.bin.passt-repair - AppArmor profile for passt-repair(1)
#
# Copyright (c) 2025 Red Hat GmbH
# Author: Stefano Brivio <sbrivio@redhat.com>

abi <abi/4.0>,

#include <tunables/global>

profile passt-repair /usr/bin/passt-repair {
  #include <abstractions/base>
  /** rw,			# passt's ".repair" socket might be anywhere
  unix (connect, receive, send) type=stream,

  capability dac_override,	# connect to passt's socket as root
  capability net_admin,		# currently needed for TCP_REPAIR socket option
  capability net_raw,		# what TCP_REPAIR should require instead

  network unix stream,		# connect and use UNIX domain socket
  network inet stream,		# use TCP sockets
}
debug log:

solving 23ff1ce ...
found 23ff1ce in https://archives.passt.top/passt-dev/20260110151430.3668869-1-sbrivio@redhat.com/
found 901189d in https://passt.top/passt
preparing index
index prepared:
100644 901189d75824b8dde703f5fd1ca5d4767b53baf8	contrib/apparmor/usr.bin.passt-repair

applying [1/1] https://archives.passt.top/passt-dev/20260110151430.3668869-1-sbrivio@redhat.com/
diff --git a/contrib/apparmor/usr.bin.passt-repair b/contrib/apparmor/usr.bin.passt-repair
index 901189d..23ff1ce 100644

Checking patch contrib/apparmor/usr.bin.passt-repair...
Applied patch contrib/apparmor/usr.bin.passt-repair cleanly.

index at:
100644 23ff1cecfeeb9ecc21a5497f3671a927d9f5b530	contrib/apparmor/usr.bin.passt-repair

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).