mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
open-vm-tools: Add new package open-vm-tools
Add new package, open-vm-tools is Open Virtual Machine Tools for VMware guest OS tested: OpenWrt master and 18.06.2 (x86_64) on ESXi 6.5, 6.7 Signed-off-by: Yuhei OKAWA <tochiro.srchack@gmail.com>
This commit is contained in:
committed by
Yousong Zhou
parent
7c0c22f6f7
commit
48eadd2ffd
@@ -0,0 +1,40 @@
|
||||
diff -urN a/lib/hgfsServer/hgfsServerLinux.c b/lib/hgfsServer/hgfsServerLinux.c
|
||||
--- a/lib/hgfsServer/hgfsServerLinux.c
|
||||
+++ b/lib/hgfsServer/hgfsServerLinux.c
|
||||
@@ -105,11 +105,13 @@
|
||||
#endif
|
||||
|
||||
/*
|
||||
- * ALLPERMS (mode 07777) and ACCESSPERMS (mode 0777) are not defined in the
|
||||
- * Solaris version of <sys/stat.h>.
|
||||
+ * ALLPERMS (mode 07777) and ACCESSPERMS (mode 0777) are not specified in
|
||||
+ * POSIX.
|
||||
*/
|
||||
-#ifdef sun
|
||||
+#ifndef ACCESSPERMS
|
||||
# define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO)
|
||||
+#endif
|
||||
+#ifndef ALLPERMS
|
||||
# define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)
|
||||
#endif
|
||||
|
||||
diff -urN a/services/plugins/dndcp/dnd/dndLinux.c b/services/plugins/dndcp/dnd/dndLinux.c
|
||||
--- a/services/plugins/dndcp/dnd/dndLinux.c
|
||||
+++ b/services/plugins/dndcp/dnd/dndLinux.c
|
||||
@@ -52,7 +52,7 @@
|
||||
|
||||
#define DND_ROOTDIR_PERMS (S_IRWXU | S_IRWXG | S_IRWXO)
|
||||
#define DND_STAGINGDIR_PERMS (S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH)
|
||||
-#ifdef sun
|
||||
+#ifndef ACCESSPERMS
|
||||
#define ACCESSPERMS (S_IRWXU | S_IRWXG | S_IRWXO)
|
||||
#endif
|
||||
#ifdef __ANDROID__
|
||||
@@ -61,7 +61,6 @@
|
||||
*/
|
||||
#define NO_SETMNTENT
|
||||
#define NO_ENDMNTENT
|
||||
-#define ACCESSPERMS (S_IRWXU | S_IRWXG | S_IRWXO)
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user