index
:
samba.git
master
old-v4-0-stable
old-v4-0-test
v3-0-stable
v3-0-test
v3-2-stable
v3-2-test
v3-3-stable
v3-3-test
v3-4-stable
v3-4-test
v3-5-stable
v3-5-test
v3-6-stable
v3-6-test
v3-devel
v4-0-stable
v4-0-test
v4-1-stable
v4-1-test
v4-10-stable
v4-10-test
v4-11-stable
v4-11-test
v4-12-stable
v4-12-test
v4-13-stable
v4-13-test
v4-14-stable
v4-14-test
v4-15-stable
v4-15-test
v4-16-stable
v4-16-test
v4-17-stable
v4-17-test
v4-18-stable
v4-18-test
v4-19-stable
v4-19-test
v4-2-stable
v4-2-test
v4-20-stable
v4-20-test
v4-21-stable
v4-21-test
v4-22-stable
v4-22-test
v4-23-stable
v4-23-test
v4-24-stable
v4-24-test
v4-3-stable
v4-3-test
v4-4-stable
v4-4-test
v4-5-stable
v4-5-test
v4-6-stable
v4-6-test
v4-7-stable
v4-7-test
v4-8-stable
v4-8-test
v4-9-stable
v4-9-test
Unnamed repository; edit this file 'description' to name the repository.
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
source3
/
lib
/
util_sec.c
Age
Commit message (
Expand
)
Author
Files
Lines
2026-01-20
lib: Reduce indentation with an early return
Volker Lendecke
1
-12
/
+13
2026-01-07
lib: Fix some whitespace
Volker Lendecke
1
-8
/
+8
2025-01-02
include <grp.h> for setgroups in a few places
Michael Tokarev
1
-0
/
+3
2023-07-13
s3:lib: Fix code spelling
Andreas Schneider
1
-1
/
+1
2021-08-24
lib: Improve comment wording
Volker Lendecke
1
-1
/
+1
2020-03-27
s3:util_sec: fix the build on non-linux platforms
Stefan Metzmacher
1
-4
/
+4
2019-09-17
util_sec.c: Move __thread variable to global scope
Khem Raj
1
-8
/
+11
2019-01-29
s3/lib: clean up have_syscall() formatting
David Disseldorp
1
-2
/
+3
2019-01-29
s3/lib: don't rely on implicit int return type
David Disseldorp
1
-1
/
+1
2018-11-22
s3:lib: Do not redefine bool and use stdbool.h
Andreas Schneider
1
-1
/
+1
2018-07-24
s3:util_sec: add a cache to set_thread_credentials()
Stefan Metzmacher
1
-0
/
+27
2018-07-24
lib/util: rename USE_LINUX_THREAD_CREDENTIALS to HAVE_LINUX_THREAD_CREDENTIALS
Ralph Boehme
1
-10
/
+10
2015-11-05
s3-lib: Get the real initial uid for selftest
Andreas Schneider
1
-0
/
+14
2014-04-17
s3-lib: Add root_mode() which can deal with uid_wrapper.
Andreas Schneider
1
-0
/
+20
2012-07-11
Move set_thread_credentials_permanently() to set_thread_credentials()
Jeremy Allison
1
-12
/
+12
2012-07-10
Fix typo we've had for a long time in set_re_uid() in the USE_SETRESUID case.
Jeremy Allison
1
-1
/
+1
2012-07-03
Add function set_thread_credentials_permanently(). Panic if fail.
Jeremy Allison
1
-0
/
+48
2012-06-30
Try and fix the autoconf build on Solaris/Nexenta/etc.
Jeremy Allison
1
-3
/
+0
2012-06-29
Move back to using per-thread credentials on Linux. Fixes the glibc native AI...
Jeremy Allison
1
-9
/
+9
2012-06-28
Replace all uses of setXX[ug]id() and setgroups with samba_setXX[ug]id() calls.
Jeremy Allison
1
-61
/
+66
2011-10-27
Include uid_wrapper correctly.
Andreas Schneider
1
-1
/
+1
2011-10-06
s3: Use the uid_wrapper
Volker Lendecke
1
-0
/
+1
2007-10-18
RIP BOOL. Convert BOOL -> bool. I found a few interesting
Jeremy Allison
1
-3
/
+3
2007-10-10
r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
Andrew Tridgell
1
-2
/
+1
2007-10-10
r23779: Change from v2 or later to v3 or later.
Jeremy Allison
1
-1
/
+1
2007-10-10
r22096: become_root_uid_only() is unneeded - it's only used in
Jeremy Allison
1
-23
/
+1
2007-10-10
r21005: Add a debug message for EAGAIN error of setresuid.
Volker Lendecke
1
-1
/
+7
2007-10-10
r17294: Make the code a little cleaner. Instead of using the two
Jeremy Allison
1
-3
/
+29
2007-10-10
r17293: After the results from the cluster tests in Germany,
Jeremy Allison
1
-2
/
+8
2004-01-27
Clarify comment on set_effective_uid()
Andrew Bartlett
1
-2
/
+10
2003-10-23
After a phonecall with jra finally commit this.
Volker Lendecke
1
-5
/
+2
2003-09-23
Add a descriptive comment to our usage of setresuid. lib/afs.c needs
Volker Lendecke
1
-0
/
+4
2002-07-15
updated the 3.0 branch from the head branch - ready for alpha18
Andrew Tridgell
1
-0
/
+36
2002-03-24
Spelling fixes.
Tim Potter
1
-1
/
+1
2002-02-18
reverted tims patch that broke configure
Andrew Tridgell
1
-13
/
+0
2002-02-17
Whoops, typo.
Tim Potter
1
-4
/
+4
2002-02-17
Do a smb_panic() if sec_initial_[ug]id() or non_root_mode() is called
Tim Potter
1
-0
/
+13
2002-01-30
Removed version number from file header.
Tim Potter
1
-2
/
+1
2001-10-31
Parionia to ensure people don't install libsmb based programs setuid root.
Andrew Bartlett
1
-0
/
+8
2001-10-02
Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.
Tim Potter
1
-1
/
+0
2001-09-15
Restore the profiling data shmem parinoia. This whole area needs to be
Andrew Bartlett
1
-0
/
+10
2001-07-08
added sec_initial_uid() function so we can ask if a file is owned by
Andrew Tridgell
1
-0
/
+8
2001-07-06
fixed inetd operation as non-root
Andrew Tridgell
1
-4
/
+0
2001-06-25
make sure we have BOOL in autoconf usage of util_sec.c
Andrew Tridgell
1
-0
/
+1
2001-06-25
- make the regresison test mode code build in by default. This should
Andrew Tridgell
1
-15
/
+40
2001-06-22
added the ability to test smbd safely as an ordinary user. The way it works is
Andrew Tridgell
1
-0
/
+4
2000-12-06
Fixed compiler warning.
Tim Potter
1
-1
/
+1
2000-02-08
Moved over lib/util_sec (with added fixes) as the HEAD source
Jeremy Allison
1
-4
/
+50
1999-12-17
util_sec.c from 2.0.6
Andrew Tridgell
1
-0
/
+326