Re: [apparmor] AppArmor APIs

2015-12-15 Thread Colin Ian King
Thanks John, So far I've been successful from the info you have provided. I've compiled a policy into a binary blob and got it loaded into a buffer and successfully loaded this into the kernel. Colin On 15/12/15 00:32, John Johansen wrote: > On 12/14/2015 07:44 AM, Colin Ian King wrote: >> Hi

Re: [apparmor] AppArmor APIs

2015-12-15 Thread Colin Ian King
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 15/12/15 18:45, Steve Beattie wrote: > Hey Colin, > > On Tue, Dec 15, 2015 at 05:29:43PM +, Colin Ian King wrote: >> So far I've been successful from the info you have provided. I've >> compiled a policy into a binary blob and got it loaded

Re: [apparmor] AppArmor APIs

2015-12-15 Thread Steve Beattie
Hey Colin, On Tue, Dec 15, 2015 at 05:29:43PM +, Colin Ian King wrote: > So far I've been successful from the info you have provided. I've > compiled a policy into a binary blob and got it loaded into a buffer and > successfully loaded this into the kernel. That's great! I'm curious which

Re: [apparmor] AppArmor APIs

2015-12-14 Thread John Johansen
On 12/14/2015 02:49 PM, Seth Arnold wrote: > On Mon, Dec 14, 2015 at 03:44:56PM +, Colin Ian King wrote: >> I'm looking at writing some stress tests for AppArmor, so I'd like to >> construct some simple rules and insert/remove them. I looked for some >> API documentation, but all I can find

Re: [apparmor] AppArmor APIs

2015-12-14 Thread John Johansen
On 12/14/2015 07:44 AM, Colin Ian King wrote: > Hi there, > > I'm looking at writing some stress tests for AppArmor, so I'd like to > construct some simple rules and insert/remove them. I looked for some > API documentation, but all I can find is: > >

[apparmor] AppArmor APIs

2015-12-14 Thread Colin Ian King
Hi there, I'm looking at writing some stress tests for AppArmor, so I'd like to construct some simple rules and insert/remove them. I looked for some API documentation, but all I can find is: http://wiki.apparmor.net/index.php/AppArmorAPIs Are there any API docs, guides or worked examples for

Re: [apparmor] AppArmor APIs

2015-12-14 Thread Seth Arnold
On Mon, Dec 14, 2015 at 03:44:56PM +, Colin Ian King wrote: > I'm looking at writing some stress tests for AppArmor, so I'd like to > construct some simple rules and insert/remove them. I looked for some > API documentation, but all I can find is: > >