aboutsummaryrefslogtreecommitdiffstats
path: root/main/open-vm-tools/setresuid.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-11-18 14:39:50 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-11-18 14:40:52 +0000
commitef2dec6c3ea0c808bda31401d8db1a429bd7422e (patch)
tree6dfc3e4e4aff9770a5aba1defd285a19b3e617aa /main/open-vm-tools/setresuid.patch
parent276a4314d1785bb036f4dd62f6b22fb32af33b8f (diff)
downloadaports-ef2dec6c3ea0c808bda31401d8db1a429bd7422e.tar.bz2
aports-ef2dec6c3ea0c808bda31401d8db1a429bd7422e.tar.xz
main/open-vm-tools: upgrade to 10.0.0_p3000743
Diffstat (limited to 'main/open-vm-tools/setresuid.patch')
-rw-r--r--main/open-vm-tools/setresuid.patch50
1 files changed, 0 insertions, 50 deletions
diff --git a/main/open-vm-tools/setresuid.patch b/main/open-vm-tools/setresuid.patch
deleted file mode 100644
index 308d6a78c5..0000000000
--- a/main/open-vm-tools/setresuid.patch
+++ /dev/null
@@ -1,50 +0,0 @@
---- open-vm-tools-9.4.6-1770165.orig/configure.ac
-+++ open-vm-tools-9.4.6-1770165/configure.ac
-@@ -575,6 +575,7 @@
-
- AC_CHECK_FUNCS([ecvt])
- AC_CHECK_FUNCS([fcvt])
-+AC_CHECK_FUNCS([setresuid setresgid])
-
- if test "$os" = "freebsd" -a "$osVersion" -ge 600000; then
- AC_CHECK_LIB(
---- open-vm-tools-9.4.6-1770165.orig/lib/procMgr/procMgrPosix.c
-+++ open-vm-tools-9.4.6-1770165/lib/procMgr/procMgrPosix.c
-@@ -137,7 +137,7 @@
- #define BASH_PATH "/bin/bash"
- #endif
-
--#if defined(linux) && !defined(GLIBC_VERSION_23) && !defined(__UCLIBC__)
-+#if defined(linux)
- /*
- * Implements the system calls (they are not wrapped by glibc til 2.3.2).
- *
-@@ -146,7 +146,7 @@
- *
- * (In fact, newer Linux kernels don't even define _syscall macros anymore.)
- */
--
-+#ifndef HAVE_SETRESUID
- static INLINE int
- setresuid(uid_t ruid,
- uid_t euid,
-@@ -154,8 +154,9 @@
- {
- return syscall(__NR_setresuid, ruid, euid, suid);
- }
-+#endif
-
--
-+#ifndef HAVE_SETRESGID
- static INLINE int
- setresgid(gid_t ruid,
- gid_t euid,
-@@ -163,6 +164,8 @@
- {
- return syscall(__NR_setresgid, ruid, euid, suid);
- }
-+#endif
-+
- #endif
-
-