This should have been done when they were removed from libc, but was
overlooked in the runup to 11.0.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Differential D15539 Authored by brooks on May 23 2018, 9:04 PM.
Details Summary This should have been done when they were removed from libc, but was
Diff Detail
Event TimelineHarbormaster completed remote builds in B16791: Diff 42896.May 23 2018, 9:04 PM2018-05-23 21:04:10 (UTC+0) This revision is now accepted and ready to land.May 24 2018, 2:59 PM2018-05-24 14:59:14 (UTC+0) Closed by commit rS334168: Don't implement break(2) at all on aarch64 and riscv. (authored by brooks). · Explain WhyMay 24 2018, 5:04 PM2018-05-24 17:04:45 (UTC+0) This revision was automatically updated to reflect the committed changes. Herald added a subscriber: imp. · View Herald TranscriptMay 24 2018, 5:04 PM2018-05-24 17:04:45 (UTC+0)
Revision Contents
Diff 42937 head/sys/vm/vm_unix.c
|
Maybe just say the type of the 3rd arg depends on the operation (and document the type for each operation that takes the third arg) instead of trying to assume it's a single type? In CheriBSD we have a wrapper in libc to deal with this and have fcntl() as a truly var-args function. On existing platforms var-args is close enough to work for passing syscall arguments, but not all ABIs require this. (var-args are passed as a block in a bounded pointer on CHERI platforms and not just a continuation of register arguments).