[SCM] UID Wrapper Repository - branch master updated
Andreas Schneider
asn at samba.org
Sat Feb 1 06:33:09 MST 2014
The branch, master has been updated
via 2c761ef src: Use a bool for uid_wrapper_enabled().
from 84a3e42 Add ChangeLog.
http://gitweb.samba.org/?p=uid_wrapper.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 2c761ef132c21ca6a79a126d74ed0915a22b1bc7
Author: Andreas Schneider <asn at cryptomilk.org>
Date: Sat Feb 1 14:32:03 2014 +0100
src: Use a bool for uid_wrapper_enabled().
Reviewed-by: Jeremy Allison <jra at samba.org>
-----------------------------------------------------------------------
Summary of changes:
src/uid_wrapper.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Changeset truncated at 500 lines:
diff --git a/src/uid_wrapper.c b/src/uid_wrapper.c
index 0120510..cb99481 100644
--- a/src/uid_wrapper.c
+++ b/src/uid_wrapper.c
@@ -175,7 +175,7 @@ static pthread_mutex_t uwrap_id_mutex = PTHREAD_MUTEX_INITIALIZER;
* UWRAP PROTOTYPES
*********************************************************/
-int uid_wrapper_enabled(void);
+bool uid_wrapper_enabled(void);
void uwrap_destructor(void) DESTRUCTOR_ATTRIBUTE;
/*********************************************************
@@ -548,11 +548,11 @@ static void uwrap_init(void)
pthread_mutex_unlock(&uwrap_id_mutex);
}
-int uid_wrapper_enabled(void)
+bool uid_wrapper_enabled(void)
{
uwrap_init();
- return uwrap.enabled ? 1 : 0;
+ return uwrap.enabled ? true : false;
}
static int uwrap_setresuid_thread(uid_t ruid, uid_t euid, uid_t suid)
--
UID Wrapper Repository
More information about the samba-cvs
mailing list