Page MenuHomeFreeBSD

Add const to input-only char * arguments.
ClosedPublic

Authored by brooks on Nov 1 2018, 11:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 9 2024, 7:59 AM
Unknown Object (File)
Mar 2 2024, 2:00 AM
Unknown Object (File)
Jan 10 2024, 6:33 PM
Unknown Object (File)
Dec 23 2023, 1:50 AM
Unknown Object (File)
Nov 23 2023, 9:39 AM
Unknown Object (File)
Nov 14 2023, 9:48 AM
Unknown Object (File)
Nov 6 2023, 7:00 PM
Unknown Object (File)
Oct 29 2023, 5:35 AM
Subscribers

Details

Summary

These arguments are mostly paths handled by NAMEI*() macros which already
take const char * arguments.

This change improves the match between syscalls.master and the public
declerations of system calls.

Depends on D17805

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 20591
Build 20012: arc lint + arc unit

Event Timeline

Are you going to reformat compat32/syscalls.master ?

This revision is now accepted and ready to land.Nov 2 2018, 12:28 AM
In D17812#380637, @kib wrote:

Are you going to reformat compat32/syscalls.master ?

I plan to replace it with improvements to makesyscalls.sh that will let us generate compat32 bits from kern/syscalls.master so I'm not very inclined to do the tedious work of reformatting it. I'm more than half done in CheriBSD where I'm working toward a freebsd64.

This revision was automatically updated to reflect the committed changes.