[Midnightbsd-cvs] [MidnightBSD/src] 79f160: linux: implement memory protection key syscalls

Lucas Holt noreply at github.com
Fri Sep 25 09:35:05 EDT 2026


  Branch: refs/heads/linux-pkey-backport
  Home:   https://github.com/MidnightBSD/src
  Commit: 79f160534b8cbb390024a209e73fa086daf6ac34
      https://github.com/MidnightBSD/src/commit/79f160534b8cbb390024a209e73fa086daf6ac34
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-09-25 (Fri, 25 Sep 2026)

  Changed paths:
    A LINUX_BRAVE_SANDBOX_BACKPORT.md
    M sys/amd64/amd64/fpu.c
    M sys/amd64/amd64/sys_machdep.c
    A sys/amd64/linux/linux_emul_md.h
    M sys/amd64/linux/linux_machdep.c
    A sys/amd64/linux/linux_pkru.c
    M sys/amd64/linux/linux_sysvec.c
    M sys/amd64/linux32/linux32_machdep.c
    M sys/amd64/linux32/linux32_sysvec.c
    A sys/arm64/linux/linux_emul_md.c
    A sys/arm64/linux/linux_emul_md.h
    M sys/compat/linux/linux_dummy.c
    M sys/compat/linux/linux_emul.c
    M sys/compat/linux/linux_emul.h
    M sys/compat/linux/linux_mmap.c
    M sys/compat/linux/linux_mmap.h
    A sys/i386/linux/linux_emul_md.c
    A sys/i386/linux/linux_emul_md.h
    M sys/modules/linux/Makefile
    M sys/modules/linux_common/Makefile
    M sys/x86/include/fpu.h
    M sys/x86/include/specialreg.h
    M sys/x86/include/sysarch.h

  Log Message:
  -----------
  linux: implement memory protection key syscalls

Backport Linuxulator pkey_alloc, pkey_free, and pkey_mprotect support for Chromium V8 sandboxing. Add the required XSAVE layout helpers and Linux-compatible PKRU process lifecycle handling.

AI-Assisted-by: OpenAI Codex (GPT-5)
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: ab3dd6cfb8210ddfb1dd4e39854e878ad057d912
      https://github.com/MidnightBSD/src/commit/ab3dd6cfb8210ddfb1dd4e39854e878ad057d912
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-09-25 (Fri, 25 Sep 2026)

  Changed paths:
    M UPDATING

  Log Message:
  -----------
  UPDATING: note Linuxulator protection key support

AI-Assisted-by: OpenAI Codex (GPT-5)
Signed-off-by: Lucas Holt <luke at foolishgames.com>


Compare: https://github.com/MidnightBSD/src/compare/79f160534b8c%5E...ab3dd6cfb821

To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications


More information about the Midnightbsd-cvs mailing list