Fix definitions for linuxulator's sync_file_range(2).

Reviewed by:	brooks, emaste
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D22371
This commit is contained in:
trasz 2019-12-14 13:30:43 +00:00
parent 8c0a994441
commit 90c1a7bcc7
5 changed files with 18 additions and 5 deletions

View File

@ -467,7 +467,8 @@
struct linux_robust_list_head **head, l_size_t *len); }
275 AUE_NULL STD { int linux_splice(void); }
276 AUE_NULL STD { int linux_tee(void); }
277 AUE_NULL STD { int linux_sync_file_range(void); }
277 AUE_NULL STD { int linux_sync_file_range(l_int fd, l_loff_t offset,
l_loff_t nbytes, unsigned int flags); }
278 AUE_NULL STD { int linux_vmsplice(void); }
279 AUE_NULL STD { int linux_move_pages(void); }
280 AUE_FUTIMESAT STD { int linux_utimensat(l_int dfd, const char *pathname, \

View File

@ -524,7 +524,8 @@
312 AUE_NULL STD { int linux_get_robust_list(l_int pid, \
struct linux_robust_list_head **head, l_size_t *len); }
313 AUE_NULL STD { int linux_splice(void); }
314 AUE_NULL STD { int linux_sync_file_range(void); }
314 AUE_NULL STD { int linux_sync_file_range(l_int fd, l_loff_t offset,
l_loff_t nbytes, unsigned int flags); }
315 AUE_NULL STD { int linux_tee(void); }
316 AUE_NULL STD { int linux_vmsplice(void); }
; Linux 2.6.18:

View File

@ -1692,7 +1692,12 @@
int linux_splice(void);
}
341 AUE_NULL STD {
int linux_sync_file_range(void);
int linux_sync_file_range(
l_int fd,
l_loff_t offset,
l_loff_t nbytes,
unsigned int flags
);
}
342 AUE_NULL STD {
int linux_tee(void);

View File

@ -450,7 +450,12 @@
l_uint fd);
}
84 AUE_NULL STD {
int linux_sync_file_range(void);
int linux_sync_file_range(
l_int fd,
l_loff_t offset,
l_loff_t nbytes,
unsigned int flags
);
}
85 AUE_NULL STD {
int linux_timerfd_create(

View File

@ -533,7 +533,8 @@
312 AUE_NULL STD { int linux_get_robust_list(l_int pid, \
struct linux_robust_list_head **head, l_size_t *len); }
313 AUE_NULL STD { int linux_splice(void); }
314 AUE_NULL STD { int linux_sync_file_range(void); }
314 AUE_NULL STD { int linux_sync_file_range(l_int fd, l_loff_t offset,
l_loff_t nbytes, unsigned int flags); }
315 AUE_NULL STD { int linux_tee(void); }
316 AUE_NULL STD { int linux_vmsplice(void); }
; Linux 2.6.18: