The vadvise syscall (aka ovadvise) is undocumented and has always been
implmented as returning EINVAL. Put the syscall under COMPAT11 and
provide a userspace implementation.
Details
Details
- Reviewers
kib emaste - Commits
- rS334223: Make vadvise compat freebsd11.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Add a dependency cleanup in Makefile.inc1 after commit also?
lib/libc/sys/vadvise.c | ||
---|---|---|
4 ↗ | (On Diff #42943) | holder? |
lib/libc/sys/vadvise.c | ||
---|---|---|
38 ↗ | (On Diff #42945) | Are __sys_vadvise and _vadvise symbols used by anything in the base system ? If no, then they can be removed, since we do not provide stable ABI in FreeBSD private namespace. |
sys/vm/vm_unix.c | ||
240 ↗ | (On Diff #42945) | I believe this structure definition is useless. |
Comment Actions
- Nothing uses _vadvise() or __sys_vadvise so don't provide them.
- Don't document ignored struct freebsd11_vadvise_args.