Page MenuHomeFreeBSD

Add const to input-only char * arguments.
ClosedPublic

Authored by brooks on Nov 1 2018, 11:39 PM.
Tags
None
Referenced Files
F153842047: D17812.id49956.diff
Fri, Apr 24, 4:44 AM
F153842008: D17812.id49956.diff
Fri, Apr 24, 4:44 AM
Unknown Object (File)
Thu, Apr 23, 12:12 PM
Unknown Object (File)
Tue, Apr 21, 5:15 PM
Unknown Object (File)
Tue, Apr 21, 4:42 AM
Unknown Object (File)
Fri, Apr 17, 7:54 AM
Unknown Object (File)
Thu, Apr 16, 1:21 PM
Unknown Object (File)
Tue, Apr 14, 12:32 PM
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

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

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.