mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 18:17:09 +00:00
tunable: add int variable
(cherry picked from commit d7a73847de07675f36d85f54d91e4260fca8799e) Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
parent
48d837d829
commit
00c84dc82b
@ -17,6 +17,7 @@ include <tunables/multiarch>
|
||||
include <tunables/proc>
|
||||
include <tunables/alias>
|
||||
include <tunables/kernelvars>
|
||||
include <tunables/system>
|
||||
include <tunables/xdg-user-dirs>
|
||||
include <tunables/share>
|
||||
include <tunables/etc>
|
||||
|
17
profiles/apparmor.d/tunables/system
Normal file
17
profiles/apparmor.d/tunables/system
Normal file
@ -0,0 +1,17 @@
|
||||
# ------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (C) 2025 Alexandre Pujol <alexandre@pujol.io>
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# ------------------------------------------------------------------
|
||||
|
||||
# Any digit
|
||||
@{d}=[0-9]
|
||||
|
||||
# Integer up to 10 digits (0-9999999999)
|
||||
@{int}=@{d}{@{d},}{@{d},}{@{d},}{@{d},}{@{d},}{@{d},}{@{d},}{@{d},}{@{d},}
|
||||
|
||||
include if exists <tunables/system.d>
|
Loading…
x
Reference in New Issue
Block a user