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)
Dec 12 2025, 9:53 PM
Unknown Object (File)
Nov 27 2025, 11:50 AM
Unknown Object (File)
Nov 23 2025, 5:34 AM
Unknown Object (File)
Nov 22 2025, 11:11 AM
Unknown Object (File)
Nov 20 2025, 5:37 PM
Unknown Object (File)
Nov 20 2025, 5:32 PM
Unknown Object (File)
Nov 20 2025, 5:28 PM
Unknown Object (File)
Nov 20 2025, 5:21 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable