🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.bugs
Article #227

[Bug 300043] linux: prctl PR_CAP_AMBIENT and PR_GET_SECUREBITS unsupported, PR_CAPBSET_READ always EINVAL

#227
From: bugzilla-noreply
Date: Sun, 25 Oct 2026 14:17
49 lines
3436 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300043

            Bug ID: 300043
           Summary: linux: prctl PR_CAP_AMBIENT and PR_GET_SECUREBITS
                    unsupported, PR_CAPBSET_READ always EINVAL
           Product: Base System
           Version: 16.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: rbranco@suse.com

To reproduce:

$ sudo podman run --rm -it --os=linux docker.io/library/alpine
# apk add libcap
...
# capsh --print
Current: =
Bounding set = <unsupported>
Ambient set = <unsupported>
Current IAB: 
Securebits: 037777777777/0xffffffff/32'b11111111111111111111111111111111
(no-new-privs=0)
 secure-noroot: yes (locked)
 secure-no-suid-fixup: yes (locked)
 secure-keep-caps: yes (locked)
uid=0(root) euid=0(root)
gid=0(root)
groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),20(dialout),26(tape),27(video)
Guessed mode: NOPRIV (1)

On dmesg you can see lots of lines like:
linux: jid 1 pid 96611 (capsh): unsupported prctl option 27
linux: jid 1 pid 96611 (capsh): unsupported prctl option 47

-- 
You are receiving this mail because:
You are the assignee 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
Technical Details
Message-ID: <bug-300043-227@https.bugs.freebsd.org/bugzilla/>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!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

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!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.bugs
Subject: [Bug 300043] linux: prctl PR_CAP_AMBIENT and PR_GET_SECUREBITS
 unsupported, PR_CAPBSET_READ always EINVAL
Date: Sun, 25 Oct 2026 14:17:23 +0000
Organization: Newsgate at muc.de e.V.
Sender: owner-freebsd-bugs@FreeBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <bug-300043-227@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="14934"; mail-complaints-to="news-admin@muc.de"
X-Original-To: bugs@mlmmj.nyi.freebsd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1792937843;
	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;
	bh=xatRJHFsMVUOuLvsAwurNGF4PJUjQ8cNp3jOnmOtqjY=;
	b=lKEBRGE/yKuqTx2M8Q7W/Q6kA821Ao66zRz8hlQQoafj0U/7+QKoiO0Pz/Q76INClCnfgF
	5A1JKbxzHkq33FMmT8h6XiDyXc/4EZRKGbMA2EWDdcqFgbPBVxRu0Fq/DBSUJOSF/QSHoK
	XpCtWtQy93ItN252cmGr8r4eNmN/sOgUO0g6IZlQWk9B5pSQXwGkatlzCQQErE5VYf8XrK
	vFfuptn3xuqEWz0ezkZ/k18mfzITaw8m9vDgUcyveWGShq5jBjNHvdr0cbKabgBbknD/vG
	hgdcbtFnLd7+daeiGhe4WHrDT39hel9YXwEuqEHln9QDCJ2I0DVdDGPc7QiNxQ==
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
Auto-Submitted: auto-generated
Precedence: list
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes