summaryrefslogtreecommitdiff
path: root/lib/uid_wrapper/uid_wrapper.c
AgeCommit message (Expand)AuthorFilesLines
2015-11-05uwrap: Fix build warning with release buildAndreas Schneider1-0/+8
2015-11-05uwrap: Add the EINVAL check to setegid()Andreas Schneider1-0/+6
2015-11-05uwrap: Allow setgid calls only for privileged usersAndreas Schneider1-2/+57
2015-11-05uwrap: Allow setregid calls only for privileged usersAndreas Schneider1-2/+85
2015-11-05uwrap: Allow setresgid calls only for privileged usersAndreas Schneider1-55/+107
2015-11-05uwrap: Move the EINVAL check down in seteuid()Andreas Schneider1-4/+5
2015-11-05uwrap: Allow setuid calls only for privileged usersAndreas Schneider1-2/+57
2015-11-05uwrap: Allow setreuid calls only for privileged usersAndreas Schneider1-7/+84
2015-11-05uwrap: Allow setresuid calls only for privileged usersAndreas Schneider1-33/+89
2015-11-05uwrap: Fix a possible null pointer dereferenceAndreas Schneider1-0/+16
2015-11-05uwrap: Improve debug outputAndreas Schneider1-15/+15
2015-11-05uwrap: Fix debug line in uwrap_init()Andreas Schneider1-2/+3
2015-08-21uwrap: Removed double newlineAndreas Schneider1-1/+1
2015-08-21uwrap: Fix build if getres(uid|gid) are not available.Andreas Schneider1-4/+4
2015-01-28uwrap: Make sure we leave if the id is NULL.Andreas Schneider1-0/+1
2015-01-28uwrap: Support scenario where threads fork or creates threads.Robin Hack1-221/+177
2015-01-28uwrap: Prepare for overload of libpthread functions.Robin Hack1-19/+140
2015-01-28uwrap: Introduce UWRAP_LOCK_ALL and UWRAP_UNLOCK_ALL macrosRobin Hack1-8/+14
2015-01-28uwrap: Rewrite uwrap_libc_fns struct to pass strict aliasing rules.Robin Hack1-59/+116
2015-01-28uwrap: Fix wrong data types in syscalls switch.Robin Hack1-12/+12
2015-01-28uwrap: Add support for getresuid() and getresgid() glibc/syscall.Robin Hack1-0/+109
2015-01-28uwrap: Extend support for (set|get)groups libc functions and syscalls.Robin Hack1-11/+82
2015-01-28uwrap: Extend support for syscalls called from threads or main process.Robin Hack1-0/+36
2015-01-28uwrap: Small uwrap_init optimalization.Robin Hack1-2/+2
2015-01-28uwrap: Add support for running with address sanitizer.Andreas Schneider1-0/+7
2015-01-28uwrap: Reflect changes of uid/gid in threads to main process.Robin Hack1-7/+50
2015-01-28uwrap: Small optimalization of uwrap_init().Robin Hack1-1/+2
2015-01-28uwrap: Optimalization of uid_wrapper_enabled() function.Robin Hack1-4/+29
2015-01-28uid_wrapper: Fix race condition - uwrap_init.Robin Hack1-5/+2
2015-01-28uwrap: Fix race condition - glibc lookups.Robin Hack1-3/+14
2015-01-28uwrap: Add library constructor and move pthread_atfork inside.Robin Hack1-9/+22
2015-01-28uwrap: Use UWRAP_LOCK/UNLOCK macros instead of pthread_mutex_lock/unlock calls.Robin Hack1-31/+40
2015-01-28uwrap: Fix the handle loop for older gcc versions.Andreas Schneider1-1/+4
2014-07-31uwrap: Support dropping all supplemetary groups with setgroups()Jakub Hrozek1-2/+12
2014-07-31uwrap: Add logging if uwrap is enabled correctly.Andreas Schneider1-0/+8
2014-07-31uwrap: Log error if we are out of memory.Andreas Schneider1-0/+2
2014-07-31uwrap: Add a better logging function.Andreas Schneider1-8/+67
2014-07-31uwrap: Check for HAVE_FUNCTION_ATTRIBUTE_FORMAT.Andreas Schneider1-0/+7
2014-07-31uwrap: Fall back to RTLD_NEXT if we can't find libc.Andreas Schneider1-4/+4
2014-07-31uwrap: Add mutex in uwrap_destructor().Andreas Schneider1-0/+2
2014-07-31uwrap: Fix memory leak on error.Andreas Schneider1-0/+1
2014-04-17lib: Change uid_wrapper to preloadable version.Andreas Schneider1-147/+1068
2012-06-28Replace all uses of setXX[ug]id() and setgroups with samba_setXX[ug]id() calls.Jeremy Allison1-7/+8
2011-10-27Include uid_wrapper correctly.Andreas Schneider1-2/+2
2011-10-27uid_wrapper: Add uwrap_setresgid().Andreas Schneider1-0/+18
2011-10-27uid_wrapper: Fix build on UNIX platforms.Andreas Schneider1-0/+10
2011-10-27uid_wrapper: Handle euid and egid 0.Andreas Schneider1-7/+29
2011-10-27uid_wrapper: Make sure we have initialized the wrapper.Andreas Schneider1-0/+2
2011-10-07uid_wrapper: Add uwrap_setresuid().Andreas Schneider1-0/+11
2011-10-07uid_wrapper: Add uwrap_setregid().Andreas Schneider1-0/+11