mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-06 09:21:00 +01:00

This matches what we use in the profiles for local abstractions. Also adjust the check in the Makefile to expect the variant without '#'.
25 lines
760 B
Text
25 lines
760 B
Text
# ------------------------------------------------------------------
|
|
#
|
|
# Copyright (C) 2002-2009 Novell/SUSE
|
|
# Copyright (C) 2009-2010 Canonical Ltd.
|
|
#
|
|
# 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.
|
|
#
|
|
# ------------------------------------------------------------------
|
|
|
|
abi <abi/3.0>,
|
|
|
|
# per-user tmp directories
|
|
owner @{HOME}/tmp/** rwkl,
|
|
owner @{HOME}/tmp/ rw,
|
|
|
|
# global tmp directories
|
|
owner /var/tmp/** rwkl,
|
|
/var/tmp/ rw,
|
|
owner /tmp/** rwkl,
|
|
/tmp/ rw,
|
|
|
|
# Include additions to the abstraction
|
|
include if exists <abstractions/user-tmp.d>
|