HomeFreeBSD

kern: imgact: fix imgp->interpreted

Description

kern: imgact: fix imgp->interpreted

This is a mask, so the new value should have taken the next bit to avoid
breaking a shell script that's interpreted by a binmisc-activated
interpreter.

Add a brief note that the new value is only used within the ELF
activator.

Fixes: 389c124fecb0 ("imgact_elf.c indicate that interpreter [...]")
Reported by: "polyduekes" on discord, madpilot
Reviewed by: kib, sjg (both previous version)
Differential Revision: https://reviews.freebsd.org/D58063

Details

Provenance
kevansAuthored on Jul 8 2026, 2:56 AM
Reviewer
kib
Differential Revision
D58063: kern: imgact: fix imgp->interpreted
Parents
rG407c7c339adb: linux/futex: Don't load a timeout when try-locking a mutex
Branches
Unknown
Tags
Unknown