On Sun, Dec 01, 2002 at 12:17:54AM -0800, Crispin Cowan wrote: > Greg KH wrote: > > >I'm _really_ tired of all of the "empty" functions that all security > >modules need to provide. So here's a brute force patch that lets any > >security module only set the functions that it wants to override. If > >the function is NULL, then the "dummy" function will be used instead. > > > Sounds good to me. So you're just creating a default null function, and > then stuffing all the stubs with a pointer to that function? No, it uses the dummy_* function that matches that function type if you do not specify the function. Look at the definition of the set_to_dummy_if_null() macro for how it works. thanks, greg k-h _______________________________________________ linux-security-module mailing list linux-security-moduleat_private http://mail.wirex.com/mailman/listinfo/linux-security-module
This archive was generated by hypermail 2b30 : Sun Dec 01 2002 - 08:49:32 PST