<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.ixheim.de/index.php?action=history&amp;feed=atom&amp;title=AppArmor-Profilsprache</id>
	<title>AppArmor-Profilsprache - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ixheim.de/index.php?action=history&amp;feed=atom&amp;title=AppArmor-Profilsprache"/>
	<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=AppArmor-Profilsprache&amp;action=history"/>
	<updated>2026-05-16T09:22:02Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Xinux Wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=AppArmor-Profilsprache&amp;diff=38134&amp;oldid=prev</id>
		<title>Mario.zimmermann: Die Seite wurde neu angelegt: „=Kurzanleitung zur AppArmor-Profilsprache= *Die AppArmor-Richtlinien werden mit einer speziellen &quot;Profilsprache&quot; erstellt. *Diese Sprache wird dann zum Laden i…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=AppArmor-Profilsprache&amp;diff=38134&amp;oldid=prev"/>
		<updated>2022-11-11T11:55:55Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „=Kurzanleitung zur AppArmor-Profilsprache= *Die AppArmor-Richtlinien werden mit einer speziellen &amp;quot;Profilsprache&amp;quot; erstellt. *Diese Sprache wird dann zum Laden i…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Kurzanleitung zur AppArmor-Profilsprache=&lt;br /&gt;
*Die AppArmor-Richtlinien werden mit einer speziellen &amp;quot;Profilsprache&amp;quot; erstellt.&lt;br /&gt;
*Diese Sprache wird dann zum Laden in den Kernel in Binärecode kompiliert.&lt;br /&gt;
*Die AppArmor-Richtlinien werden in einer Reihe von Dateien im Verzeichniss /etc/apparmor.d/ gespeichert.&lt;br /&gt;
*Die AppArmor-Richtlinie sind in Profile aufgeteilt, die in der Regel so konzipiert sind, dass sie eine bestimmte Anwendung einschränken.&lt;br /&gt;
*In den Profilen werden Zugriffsregeln deklarieren, um den Zugriff auf Ressourcen zu einzuschränken.&lt;br /&gt;
&lt;br /&gt;
==Profiles==&lt;br /&gt;
*Profile beginnen mit dem Namen des Profils gefolgt von einem optionalen Flaggenfeld, dann ein öffnendes {, gefolgt von den Regeln für das Profil und wird durch ein abschließendes } abgeschlossen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /usr/bin/firefox {&lt;br /&gt;
    # profile contents&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
 /usr/bin/firefox flags=(complain) {&lt;br /&gt;
    # profile contents&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
 profile /usr/bin/ {&lt;br /&gt;
    # profile contents&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
 profile user1 {&lt;br /&gt;
    # profile contents&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Comments==&lt;br /&gt;
*Kommentare sind zeilenorientiert und beginnen mit einem #.&lt;br /&gt;
; Ausnahmem sind #include-Regel&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 #  Comment 1&lt;br /&gt;
 #  Comment 2&lt;br /&gt;
&lt;br /&gt;
 profile example {  # comment 3&lt;br /&gt;
    # comment 4&lt;br /&gt;
    /home/foo rw,  # comment at the end of a file rule&lt;br /&gt;
 }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
==Include Rules==&lt;br /&gt;
*Richtliniendateien können andere Dateien enthalten, um Textsegmente gemeinsam zu nutzen.&lt;br /&gt;
*AppArmor Includes folgen der C-Include-Konvention. &lt;br /&gt;
*Sie beginnen mit #include&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;file&amp;gt;&lt;br /&gt;
#include “a/relative/path/file”&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 # include is a comment&lt;br /&gt;
 #include &amp;lt;file&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
;Der #include Syntax hat vor dem Kommentar Syntax Vorrang&lt;/div&gt;</summary>
		<author><name>Mario.zimmermann</name></author>
	</entry>
</feed>