Re: [PATCH 1/2] Smack: fix seq operations in smackfs

2015-06-02 Thread Casey Schaufler
On 5/21/2015 9:24 AM, Rafal Krypa wrote: > Use proper RCU functions and read locking in smackfs seq_operations. > > Smack gets away with not using proper RCU functions in smackfs, because > it never removes entries from these lists. But now one list will be > needed (with interface in smackfs) that

[PATCH 1/2] Smack: fix seq operations in smackfs

2015-05-21 Thread Rafal Krypa
Use proper RCU functions and read locking in smackfs seq_operations. Smack gets away with not using proper RCU functions in smackfs, because it never removes entries from these lists. But now one list will be needed (with interface in smackfs) that will have both elements added and removed to it.