Page MenuHomeFreeBSD

imgact_binmisc: Optionally pre-open the interpreter vnode
Needs ReviewPublic

Authored by dfr on Fri, Nov 18, 3:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 2, 1:46 PM
Unknown Object (File)
Fri, Dec 2, 1:46 PM
Unknown Object (File)
Mon, Nov 28, 1:48 PM
Unknown Object (File)
Sun, Nov 27, 9:41 AM
Subscribers
None

Details

Reviewers
imp
Summary

This allows the use of chroot and/or jail environments which depend on
interpreters registed with imgact_binmisc.

Test Plan

Ad-hoc testing of arm64 chroot environments with qemu-user-static

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 48415
Build 45301: arc lint + arc unit

Event Timeline

dfr requested review of this revision.Fri, Nov 18, 3:11 PM
dfr created this revision.

I added a new field to struct image_args. Since this was added to the end of the structure, it should make it possible to MFC to stable/13 since the structure is owned and zeroed by do_execve and any imgact modules should not be affected.