Re: [PATCH] kptr_restrict for hiding kernel pointers fromunprivileged users

From: Dan Rosenberg
Date: Thu Dec 09 2010 - 06:51:31 EST



>
> Thanks for not giving credits to people suggesting this idea to you
> (Thomas if I remember well), and not Ccing netdev where original
> discussion took place.
>

I am happy to credit Thomas, even though he is far from the first person
to have suggested this approach to me. Thanks for the suggestion.

>
> So caller can not block BH ?
>
> This seems wrong to me, please consider :
>
> normal process context :
>
> spin_lock_bh() ...
>
> for (...)
> {xxx}printf( ... "%pK" ...)
>
> spin_unlock_bh();
>

I will think about this and address it.

-Dan

--
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/