]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't allow BIO_READ, BIO_WRITE or BIO_DELETE requests that are
authorsobomax <sobomax@FreeBSD.org>
Tue, 6 Nov 2018 15:55:41 +0000 (15:55 +0000)
committersobomax <sobomax@FreeBSD.org>
Tue, 6 Nov 2018 15:55:41 +0000 (15:55 +0000)
commitf92b92777e44e60c6e65ca978139f4d922533495
tree1390329ba86a25155a70c8204d663e599d538991
parent7b4e55f191c060d386d941a82842e177677d26a3
Don't allow BIO_READ, BIO_WRITE or BIO_DELETE requests that are
fully beyond the end of providers media. The only exception is made
for the zero length transfers which are allowed to be just on the
boundary. Previously, any requests starting on the boundary (i.e. next
byte after the last one) have been allowed to go through.

No response from: freebsd-geom@, phk
MFC after: 1 month
sys/geom/geom_io.c