Page MenuHomeFreeBSD

syscalls: Preserve the attributes of the args
ClosedPublic

Authored by imp on Apr 15 2026, 2:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 18, 2:22 AM
Unknown Object (File)
Mon, May 18, 2:16 AM
Unknown Object (File)
Thu, May 14, 4:15 AM
Unknown Object (File)
Wed, May 13, 5:22 PM
Unknown Object (File)
Wed, May 13, 4:39 PM
Unknown Object (File)
Tue, May 12, 9:53 AM
Unknown Object (File)
Mon, May 11, 10:08 AM
Unknown Object (File)
Sun, May 10, 12:21 PM
Subscribers
None

Details

Summary

Lightly parse and preserve the attributes of the args as attributes.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp requested review of this revision.Apr 15 2026, 2:16 PM
imp created this revision.
brooks added inline comments.
sys/tools/syscalls/core/scarg.lua
145

Will these arguments be growing annotations? It's hard for me to imagine when you'd need one.

150

The consumer handles nil so does this need to be set at all?

This revision is now accepted and ready to land.Apr 16 2026, 8:15 AM
This revision was automatically updated to reflect the committed changes.
sys/tools/syscalls/core/scarg.lua
145

Hmmm, maybe not. I should just drop these two until there's a proven usecase.

150

Ah good point.
I was being parnaoid, but I can remove this.