aboutsummaryrefslogtreecommitdiff
path: root/straper/db/public/apparmor/apparmor.d/tunables/kernelvars
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukasz.kasprzak@pm.me>2026-04-14 22:32:43 +0200
committerLukasz Kasprzak <lukasz.kasprzak@pm.me>2026-04-14 22:32:43 +0200
commit83f7fe4b8402bab171d110703a1b1115efbc9b28 (patch)
tree19110702c7d740f6bd8ee4f5d2ebcb97442be237 /straper/db/public/apparmor/apparmor.d/tunables/kernelvars
parent51d43498b07dc97d795947964534f0903cd05db5 (diff)
downloadbin-83f7fe4b8402bab171d110703a1b1115efbc9b28.tar.gz
bin-83f7fe4b8402bab171d110703a1b1115efbc9b28.zip
cleaned up many scrits and deleted some that were of no use; renamed a lot
Diffstat (limited to 'straper/db/public/apparmor/apparmor.d/tunables/kernelvars')
-rw-r--r--straper/db/public/apparmor/apparmor.d/tunables/kernelvars36
1 files changed, 0 insertions, 36 deletions
diff --git a/straper/db/public/apparmor/apparmor.d/tunables/kernelvars b/straper/db/public/apparmor/apparmor.d/tunables/kernelvars
deleted file mode 100644
index 0edd9e0..0000000
--- a/straper/db/public/apparmor/apparmor.d/tunables/kernelvars
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright (C) 2012 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.
-#
-# ------------------------------------------------------------------
-
-# This file should contain declarations to kernel vars or variables
-# that will become kernel vars at some point
-
-# until kernel vars are implemented
-# and until the parser supports nested groupings like
-# @{pid}=[1-9]{[0-9]{[0-9]{[0-9]{[0-9]{[0-9],},},},},}
-# use
-@{pid}={[1-9],[1-9][0-9],[1-9][0-9][0-9],[1-9][0-9][0-9][0-9],[1-9][0-9][0-9][0-9][0-9],[1-9][0-9][0-9][0-9][0-9][0-9],[1-4][0-9][0-9][0-9][0-9][0-9][0-9]}
-
-#same pattern as @{pid} for now
-@{tid}=@{pid}
-
-#A pattern for pids that can appear
-@{pids}=@{pid}
-
-# Placeholder for user id until kernel var is implemented to match
-# current user of the confined application.
-# Values are 0...4,294,967,295 (32-bit unsigned, 10 digits).
-@{uid}={[0-9],[1-9][0-9],[1-9][0-9][0-9],[1-9][0-9][0-9][0-9],[1-9][0-9][0-9][0-9][0-9],[1-9][0-9][0-9][0-9][0-9][0-9],[1-9][0-9][0-9][0-9][0-9][0-9][0-9],[1-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9],[1-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9],[1-4][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]}
-
-#same pattern as @{uid} for now
-@{uids}=@{uid}
-
-# until kernel var is implemented
-@{sys}=/sys/
-
-# Also, include files in tunables/kernelvars.d for site-specific adjustments
-include if exists <tunables/kernelvars.d>