[Bug 297516] sendfile: Assertion uio->uio_rw == UIO_WRITE in 32-bit compat mode

[email protected]
Newsgroups gmane.os.freebsd.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297516

--- Comment #3 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=4b17776d9afd0009ac8547126c59c97eda0f3fc9

commit 4b17776d9afd0009ac8547126c59c97eda0f3fc9
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2026-08-14 05:00:21 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2026-08-14 14:35:39 +0000

    compat/freebsd32: set uio_rw for trailer's uio in freebsd32_sendfile()

    PR:     297516
    Reported by:    asomers
    Fixes:  dfad790c8cca ("sendfile: stop abusing kern_writev()")
    Sponsored by:   The FreeBSD Foundation
    MFC after:      3 days

 sys/compat/freebsd32/freebsd32_misc.c | 2 ++
 1 file changed, 2 insertions(+)

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.