[Apparmor-dev] Usage in the stead of documentation.

Matt Barringer mbarringer at suse.de
Fri Aug 3 16:48:45 MDT 2007


On Fri, 3 Aug 2007, Grant Defayette wrote:

>     Thanks for the link
> (https://forgesvn1.novell.com/svn/apparmor/trunk/changehat/libapparmor/).
> Do you know of any real (not just compile time testing) code that uses
> this library yet?
>     I know that due to the development status there is not likely a
> great deal of official docs yet, but I find that just seeing something
> in use is enough. I can likely figure things out enough to get
> something done within a few days regardless, but I would much rather
> use the library the way the developers intended and avoid any big
> hangups.

The apparmor-dbus dispatcher is using it if you want a real-world example 
(trunk/management/apparmor-dbus), and the API is extremely simple: two 
functions, both in aalogparse.h, one returns a struct that you'll also 
find in the header, the other freeing the data the struct contains.  So 
you can't really misuse it :) Feel free to ask me if you have questions 
about anything.

But yes, I'm going to write some documentation this weekend, or at least 
get doxygen generating some from the source.

Thanks,
Matt



More information about the Apparmor-dev mailing list