Skip to content

linuxulator: return EBADF for O_PATH mmap()#2233

Closed
ilovegrape wants to merge 1 commit into
freebsd:mainfrom
ilovegrape:open13-mmap-fix
Closed

linuxulator: return EBADF for O_PATH mmap()#2233
ilovegrape wants to merge 1 commit into
freebsd:mainfrom
ilovegrape:open13-mmap-fix

Conversation

@ilovegrape

Copy link
Copy Markdown
Contributor

This fixes LTP open13, which expects O_PATH mmap() to fail with EBADF, but FreeBSD returned EACCES.

PR: 295571

This fixes LTP open13, which expects O_PATH mmap() to fail with EBADF,
but FreeBSD returned EACCES.

PR:             295571

Signed-off-by: YAO, Xin <mr.yaoxin@outlook.com>
@spmzt spmzt self-assigned this May 28, 2026
@spmzt spmzt added staged Devevloper has this staged and will push or reject pending testing. merged Closed commit that's been merged and removed staged Devevloper has this staged and will push or reject pending testing. labels May 28, 2026
@spmzt

spmzt commented May 28, 2026

Copy link
Copy Markdown
Member

Automated message from ghpr: Thank you for your submission. This PR has been merged to FreeBSD's main branch. These changes will appear shortly on our GitHub mirror.

@spmzt spmzt closed this May 28, 2026
freebsd-git pushed a commit that referenced this pull request May 28, 2026
This fixes LTP open13, which expects O_PATH mmap() to fail
with EBADF, but FreeBSD returned EACCES.

Signed-off-by:	YAO, Xin <mr.yaoxin@outlook.com>
PR:		295571
Reviewed by: 	kib
Pull-Request:	#2233
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged Closed commit that's been merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants