commit | ed5dc69dad117006ba9dddf258e064431bb96cfb | [log] [tgz] |
---|---|---|
author | Dan Walsh <dwalsh@redhat.com> | Tue Mar 06 10:44:30 2012 -0500 |
committer | Eric Paris <eparis@redhat.com> | Wed Mar 28 14:52:13 2012 -0400 |
tree | 70c05f99b96bc836582692dca9bf9566f2ce8f43 | |
parent | 1f0b5bd920c8c43afb215b7455a9691198bd3a51 [diff] |
libselinux: assert if avc_init() not called To simplify finding why programs don't work, assert that avc_init() was called any time avc functions are called. This means we won't get 'random' segfaults and will instead be able to hopefully quickly determine what we did wrong as application developers. Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Dan Walsh <dwalsh@redhat.com>