[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [UNIKRAFT PATCH] lib/vfscore: export lseek



Thanks!

Reviewed-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>

Am 15.05.19 um 13:53 schrieb Yuri Volchkov:
Signed-off-by: Yuri Volchkov <yuri.volchkov@xxxxxxxxx>
---
  lib/nolibc/include/unistd.h | 2 ++
  lib/vfscore/exportsyms.uk   | 1 +
  2 files changed, 3 insertions(+)

diff --git a/lib/nolibc/include/unistd.h b/lib/nolibc/include/unistd.h
index de0356f1..34dc1f8d 100644
--- a/lib/nolibc/include/unistd.h
+++ b/lib/nolibc/include/unistd.h
@@ -45,6 +45,7 @@ extern "C" {
  #define __NEED_NULL
  #define __NEED_size_t
  #define __NEED_ssize_t
+#define __NEED_off_t
  #include <nolibc-internal/shareddefs.h>
unsigned int sleep(unsigned int seconds);
@@ -59,6 +60,7 @@ int dup(int oldfd);
  int dup2(int oldfd, int newfd);
  int dup3(int oldfd, int newfd, int flags);
  int unlink(const char *pathname);
+off_t lseek(int fd, off_t offset, int whence);
  #endif
#ifdef __cplusplus
diff --git a/lib/vfscore/exportsyms.uk b/lib/vfscore/exportsyms.uk
index 96738cb6..34eeee59 100644
--- a/lib/vfscore/exportsyms.uk
+++ b/lib/vfscore/exportsyms.uk
@@ -73,3 +73,4 @@ access
  faccessat
  readlink
  fallocate
+lseek


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.