On Fri, Aug 19, 2016 at 1:03 PM, Kees Cook <keescook@xxxxxxxxxxxx> wrote: > > Okay, I can live with that. I'd hoped to keep the general split > between the other checks (i.e. stack) and the allocator, but if this > is preferred, that's cool. :) If it had been anything else than SLOB, I might have cared. As it was, I didn't think it was worth worrying about SLOB together with hardening. It was also about the __check_object_size() modification just being very ugly, with a "return NULL" in the middle of the function. I looked at just splitting that function up, and having a part of it that would just go away when the slab allocator wasn't smart enough, but that would have been a bigger change that I'm not interested in taking right now. So it could be a future improvement, and maybe we could then re-instate SLOB with partial checking. Linus -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>