Page MenuHomeFreeBSD

Use mode_t when the documented signature does.
ClosedPublic

Authored by brooks on Oct 31 2018, 8:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 24, 11:24 AM
Unknown Object (File)
Tue, Mar 24, 4:58 AM
Unknown Object (File)
Mon, Mar 23, 8:26 AM
Unknown Object (File)
Sun, Mar 22, 7:53 AM
Unknown Object (File)
Sat, Mar 21, 10:29 PM
Unknown Object (File)
Thu, Mar 19, 11:24 AM
Unknown Object (File)
Tue, Mar 17, 3:26 AM
Unknown Object (File)
Sat, Mar 14, 8:04 PM
Subscribers

Details

Summary

This is more clear and produces better results when generating function
stubs from syscalls.master.

Obtained from: CheriBSD
Sponsored by: DARPA, AFRL

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 20543
Build 19968: arc lint + arc unit

Event Timeline

I think this change is good.
__mode_t is uint16_t, this is OK on all of our architectures?

I think this change is good.
__mode_t is uint16_t, this is OK on all of our architectures?

Should be. i386 passes args as 32-bit words on the stack and the rest pass in registers. They are passed as mode_t by the caller already.

What about compat32 ?

This revision is now accepted and ready to land.Oct 31 2018, 11:50 PM
This revision now requires review to proceed.Nov 1 2018, 5:51 PM
This revision is now accepted and ready to land.Nov 1 2018, 7:36 PM
This revision was automatically updated to reflect the committed changes.