Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 May 2026 21:22:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        emulation@FreeBSD.org
Subject:   [Bug 295333] linuxulator: page fault handling SO_PEERCRED
Message-ID:  <bug-295333-4077-R1XfZp2VBZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-295333-4077@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295333

--- Comment #14 from commit-hook@FreeBSD.org ---
A commit in branch releng/15.1 references this bug:

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

commit 4eb969321cefdc878de8be81abd30d09732db7c9
Author:     Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2026-05-16 18:03:49 +0000
Commit:     Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2026-05-21 21:21:00 +0000

    linuxulator: fix SO_PEERCRED emulation after 1d24638d3e8

    For Linux binaries, sopt->sopt_td may be null.  And there's also no
    need to check it, since struct l_ucred has the same layout on 32-bit
    systems as on 64-bit ones.

    Approved by:    re (cperciva)
    PR:             295333
    Reported by:    Miguel Gomes <miguel.dias.gomes@protonmail.com>
    Fixes:          1d24638d3e8 ("Fix LOCAL_PEERCRED in 32-bit compat mode")
    Reviewed by:    emaste
    Differential Revision: https://reviews.freebsd.org/D57032

    (cherry picked from commit 4cee16d471d47f4673e4d2c66f7a96d4e6d86ee9)
    (cherry picked from commit 57fb48f8e2fca5f069e9bc3cf080608f602919a9)

 sys/kern/uipc_usrreq.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-295333-4077-R1XfZp2VBZ>