# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only

# shadowsocks-rust only:
# https://github.com/shadowsocks/shadowsocks-rust

abi <abi/4.0>,

include <tunables/global>

@{exec_path} = @{bin}/ssservice
@{att} = ""
profile ssservice /{,usr/}bin/ssservice flags=(complain) {
  include <abstractions/base-strict>

  @{exec_path} mr,

  include if exists <local/ssservice>
}

# vim:syntax=apparmor
