Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > muc.lists.freebsd.emulation > #12948

[Bug 295333] linuxulator: page fault handling SO_PEERCRED

Path csiph.com!weretis.net!feeder8.news.weretis.net!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From bugzilla-noreply@freebsd.org
Newsgroups muc.lists.freebsd.emulation
Subject [Bug 295333] linuxulator: page fault handling SO_PEERCRED
Date Thu, 21 May 2026 21:22:13 +0000
Organization Newsgate at muc.de e.V.
Sender owner-freebsd-emulation@FreeBSD.org
Approved news-admin@muc.de
Distribution world
Message-ID <bug-295333-4077-R1XfZp2VBZ@https.bugs.freebsd.org/bugzilla/> (permalink)
References <bug-295333-4077@https.bugs.freebsd.org/bugzilla/>
MIME-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
Injection-Info news.muc.de; posting-host="news.muc.de:193.149.48.2"; logging-data="45909"; mail-complaints-to="news-admin@muc.de"
X-Original-To emulation@mlmmj.nyi.freebsd.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1779398533; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ehP/LynjiCCPUCxRXW2DCRYWQIu5bLSyuaNmyu0t2Ec=; b=mYu1zYR3t50seb0Ma6yMfxSSkGnm/k2YTxqib2youN+l8ivavNK8kDy6285dotlRfTplca Brpod47hMAw2mI1eG1iXOMoVpc5ZHCR93RwH0mMKawhU/Mr4VklfimBnjsA0VEiQWgL4EU ywYcGhA2svJW/5QZsNS4G469ok7Ah8sfoYxvHYJwQf2qRVmu+XDXc7RQvSYG/qUAEmkj0D iApHsAb3tzgpBVzrs5BaH6daEcmnRrfa/7Vi5NdxeuQJfHoXRjp+TksYAFk4b13Te6wWLu 73r3+E9Evycds/2YN0CNSLeVdNW8Oge6KSvlvTD8v/uBujwZxpOHbF/DJ47fkw==
X-Authentication-Warning kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f
In-Reply-To <bug-295333-4077@https.bugs.freebsd.org/bugzilla/>
Auto-Submitted auto-generated
Precedence list
X-Newsgate-Id f02c70b8849f+
X-No-Archive Yes
Xref csiph.com muc.lists.freebsd.emulation:12948

Show key headers only | View raw


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.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de

Back to muc.lists.freebsd.emulation | Previous | Next | Find similar | Unroll thread


Thread

[Bug 295333] linuxulator: page fault handling SO_PEERCRED bugzilla-noreply@freebsd.org - 2026-05-21 21:22 +0000

csiph-web