On Fri, Mar 1, 2013 at 4:16 PM, Davidlohr Bueso <davidlohr.bu...@hp.com> wrote: > > +struct kern_ipc_perm *ipc_obtain_object(struct ipc_ids *ids, int id)
This looks good.. > +struct kern_ipc_perm *ipc_obtain_object_check(struct ipc_ids *ids, int id) The comment on ipc_checkid() says that it should only be called with the lock held. Which seems entirely bogus, and I think it's just stale. It's just checking the same ipc->seq that is only set at allocation, so it won't change, afaik. So I *think* the above is ok, but I'd want people to look at that comment and remove it if it is stale. And if it's not stale, think about this. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/