mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-08 18:31:03 +01:00

This changed the profile names and needs adjustments to "signal peer=..." rules, which is something we should avoid in an old branch. The reverted commit is commit0ce15469ec
Author: Cameron Nemo <camerontnorman@gmail.com> Date: Wed Jul 25 14:07:35 2018 -0700 profiles: support distributions which merge sbin into bin Closes #8 (cherry picked from commit9ab45d811e
) Signed-off-by: John Johansen <john.johansen@canonical.com>
35 lines
977 B
Text
35 lines
977 B
Text
#include <tunables/global>
|
|
|
|
/usr/sbin/nmbd {
|
|
#include <abstractions/base>
|
|
#include <abstractions/nameservice>
|
|
#include <abstractions/samba>
|
|
|
|
capability net_bind_service,
|
|
|
|
@{PROC}/sys/kernel/core_pattern r,
|
|
|
|
/usr/sbin/nmbd mr,
|
|
|
|
/var/cache/samba/gencache.tdb rwk,
|
|
/var/cache/samba/gencache_notrans.tdb rwk,
|
|
/var/cache/samba/names.tdb rwk,
|
|
/var/{cache,lib}/samba/browse.dat* rw,
|
|
/var/{cache,lib}/samba/gencache.dat rw,
|
|
/var/{cache,lib}/samba/wins.dat* rw,
|
|
/var/{cache,lib}/samba/smb_krb5/ rw,
|
|
/var/{cache,lib}/samba/smb_krb5/krb5.conf* rw,
|
|
/var/{cache,lib}/samba/smb_tmp_krb5.* rw,
|
|
/var/{cache,lib}/samba/sync.* rw,
|
|
/var/{cache,lib}/samba/unexpected rw,
|
|
/var/cache/samba/msg/ rw,
|
|
/var/cache/samba/msg/* w,
|
|
/var/cache/samba/msg.lock/{,*} rwk,
|
|
|
|
/{,var/}run/nmbd.pid rwk,
|
|
/{,var/}run/samba/** rwk,
|
|
/{,var/}run/systemd/notify w,
|
|
|
|
# Site-specific additions and overrides. See local/README for details.
|
|
#include <local/usr.sbin.nmbd>
|
|
}
|