Skip to content

syscalls/m68k: fix argument 2 name for mseal - #46

Merged
robertswiecki merged 1 commit into
google:masterfrom
Yudis-bit:fix/m68k-mseal-metadata-arg2
Sep 20, 2026
Merged

robertswiecki merged 1 commit into
google:masterfrom
Yudis-bit:fix/m68k-mseal-metadata-arg2

Conversation

@Yudis-bit

Copy link
Copy Markdown
Contributor

In src/syscalls/m68k_syscalls.c, the third argument (ARG_2) of mseal (syscall 462) was mistakenly defined as "size", duplicating ARG_1.

Rename ARG_2 to "flags" to match mseal(2) (void *start, size_t size, unsigned long flags) and the definitions for other architectures in kafel (aarch64, amd64, riscv64).

The third argument (ARG_2) of mseal (syscall 462) was mistakenly named
"size", duplicating ARG_1. Rename ARG_2 to "flags" to match the Linux
mseal(2) signature (void *start, size_t size, unsigned long flags) and
the other architecture definitions in kafel.
@robertswiecki

Copy link
Copy Markdown
Collaborator

Thank you!

@robertswiecki
robertswiecki merged commit 0006505 into google:master Sep 20, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants