On Monday, October 26, 2020 2:11:59 PM CET Pádraig Brady wrote: > On 26/10/2020 10:44, Kamil Dudka wrote: > > The workaround triggers warnings with new kernel versions in case > > a user does not have sufficient privileges for the MTIOCGET ioctl. > > > > * src/dd.c (skip_via_lseek): Drop wrapper function no longer needed. > > (skip): Use lseek() directly. > > (advance_input_after_read_error): Use lseek() directly. > > > > Reported-by: Nir Soffer > > Bug: https://bugzilla.redhat.com/1876840 > > To clarify, the kernel is warning, not dd. > In general the kernel should be disallowing rather than warning I think. > But yes this is old code that should no longer be needed. > I'll apply the patch. > > thanks, > Pádraig
Perfect. Thank you for taking a quick action on this! Kamil