apparmor/libraries/libapparmor/swig
Tyler Hicks fa05c2e2e4 libapparmor: Don't apply special SWIG %exception to some functions
Only use the special %exception directive for functions that return a
negative int and set errno upon error.

This prevents, for example, _aa_is_blacklisted() from raising an
exception when it returns -1. This is important because it doesn't set
errno so an exception based on the value of errno would be
unpredictable.

Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Acked-by: John Johansen <john.johansen@canonical.com>
2015-06-16 15:51:19 -05:00
..
java move libapparmor into the libraries directory 2008-05-19 22:48:31 +00:00
perl libapparmor: move public headers to separate directory 2014-01-06 14:08:55 -08:00
python libapparmor: move public headers to separate directory 2014-01-06 14:08:55 -08:00
ruby libapparmor: move public headers to separate directory 2014-01-06 14:08:55 -08:00
SWIG libapparmor: Don't apply special SWIG %exception to some functions 2015-06-16 15:51:19 -05:00
Makefile.am move libapparmor into the libraries directory 2008-05-19 22:48:31 +00:00