Page MenuHomeFreeBSD

Remove __restrict qualifiers from syscalls.master.
ClosedPublic

Authored by brooks on Oct 15 2018, 8:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 23, 3:18 AM
Unknown Object (File)
Thu, Oct 23, 3:18 AM
Unknown Object (File)
Thu, Oct 23, 3:18 AM
Unknown Object (File)
Wed, Oct 22, 7:22 PM
Unknown Object (File)
Sep 27 2025, 10:15 AM
Unknown Object (File)
Sep 19 2025, 11:08 AM
Unknown Object (File)
Sep 13 2025, 9:34 PM
Unknown Object (File)
Aug 31 2025, 10:31 PM
Subscribers

Details

Summary

The restruct qualifier is intended to aid code generation in the
compiler, but the only access to storage through these pointers is via
structs using copyin/copyout and the like which can not be written in C
or C++ and thus the compiler gains nothing from the qualifiers.

As such, the qualifiers add no value in current usage.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 20227
Build 19705: arc lint + arc unit