[Midnightbsd-cvs] [MidnightBSD/src] 2c1311: linux: fix pkey syscall portability and feature ch...

Lucas Holt noreply at github.com
Fri Sep 25 11:54:11 EDT 2026


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

  Changed paths:
    M sys/amd64/linux/linux_machdep.c
    M sys/amd64/linux/linux_pkru.c
    M sys/amd64/linux32/linux32_machdep.c
    M sys/compat/linux/linux_misc.c

  Log Message:
  -----------
  linux: fix pkey syscall portability and feature checks

Define the pkey syscall wrappers in shared Linux compatibility code so arm64 and i386 modules resolve their syscall entries. Require active PKU, OSPKE, and PKRU XSAVE state before accessing PKRU.

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



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