HomeFreeBSD

Another attempt to fix issue with the DIOCGDELETE ioctl(2) not

Description

Another attempt to fix issue with the DIOCGDELETE ioctl(2) not
handling slightly out-of-bound requests properly (r340187).
Perform range check here rather then rely on g_delete_data() to DTRT.

The g_delete_data() would always return success for requests
starting just the next byte after providers media boundary.

MFC after: 4 weeks

Details

Provenance
sobomaxAuthored on
Parents
rS341493: MFC r341464:
Branches
Unknown
Tags
Unknown