Add scrcpy.
This commit is contained in:
parent
8d5e0fc37c
commit
e437fe3a57
2 changed files with 32 additions and 0 deletions
31
apparmor.d/profiles-s-z/scrcpy
Normal file
31
apparmor.d/profiles-s-z/scrcpy
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
# apparmor.d - Full set of apparmor profiles
|
||||||
|
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
abi <abi/3.0>,
|
||||||
|
|
||||||
|
include <tunables/global>
|
||||||
|
|
||||||
|
@{exec_path} = /{usr/,}bin/scrcpy
|
||||||
|
profile scrcpy @{exec_path} {
|
||||||
|
include <abstractions/base>
|
||||||
|
include <abstractions/dri-common>
|
||||||
|
include <abstractions/dri-enumerate>
|
||||||
|
include <abstractions/mesa>
|
||||||
|
|
||||||
|
network inet stream,
|
||||||
|
network inet6 stream,
|
||||||
|
|
||||||
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
/{usr/,}bin/adb rix,
|
||||||
|
|
||||||
|
/usr/share/scrcpy/{,*} r,
|
||||||
|
/usr/share/icons/**/scrcpy.png r,
|
||||||
|
|
||||||
|
/var/lib/dbus/machine-id r,
|
||||||
|
|
||||||
|
owner @{user_config_dirs}/ibus/bus/{,[0-9a-f]*-unix-wayland-[0-9]} r,
|
||||||
|
|
||||||
|
include if exists <local/scrcpy>
|
||||||
|
}
|
||||||
|
|
@ -92,6 +92,7 @@ resolvconf complain
|
||||||
run-parts complain
|
run-parts complain
|
||||||
runuser complain
|
runuser complain
|
||||||
s3fs complain
|
s3fs complain
|
||||||
|
scrcpy complain
|
||||||
slirp4netns attach_disconnected,complain
|
slirp4netns attach_disconnected,complain
|
||||||
spice-client-glib-usb-acl-helper complain
|
spice-client-glib-usb-acl-helper complain
|
||||||
ssh complain
|
ssh complain
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue