aboutsummaryrefslogtreecommitdiff
path: root/straper/db/public/apparmor/apparmor.d/abstractions/samba-rpcd
blob: fca361a17dcdcb3917c0fbfafd0df3b6042ed1c0 (plain) (blame)
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
30
# ------------------------------------------------------------------
#
#    Copyright (C) 2022 SUSE LLC
#
#    This program is free software; you can redistribute it and/or
#    modify it under the terms of version 2 of the GNU General Public
#    License published by the Free Software Foundation.
#
# ------------------------------------------------------------------
# vim:syntax=apparmor

# This file contains basic permissions for samba rpcd_xyz services

  abi <abi/4.0>,

  include <abstractions/base>
  include <abstractions/nameservice>
  include <abstractions/samba>

  capability setgid,
  capability setuid,

  signal receive set=term peer=smbd,

  @{PROC}/sys/kernel/core_pattern r,
  owner @{PROC}/@{pid}/fd/ r,

  # Include additions to the abstraction
  include if exists <abstractions/samba-rpcd.d>