git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e821e45
)
uwrap: Fix debug line in uwrap_init()
author
Andreas Schneider
<asn@samba.org>
Fri, 30 Oct 2015 12:36:04 +0000
(13:36 +0100)
committer
Andreas Schneider
<asn@cryptomilk.org>
Thu, 5 Nov 2015 08:23:15 +0000
(09:23 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
lib/uid_wrapper/uid_wrapper.c
patch
|
blob
|
history
diff --git
a/lib/uid_wrapper/uid_wrapper.c
b/lib/uid_wrapper/uid_wrapper.c
index 2961b879e77118ddf4a6d79671b18f0baf52c3c9..96035b06afb386faf75487db63f97b4334c6b405 100644
(file)
--- a/
lib/uid_wrapper/uid_wrapper.c
+++ b/
lib/uid_wrapper/uid_wrapper.c
@@
-952,8
+952,9
@@
static void uwrap_init(void)
id->enabled = true;
UWRAP_LOG(UWRAP_LOG_DEBUG,
- "Enabled uid_wrapper as %s",
- uwrap.myuid == 0 ? "root" : "user");
+ "Enabled uid_wrapper as %s (real uid=%u)",
+ id->ruid == 0 ? "root" : "user",
+ (unsigned int)uwrap.myuid);
}
UWRAP_UNLOCK(uwrap_id);