On 2020-06-07 23:40, Chaitanya Kulkarni wrote: > Bart, > On 6/5/20 6:43 AM, Bart Van Assche wrote: >> We typically do not implement arbitrary limits in the kernel. So I'd >> prefer not to introduce any artificial limits. > > That is what I mentioned in [1] that we can add a check suggested in > [1]. That way we will not enforce any limits in the kernel and keep > the backward compatibility. > > Do you see any problem with the approach suggested in [1]. > > [1] https://www.spinics.net/lists/linux-block/msg54754.html Please take another look at Harshad's patch description. My understanding is that Harshad wants to protect the kernel against malicious user space software. Modifying the user space blktrace software as proposed in [1] doesn't help at all towards the goal of hardening the kernel. Thanks, Bart.