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 1, 10:20 AM
Unknown Object (File)
Fri, Sep 18, 10:14 AM
Unknown Object (File)
Sep 2 2026, 3:12 PM
Unknown Object (File)
Sep 1 2026, 6:37 PM
Unknown Object (File)
Sep 1 2026, 2:47 PM
Unknown Object (File)
Aug 29 2026, 9:56 PM
Unknown Object (File)
Aug 28 2026, 4:50 AM
Unknown Object (File)
Aug 14 2026, 6:27 AM
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