[PATCH 0/7] uprobes: register/unregister preparations for filtering

From: Oleg Nesterov
Date: Fri Nov 23 2012 - 15:27:50 EST


Hello.

Srikar, it is not clear if you was convinced or not during the
last discussion. We will discuss this again probably. So far
I am sending the initial changes which (I think) make sense in
any case. Please review.

The next step is locking. Alas, we can not use consumer_rwsem
to protect the list in filter_chain(). Whatever we do, at least
uprobe_mmap() needs to do this under mm->mmap_sem. And we do
want to allow uc->handler() to play with current->mm.

Then we will actually immplement filter_chain(), this should be
trivial unless you insist we need for_each_mm_user() (cough, I
hope you do not ;).

Then we will try to solve the problem with fork.

Oleg.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/