Page MenuHomeFreeBSD

syscall.master: fix aio_suspend signature
ClosedPublic

Authored by brooks on Mar 15 2024, 10:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 19, 2:43 AM
Unknown Object (File)
Thu, Dec 11, 8:18 AM
Unknown Object (File)
Nov 28 2025, 3:26 AM
Unknown Object (File)
Nov 26 2025, 9:32 AM
Unknown Object (File)
Nov 22 2025, 11:37 AM
Unknown Object (File)
Nov 19 2025, 3:57 AM
Unknown Object (File)
Nov 12 2025, 9:58 AM
Unknown Object (File)
Nov 7 2025, 2:32 AM
Subscribers

Details

Summary

It takes a const struct iovec *iovp.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 56632
Build 53520: arc lint + arc unit

Event Timeline

Ok, but this change by itself does not change much. Do we want to consticize locals in sys_aio_suspend() and args for kern_aio_suspend()?

This revision is now accepted and ready to land.Mar 16 2024, 1:28 AM
In D44378#1012165, @kib wrote:

Ok, but this change by itself does not change much. Do we want to consticize locals in sys_aio_suspend() and args for kern_aio_suspend()?

This aligns the declaration with aio_suspend(9). It presumably also has the side effect of preventing passing uap->aiocbp argument to copyout without a cast, but my goal here is just to align with the syscall declaration.

This revision was automatically updated to reflect the committed changes.