Reallocate syscall numbers for aio_writev and aio_readv

The originally chosen numbers interfere with downstream projects'
syscalls.  Move them to the end of the syscall table instead.

Reported by:	jrtc27
Reviewed by:	brooks
MFC-With:	022ca2fc7f
Differential Revision:	022ca2fc7f
This commit is contained in:
Alan Somers 2021-01-05 16:28:23 -07:00
parent a28fcd1c63
commit b3286afae3
2 changed files with 17 additions and 15 deletions

View File

@ -493,10 +493,8 @@
257 AUE_LIO_LISTIO STD { int freebsd32_lio_listio(int mode, \
struct aiocb32 * const *acb_list, \
int nent, struct sigevent32 *sig); }
258 AUE_AIO_WRITEV STD { int freebsd32_aio_writev( \
struct aiocb32 *aiocbp); }
259 AUE_AIO_READV STD { int freebsd32_aio_readv( \
struct aiocb32 *aiocbp); }
258 AUE_NULL UNIMPL nosys
259 AUE_NULL UNIMPL nosys
260 AUE_NULL UNIMPL nosys
261 AUE_NULL UNIMPL nosys
262 AUE_NULL UNIMPL nosys
@ -1172,5 +1170,9 @@
const char *path); }
577 AUE_SPECIALFD NOPROTO { int __specialfd(int type, const void *req, \
size_t len); }
578 AUE_AIO_WRITEV STD { int freebsd32_aio_writev( \
struct aiocb32 *aiocbp); }
579 AUE_AIO_READV STD { int freebsd32_aio_readv( \
struct aiocb32 *aiocbp); }
; vim: syntax=off

View File

@ -1477,17 +1477,7 @@
_In_opt_ struct sigevent *sig
);
}
258 AUE_AIO_WRITEV STD {
int aio_writev(
_Inout_ struct aiocb *aiocbp
);
}
259 AUE_AIO_READV STD {
int aio_readv(
_Inout_ struct aiocb *aiocbp
);
}
260-271 AUE_NULL UNIMPL nosys
258-271 AUE_NULL UNIMPL nosys
272 AUE_O_GETDENTS COMPAT11 {
int getdents(
int fd,
@ -3258,6 +3248,16 @@
size_t len
);
}
578 AUE_AIO_WRITEV STD {
int aio_writev(
_Inout_ struct aiocb *aiocbp
);
}
579 AUE_AIO_READV STD {
int aio_readv(
_Inout_ struct aiocb *aiocbp
);
}
; Please copy any additions and changes to the following compatability tables:
; sys/compat/freebsd32/syscalls.master