Merge with git+ssh://master.kernel.org/pub/scm/libs/klibc/klibc.git
diff --git a/usr/include/sys/sendfile.h b/usr/include/sys/sendfile.h
new file mode 100644
index 0000000..a745f10
--- /dev/null
+++ b/usr/include/sys/sendfile.h
@@ -0,0 +1,14 @@
+/*
+ * sys/sendfile.h
+ */
+
+#ifndef _SYS_SENDFILE_H
+#define _SYS_SENDFILE_H
+
+#include <klibc/extern.h>
+#include <stddef.h>
+#include <sys/types.h>
+
+__extern ssize_t sendfile(int, int, off_t *, size_t, off_t);
+
+#endif /* _SYS_SENDFILE_H */
diff --git a/usr/klibc/SYSCALLS.def b/usr/klibc/SYSCALLS.def
index 8c257ba..64b92be 100644
--- a/usr/klibc/SYSCALLS.def
+++ b/usr/klibc/SYSCALLS.def
@@ -179,6 +179,7 @@
 int sync_file_range,fdatasync,fsync::sync_file_range(int, off_t, off_t, unsigned int);
 <?> int splice(int, off_t *, int, off_t *, size_t, unsigned int);
 <?> int tee(int, int, size_t, unsigned int);
+ssize_t sendfile64,sendfile::sendfile(int, int, off_t *, size_t, off_t);
 
 /*
  * Signal operations
diff --git a/usr/klibc/arch/i386/socketcall.S b/usr/klibc/arch/i386/socketcall.S
index 3649b0d..a2762dc 100644
--- a/usr/klibc/arch/i386/socketcall.S
+++ b/usr/klibc/arch/i386/socketcall.S
@@ -23,7 +23,7 @@
 	movl	$__NR_socketcall,%eax
 	int	$0x80
 
-	cmpl	$-4096,%eax	# Error return?
+	cmpl	$-4095,%eax	# Error return?
 
 	popl	%ebx
 
diff --git a/usr/klibc/version b/usr/klibc/version
index 1c99cf0..e516bb9 100644
--- a/usr/klibc/version
+++ b/usr/klibc/version
@@ -1 +1 @@
-1.4.4
+1.4.5
diff --git a/usr/utils/Kbuild b/usr/utils/Kbuild
index 75618cc..76ffff0 100644
--- a/usr/utils/Kbuild
+++ b/usr/utils/Kbuild
@@ -59,4 +59,4 @@
 clean-dirs := static shared
 
 # install only install the shared binaries
-install-y := $(shared-y)
+install-y := $(shared-y) shared/reboot shared/poweroff