On Tue, 2015-10-06 at 11:37 -0700, Paul E. McKenney wrote: > On Sun, Sep 27, 2015 at 06:10:28PM +0300, Petko Manolov wrote: > > __list_splice_init_rcu() can be used to splice lists forming both stack and > > queue structures, depending on its arguments. It is based on the initial > > list_splice_init_rcu() with a few minor modifications to help abstracting > > it. > > > > Signed-off-by: Petko Manolov <pet...@mip-labs.com> > > At first glance, this looks sane. > > But who is using the new list_splice_tail_init_rcu() function?
Hi, Paul. Up to now a single policy was loaded, normally in the initramfs, and never changed. Petko is adding support to extend the policy rules. The additional policies would be appended to the existing list, only after verifying the new set of rules are good. list.h contains list_splice() and list_splice_tail(), but the RCU equivalent functions don't exist. Mimi -- To unsubscribe from this list: send the line "unsubscribe linux-security-module" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html