summaryrefslogtreecommitdiffstats
path: root/lib/replace
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2014-01-17 14:43:01 +0100
committerStefan Metzmacher <metze@samba.org>2014-04-17 14:56:05 +0200
commit6d23354f72a487741177dd83c561a1bb72fa6412 (patch)
tree1b34ec910d6c88e5120e9f0f39fbf2cd1ff0f4c0 /lib/replace
parentf318a44ec79da33a8972da9822c9ac3e4b39acff (diff)
downloadsamba-6d23354f72a487741177dd83c561a1bb72fa6412.tar.gz
samba-6d23354f72a487741177dd83c561a1bb72fa6412.tar.xz
samba-6d23354f72a487741177dd83c561a1bb72fa6412.zip
lib: Change uid_wrapper to preloadable version.
This imports version 1.0.1 of uid_wrapper. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/system/filesys.h11
-rw-r--r--lib/replace/system/network.h11
-rw-r--r--lib/replace/system/passwd.h11
3 files changed, 0 insertions, 33 deletions
diff --git a/lib/replace/system/filesys.h b/lib/replace/system/filesys.h
index c8ac2b4f74..b234f101ef 100644
--- a/lib/replace/system/filesys.h
+++ b/lib/replace/system/filesys.h
@@ -206,17 +206,6 @@
#define mkdir(d,m) _mkdir(d)
#endif
-#ifdef UID_WRAPPER
-# ifndef UID_WRAPPER_DISABLE
-# ifndef UID_WRAPPER_NOT_REPLACE
-# define UID_WRAPPER_REPLACE
-# endif /* UID_WRAPPER_NOT_REPLACE */
-# include "../uid_wrapper/uid_wrapper.h"
-# endif /* UID_WRAPPER_DISABLE */
-#else /* UID_WRAPPER */
-# define uwrap_enabled() 0
-#endif /* UID_WRAPPER */
-
/*
this allows us to use a uniform error handling for our xattr
wrappers
diff --git a/lib/replace/system/network.h b/lib/replace/system/network.h
index 7cb8d7becf..5159fc8c38 100644
--- a/lib/replace/system/network.h
+++ b/lib/replace/system/network.h
@@ -376,15 +376,4 @@ struct addrinfo {
#endif /* SOCKET_WRAPPER_DISABLE */
#endif /* SOCKET_WRAPPER */
-#ifdef UID_WRAPPER
-# ifndef UID_WRAPPER_DISABLE
-# ifndef UID_WRAPPER_NOT_REPLACE
-# define UID_WRAPPER_REPLACE
-# endif /* UID_WRAPPER_NOT_REPLACE */
-# include "../uid_wrapper/uid_wrapper.h"
-# endif /* UID_WRAPPER_DISABLE */
-#else /* UID_WRAPPER */
-# define uwrap_enabled() 0
-#endif /* UID_WRAPPER */
-
#endif
diff --git a/lib/replace/system/passwd.h b/lib/replace/system/passwd.h
index e5c16a0429..ba738a7edb 100644
--- a/lib/replace/system/passwd.h
+++ b/lib/replace/system/passwd.h
@@ -97,15 +97,4 @@
#endif /* NSS_WRAPPER_DISABLE */
#endif /* NSS_WRAPPER */
-#ifdef UID_WRAPPER
-# ifndef UID_WRAPPER_DISABLE
-# ifndef UID_WRAPPER_NOT_REPLACE
-# define UID_WRAPPER_REPLACE
-# endif /* UID_WRAPPER_NOT_REPLACE */
-# include "../uid_wrapper/uid_wrapper.h"
-# endif /* UID_WRAPPER_DISABLE */
-#else /* UID_WRAPPER */
-# define uwrap_enabled() 0
-#endif /* UID_WRAPPER */
-
#endif