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

Re: [Minios-devel] [UNIKRAFT PATCH] lib/vfscore: remove NO_SYS



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

On 04.06.19 11:26, Yuri Volchkov wrote:
Not used

Signed-off-by: Yuri Volchkov <yuri.volchkov@xxxxxxxxx>
---
  lib/vfscore/main.c | 8 --------
  1 file changed, 8 deletions(-)

diff --git a/lib/vfscore/main.c b/lib/vfscore/main.c
index 6a2a604d..dfd43eb3 100644
--- a/lib/vfscore/main.c
+++ b/lib/vfscore/main.c
@@ -77,12 +77,6 @@ static mode_t global_umask = S_IWGRP | S_IWOTH;
  } while (0)
  #define WARN_STUBBED() DO_ONCE(uk_pr_warn("%s() stubbed\n", __func__))
-#define NO_SYS(decl) decl { \
-    DO_ONCE(uk_pr_warn("%s not implemented\n", __func__));   \
-    errno = ENOSYS;                                    \
-    return -1;                                         \
-}
-
  static inline int libc_error(int err)
  {
      errno = err;
@@ -2025,8 +2019,6 @@ ssize_t sendfile(int out_fd, int in_fd, off_t *_offset, 
size_t count)
  LFS64(sendfile);
  #endif
-NO_SYS(int fchmodat(int dirfd __unused, const char *pathname __unused, mode_t mode __unused, int flags __unused));
-
  mode_t umask(mode_t newmask)
  {
        return ukarch_exchange_n(&global_umask, newmask);


_______________________________________________
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®.