From: Justin Cinkelj <justin.cink...@xlab.si>
Committer: Nadav Har'El <n...@scylladb.com>
Branch: master

fcntl: stub F_SETOWN

fcntl(F_SETOWN) is used in nginx. We stub it so that nginx can be started
unmodified.

Signed-off-by: Justin Cinkelj <justin.cink...@xlab.si>
Message-Id: <20170718091623.23284-3-justin.cink...@xlab.si>

---
diff --git a/fs/vfs/main.cc b/fs/vfs/main.cc
--- a/fs/vfs/main.cc
+++ b/fs/vfs/main.cc
@@ -1493,6 +1493,9 @@ int fcntl(int fd, int cmd, int arg)
     case F_SETLKW:
         WARN_ONCE("fcntl(F_SETLKW) stubbed\n");
         break;
+    case F_SETOWN:
+        WARN_ONCE("fcntl(F_SETOWN) stubbed\n");
+        break;
     default:
         kprintf("unsupported fcntl cmd 0x%x\n", cmd);
         error = EINVAL;

--
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osv-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to