Re: avc_init & avc_open

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2008-04-21 at 10:47 -0500, Joe Nall wrote:
> On Apr 21, 2008, at 8:37 AM, Stephen Smalley wrote:
> 
> >
> > On Mon, 2008-04-21 at 08:21 -0500, Joe Nall wrote:
> >> I have a userspace object manager that I would like to specify the  
> >> log
> >> callback and the enforcing mode for simultaneously. The enforcing  
> >> mode
> >> can be set with avc_open (no man page) and the callbacks with
> >> avc_init(3). What is the best strategy?
> >
> > avc_init() was the old interface.
> > selinux_set_callback() + avc_open() is the new interface.
> 
> Do you know what rawhide rpm SELABEL_CB_LOG and friends might be in?  
> They are not in <selinux/selinux.h> or in /usr/include on a current  
> rawhide with libselinux-devel.

Looks like the man page is wrong - it is SELINUX_CB_LOG, not SELABEL_

-- 
Stephen Smalley
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux