<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/security/apparmor/policy.c, branch linux-4.14.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.14.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.14.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-12-14T08:53:06Z</updated>
<entry>
<title>apparmor: fix leak of null profile name if profile allocation fails</title>
<updated>2017-12-14T08:53:06Z</updated>
<author>
<name>John Johansen</name>
</author>
<published>2017-11-15T23:25:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=897088926c3477ef8d3d299473a2777dd9d1c9cb'/>
<id>urn:sha1:897088926c3477ef8d3d299473a2777dd9d1c9cb</id>
<content type='text'>
[ Upstream commit 4633307e5ed6128975595df43f796a10c41d11c1 ]

Fixes: d07881d2edb0 ("apparmor: move new_null_profile to after profile lookup fns()")
Reported-by: Seth Arnold &lt;seth.arnold@canonical.com&gt;
Signed-off-by: John Johansen &lt;john.johansen@canonical.com&gt;
Signed-off-by: Sasha Levin &lt;alexander.levin@verizon.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>apparmor: fix race condition in null profile creation</title>
<updated>2017-09-22T20:00:58Z</updated>
<author>
<name>John Johansen</name>
</author>
<published>2017-08-16T12:40:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=290638a52a808d658bd04b746b3ca46886c157e0'/>
<id>urn:sha1:290638a52a808d658bd04b746b3ca46886c157e0</id>
<content type='text'>
There is a race when null- profile is being created between the
initial lookup/creation of the profile and lock/addition of the
profile. This could result in multiple version of a profile being
added to the list which need to be removed/replaced.

Since these are learning profile their is no affect on mediation.

Signed-off-by: John Johansen &lt;john.johansen@canonical.com&gt;
</content>
</entry>
<entry>
<title>apparmor: move new_null_profile to after profile lookup fns()</title>
<updated>2017-09-22T20:00:58Z</updated>
<author>
<name>John Johansen</name>
</author>
<published>2017-08-16T15:59:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d07881d2edb0ab783846730629ac2faeaafdf4f1'/>
<id>urn:sha1:d07881d2edb0ab783846730629ac2faeaafdf4f1</id>
<content type='text'>
new_null_profile will need to use some of the profile lookup fns()
so move instead of doing forward fn declarations.

Signed-off-by: John Johansen &lt;john.johansen@canonical.com&gt;
</content>
</entry>
<entry>
<title>apparmor: switch from profiles to using labels on contexts</title>
<updated>2017-06-11T00:11:38Z</updated>
<author>
<name>John Johansen</name>
</author>
<published>2017-06-09T15:14:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=637f688dc3dc304a89f441d76f49a0e35bc49c08'/>
<id>urn:sha1:637f688dc3dc304a89f441d76f49a0e35bc49c08</id>
<content type='text'>
Begin the actual switch to using domain labels by storing them on
the context and converting the label to a singular profile where
possible.

Signed-off-by: John Johansen &lt;john.johansen@canonical.com&gt;
</content>
</entry>
<entry>
<title>apparmor: cleanup remove unused and not fully implemented profile rename</title>
<updated>2017-06-11T00:11:36Z</updated>
<author>
<name>John Johansen</name>
</author>
<published>2017-06-09T14:24:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dca91402e999aa0824c4144ad216bd61dd4fe3ff'/>
<id>urn:sha1:dca91402e999aa0824c4144ad216bd61dd4fe3ff</id>
<content type='text'>
Remove the partially implemented code, until this can be properly
implemented.

Signed-off-by: John Johansen &lt;john.johansen@canonical.com&gt;
</content>
</entry>
<entry>
<title>apparmor: refactor updating profiles to the newest parent</title>
<updated>2017-06-11T00:11:35Z</updated>
<author>
<name>John Johansen</name>
</author>
<published>2017-06-09T14:16:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=435222bc1bcc11636f4159fd3ce9e481ab7f2c7c'/>
<id>urn:sha1:435222bc1bcc11636f4159fd3ce9e481ab7f2c7c</id>
<content type='text'>
Signed-off-by: John Johansen &lt;john.johansen@canonical.com&gt;
</content>
</entry>
<entry>
<title>apparmor: share profile name on replacement</title>
<updated>2017-06-11T00:11:35Z</updated>
<author>
<name>John Johansen</name>
</author>
<published>2017-06-09T14:09:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a1bd627b46d169268a0ee5960899fb5be960a317'/>
<id>urn:sha1:a1bd627b46d169268a0ee5960899fb5be960a317</id>
<content type='text'>
The profile names are the same, leverage this.

Signed-off-by: John Johansen &lt;john.johansen@canonical.com&gt;
</content>
</entry>
<entry>
<title>apparmor: fix policy load/remove semantics</title>
<updated>2017-06-11T00:11:32Z</updated>
<author>
<name>John Johansen</name>
</author>
<published>2017-06-04T19:22:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=60285eb3e7c8827e00e2f2b54561a8cca07d802f'/>
<id>urn:sha1:60285eb3e7c8827e00e2f2b54561a8cca07d802f</id>
<content type='text'>
The namespace being passed into the replace/remove profiles fns() is
not the view, but the namespace specified by the inode from the
file hook (if present) or the loading tasks ns, if accessing the
top level virtualized load/replace file interface.

Signed-off-by: John Johansen &lt;john.johansen@canonical.com&gt;
</content>
</entry>
<entry>
<title>apparmor: add namespace lookup fns()</title>
<updated>2017-06-11T00:11:32Z</updated>
<author>
<name>John Johansen</name>
</author>
<published>2017-06-03T00:44:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3664268f19ea07bec55df92fe53ff9ed28968bcc'/>
<id>urn:sha1:3664268f19ea07bec55df92fe53ff9ed28968bcc</id>
<content type='text'>
Currently lookups are restricted to a single ns component in the
path. However when namespaces are allowed to have separate views, and
scopes this will not be sufficient, as it will be possible to have
a multiple component ns path in scope.

Add some ns lookup fns() to allow this and use them.

Signed-off-by: John Johansen &lt;john.johansen@canonical.com&gt;
</content>
</entry>
<entry>
<title>apparmor: cleanup __find_child()</title>
<updated>2017-06-11T00:11:31Z</updated>
<author>
<name>John Johansen</name>
</author>
<published>2017-06-02T20:50:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ae3b31653691b9c5b572b99596de3dfcc8f05006'/>
<id>urn:sha1:ae3b31653691b9c5b572b99596de3dfcc8f05006</id>
<content type='text'>
Signed-off-by: John Johansen &lt;john.johansen@canonical.com&gt;
</content>
</entry>
</feed>
