diff options
author | dchagin <dchagin@FreeBSD.org> | 2016-01-09 17:13:43 +0000 |
---|---|---|
committer | dchagin <dchagin@FreeBSD.org> | 2016-01-09 17:13:43 +0000 |
commit | 5b01285f9b0853975f2548587fbdae2a2e0e6d0e (patch) | |
tree | c77886c765d3ab08a424727870df2a7668ba66a5 /sys/i386/linux | |
parent | 795e029d8d1a24e32074626dad63ac27eea49b85 (diff) | |
download | FreeBSD-src-5b01285f9b0853975f2548587fbdae2a2e0e6d0e.zip FreeBSD-src-5b01285f9b0853975f2548587fbdae2a2e0e6d0e.tar.gz |
MFC r283465:
Add preliminary fallocate system call implementation
to emulate posix_fallocate() function.
Diffstat (limited to 'sys/i386/linux')
-rw-r--r-- | sys/i386/linux/linux_dummy.c | 2 | ||||
-rw-r--r-- | sys/i386/linux/syscalls.master | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/sys/i386/linux/linux_dummy.c b/sys/i386/linux/linux_dummy.c index 543f766..d70a126 100644 --- a/sys/i386/linux/linux_dummy.c +++ b/sys/i386/linux/linux_dummy.c @@ -104,8 +104,6 @@ DUMMY(epoll_pwait); DUMMY(utimensat); DUMMY(signalfd); DUMMY(timerfd_create); -/* linux 2.6.23: */ -DUMMY(fallocate); /* linux 2.6.25: */ DUMMY(timerfd_settime); DUMMY(timerfd_gettime); diff --git a/sys/i386/linux/syscalls.master b/sys/i386/linux/syscalls.master index 563d529..6a3b85b 100644 --- a/sys/i386/linux/syscalls.master +++ b/sys/i386/linux/syscalls.master @@ -546,7 +546,8 @@ 322 AUE_NULL STD { int linux_timerfd_create(void); } 323 AUE_NULL STD { int linux_eventfd(l_uint initval); } ; linux 2.6.23: -324 AUE_NULL STD { int linux_fallocate(void); } +324 AUE_NULL STD { int linux_fallocate(l_int fd, l_int mode, \ + l_loff_t offset, l_loff_t len); } ; linux 2.6.25: 325 AUE_NULL STD { int linux_timerfd_settime(void); } 326 AUE_NULL STD { int linux_timerfd_gettime(void); } |