Skip to content

Clarify grammar and typos in syscall section and syscall-steal.c - #381

Merged
jserv merged 1 commit into
sysprog21:masterfrom
frank0988:fix-syscall-table-sentence
Sep 7, 2026
Merged

jserv merged 1 commit into
sysprog21:masterfrom
frank0988:fix-syscall-table-sentence

Conversation

@frank0988

@frank0988 frank0988 commented Jul 3, 2026 •

Copy link
Copy Markdown
Contributor

Fix grammatical errors and typos in the syscall description section and the syscall-steal.c example file to improve readability.


Summary by cubic

Clarifies terminology and fixes typos in the syscall section and example comments for accuracy; no runtime or build changes.

  • In lkmpg.tex, explains that the syscall dispatcher changed from an indirect call table to a switch to mitigate BHI attacks.
  • In examples/syscall-steal.c, corrects that sys_openat is a static function (not a variable), fixes “wreak havoc,” and clarifies why the original call pointer is retained.

Written for commit 2419dea. Summary will update on new commits.

Review in cubic

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 2 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread lkmpg.tex Outdated
Comment thread examples/syscall-steal.c Outdated
/* The function we will replace sys_openat (the function called when you
* call the open system call) with. To find the exact prototype, with
/* Our replacement function for sys_openat (the function called when you
* call the open system call) . To find the exact prototype, with

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An extra space was accidentally introduced before the period.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I have updated .

Fix grammatical errors and typos in the syscall description section and the syscall-steal.c example file to improve readability.
@frank0988
frank0988 force-pushed the fix-syscall-table-sentence branch from 6932bb5 to 2419dea Compare August 24, 2026 11:57
@jserv
jserv merged commit 5854698 into sysprog21:master Sep 7, 2026
9 checks passed
@jserv

jserv commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Thank @frank0988 for contributing!

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.

3 participants