diff options
author | jkim <jkim@FreeBSD.org> | 2008-04-16 19:25:39 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2008-04-16 19:25:39 +0000 |
commit | 513781a1c1ab25895b21fbd0d258c342d81da237 (patch) | |
tree | 9dc24cbdad0cecce740e83c360a930f9e03cc740 /sys/i386/linux | |
parent | 6de397fa88cf56d8b432e839cf7738e7f48da0fc (diff) | |
download | FreeBSD-src-513781a1c1ab25895b21fbd0d258c342d81da237.zip FreeBSD-src-513781a1c1ab25895b21fbd0d258c342d81da237.tar.gz |
Add stubs for syscalls introduced in Linux 2.6.17 kernel.
Some GNU libc version started using them before 2.6.17 was officially out.
MFC after: 3 days
Diffstat (limited to 'sys/i386/linux')
-rw-r--r-- | sys/i386/linux/linux_dummy.c | 6 | ||||
-rw-r--r-- | sys/i386/linux/syscalls.master | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/sys/i386/linux/linux_dummy.c b/sys/i386/linux/linux_dummy.c index f4e267c..b4fd553 100644 --- a/sys/i386/linux/linux_dummy.c +++ b/sys/i386/linux/linux_dummy.c @@ -90,6 +90,12 @@ DUMMY(migrate_pages); DUMMY(pselect6); DUMMY(ppoll); DUMMY(unshare); +DUMMY(set_robust_list); +DUMMY(get_robust_list); +DUMMY(splice); +DUMMY(sync_file_range); +DUMMY(tee); +DUMMY(vmsplice); #define DUMMY_XATTR(s) \ int \ diff --git a/sys/i386/linux/syscalls.master b/sys/i386/linux/syscalls.master index 98df86d..313be8a 100644 --- a/sys/i386/linux/syscalls.master +++ b/sys/i386/linux/syscalls.master @@ -503,3 +503,9 @@ 308 AUE_NULL STD { int linux_pselect6(void); } 309 AUE_NULL STD { int linux_ppoll(void); } 310 AUE_NULL STD { int linux_unshare(void); } +311 AUE_NULL STD { int linux_set_robust_list(void); } +312 AUE_NULL STD { int linux_get_robust_list(void); } +313 AUE_NULL STD { int linux_splice(void); } +314 AUE_NULL STD { int linux_sync_file_range(void); } +315 AUE_NULL STD { int linux_tee(void); } +316 AUE_NULL STD { int linux_vmsplice(void); } |