sigfastblock is declared to take a void * argument in the manpage in
headers so declare it that way and use SAL annotations to say it
interacts with a 32-bit word.
Details
Details
- Reviewers
kib - Commits
- rG7936d4e4d082: syscalls.master: align with sigfastblock declaration
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
What exactly does the 'updates_bytes_opt' mean? Note that the intent is not that the syscall updates *ptr, but that *ptr is updated async by kernel after the syscall.
Comment Actions
In this context _updates_ means both reads and writes. Given the operations seem it be casueword32, that's correct. In this case I mostly want to express that the pointer is 4 bytes after losing the type. Any consumer of the annotations is almost certainly going to have to add special handing for this case so I'm not worried about the fact that it's async. The alternative would be to update the declaration to be uint32_t *ptr.