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)
Tue, Nov 5, 1:56 PM
Unknown Object (File)
Sep 20 2024, 10:49 AM
Unknown Object (File)
Sep 18 2024, 9:56 PM
Unknown Object (File)
Sep 13 2024, 10:23 AM
Unknown Object (File)
Sep 8 2024, 12:55 PM
Unknown Object (File)
Sep 3 2024, 8:06 AM
Unknown Object (File)
Aug 22 2024, 5:07 AM
Unknown Object (File)
Aug 12 2024, 7:07 AM
Subscribers

Details

Summary

It takes a const struct iovec *iovp.

Diff Detail

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

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.