1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/lib
Jeremy Allison 5c4772ec1d Re-add umask(0) code removed by commit 3a7c2777ee
Without the umask code the pipe permissions are affected by the
umask of the calling process. As only smbd currently sets its
umask to zero (nmbd and winbindd should do the same) this causes
the winbindd pipe to be unavailable to the nss library code unless
winbindd is run from an init process that explicitly sets umask
to zero. When testing from the command line this can be hard to
track down :-).

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ira Cooper <ira@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Jun 18 04:31:27 CEST 2013 on sn-devel-104
2013-06-18 04:31:27 +02:00
..
ABI s3-smbldap: make smbldap public library and maintain its ABI 2012-09-07 14:14:30 +02:00
asys build: Do not install testing binaries 2012-11-22 12:00:36 +01:00
dbwrap s3:lib/dbwrap add missing curly braces 2013-05-16 23:22:19 +02:00
eventlog s3-eventlog: Make sure the eventlog directory exists. 2012-12-21 13:55:59 +01:00
netapi Remove lib/netapi autoconf build system, this is now build with waf 2013-05-28 12:17:11 +10:00
pthreadpool pthreadpool: Fix CID 710828 Sizeof not portable 2013-05-12 15:56:32 +02:00
smbconf source3/lib/smbconf/testsuite.c: fix stackframe leak 2012-07-18 05:07:31 +09:30
access.c
addrchange.c
addrchange.h s3:lib/addrchange.h: include libreplace headers before others 2011-10-25 17:58:33 +02:00
adt_tree.c adt_tree: Fix return types. 2012-03-24 17:11:11 +01:00
afs_settoken.c
afs.c s3:lib/afs fix the build 2013-02-19 17:31:32 +01:00
audit.c
avahi.c
background.c s3: Fix Coverity ID 2743: CHECKED_RETURN 2012-04-19 17:37:38 +02:00
background.h s3: Add infrastructure for background jobs 2012-04-17 10:21:00 +02:00
cbuf.c s3:lib fix output of hex escapes > 0x7F with cbuf_print_quoted 2011-11-25 13:24:34 +01:00
cbuf.h s3:lib: use includes.h with cbuf and srprs 2012-09-07 23:39:45 +02:00
charcnv.c s3:lib/charcnv fix typo in pull_ascii_base_talloc() 2013-03-05 15:56:56 +01:00
conn_tdb.c s3:lib: remove unused connections_fetch_entry*() and connections_init() 2012-10-19 12:15:03 +02:00
conn_tdb.h s3:lib: remove unused connections_fetch_entry*() and connections_init() 2012-10-19 12:15:03 +02:00
ctdb_conn.c s3:lib/ctdb_conn make sure we are root before connecting to CTDB 2013-05-17 13:16:37 +02:00
ctdb_conn.h s3:ctdb library: fix the build against older ctdb versions 2012-11-02 13:47:34 +01:00
ctdb_packet.c s3:lib/ctdb_packet use sys_send in packet_fd_write 2013-06-03 20:01:21 +02:00
ctdbd_conn.c ctdb-conn: remove ctdbd_fetch 2013-03-26 11:19:29 +01:00
dmallocmsg.c
dummyparam.c s3:lib/dummyparam: remove unused conn_snum_used() dummy 2011-12-13 15:45:36 +01:00
dumpcore.c
errmap_unix.c s3:lib/errmap_unix: map EPIPE to NT_STATUS_CONNECTION_DISCONNECTED 2011-10-25 17:58:33 +02:00
events.c s3:lib/events: make use of tevent_common_loop_timer_delay() 2013-03-01 11:58:20 -08:00
file_id.c s3: Use file_id_string in file_id_string_tos 2012-10-30 00:05:34 +01:00
file_id.h s3-lib: Add file_id_string() 2012-04-18 12:05:00 +10:00
filename_util.c smbd: Remove NTSTATUS based create_synthetic_smb_fname 2013-04-18 02:52:40 +02:00
fncall.c s3:lib: s/struct fd_event/struct tevent_fd 2013-02-19 23:48:00 +01:00
fstring.c
g_lock.c s3:lib: make use of samba_tevent_context_init() 2013-02-19 23:47:47 +01:00
gencache.c gencache: Simplify gencache_init a bit 2013-06-14 20:30:33 +02:00
id_cache.c s3:id_cache: do not use the in-memory idmap cache (it is going to be removed) 2012-04-20 23:17:36 +02:00
id_cache.h s3:smbcontrol: let smbd pass the idmap msg to its children for convenience 2011-10-12 22:45:53 +02:00
idmap_cache.c s3:idmap_cache: also store negative entries for unknown sids 2012-06-21 18:04:05 +02:00
idmap_cache.h s3-idmap: remove (now) unused function idmap_cache_set_sid2both() 2012-05-02 13:18:05 +02:00
interface.c
ldap_debug_handler.c
ldap_escape.c
memcache.c
messages_ctdbd.c s3:lib: s/struct event_context/struct tevent_context 2013-02-19 23:47:54 +01:00
messages_local.c s3-param: Rename loadparm_s3_context -> loadparm_s3_helpers 2012-06-27 17:11:16 +02:00
messages.c messages: Use uint8_t type. 2013-02-22 16:36:12 +01:00
ms_fnmatch.c
msg_channel.c s3:lib: make use of samba_tevent_context_init() 2013-02-19 23:47:47 +01:00
msg_channel.h s3: Add msg_channel 2012-04-17 10:21:01 +02:00
namearray.c
popt_common.c lib: Remove an unused variable 2013-06-11 21:52:09 +02:00
privileges.c s3:privileges: convert privileges.c to use dbwrap wrapper functions. 2011-10-11 14:17:57 +02:00
privileges.h
recvfile.c Ensure drain_socket() operates on a blocking socket. 2013-04-19 14:11:23 -07:00
sendfile.c s3: add Darwin sendfile support and merge with the FreeBSD code 2012-07-26 17:19:09 +02:00
server_contexts.c s3: Remove a bunch of calls to procid_self() 2011-12-12 21:50:25 +01:00
server_mutex.c s3:lib/server_mutex: open mutex.tdb with CLEAR_IF_FIRST 2013-04-03 09:53:08 +02:00
server_prefork_util.c s3-prefork: Fix code to retire children 2011-08-21 09:05:06 -04:00
server_prefork_util.h s3-prefork: add a few more utility functions 2011-08-21 09:05:05 -04:00
server_prefork.c s3-lib/server_prefork: Cast pid_t result to unsigned int for GNU/Solaris build 2013-03-15 10:38:40 -07:00
server_prefork.h s3-prefork: Listening fds must be in non-blocking mode 2011-08-21 09:05:07 -04:00
serverid.c s3:lib: readd the CTDB_CONTROL_CHECK_SRVIDS optimization to serverids_exist() 2012-08-24 13:43:33 +02:00
sessionid_tdb.c s3:lib: remove unused sessionid_*() functions 2012-10-19 12:15:01 +02:00
sharesec.c Change the S3 fileserver over to se_file_access_check(). 2012-08-31 20:29:13 -07:00
smbd_shim.c s3:smbd: add exit_server to the smbd_shim hooks 2012-10-19 12:14:58 +02:00
smbd_shim.h s3:smbd: add exit_server to the smbd_shim hooks 2012-10-19 12:14:58 +02:00
smbldap.c s3:lib: s/struct timed_event/struct tevent_timer 2013-02-19 23:47:58 +01:00
smbrun.c Make sure to set umask() before calling mkstemp(). 2013-03-06 01:16:34 +01:00
sock_exec.c s3-lib: Don't close the listener twice if we goto failed. 2012-12-12 23:14:44 +01:00
srprs.c s3:lib: use includes.h with cbuf and srprs 2012-09-07 23:39:45 +02:00
srprs.h s3:lib: use includes.h with cbuf and srprs 2012-09-07 23:39:45 +02:00
substitute_generic.c Finally remove all malloc()'s from the substitute code. Now totally 2012-01-27 03:43:21 +01:00
substitute.c Correctly check for errors in strlower_m() returns. 2012-08-09 12:08:18 -07:00
sysacls.c s3-lib: Make it clear that we want to fall trough here. 2012-12-21 13:56:01 +01:00
sysquotas_4A.c
sysquotas_4B.c s3: adopt the new sysquotas_4B support for BSD 2012-09-02 20:58:58 +02:00
sysquotas_linux.c
sysquotas_nfs.c s3-lib: Remove unsused variable from sys_get_nfs_quota(). 2012-12-12 15:00:02 +01:00
sysquotas_xfs.c s3:quota: clean up and consolidate the xfs quota checks and defines 2012-09-07 15:59:46 +02:00
sysquotas.c quota: add supprt for gfs2 2012-09-18 14:30:25 +02:00
system_smbd.c Replace all uses of setXX[ug]id() and setgroups with samba_setXX[ug]id() calls. 2012-06-28 17:15:16 -07:00
system.c Remove dependency on detection of HAVE_DIRFD for use of fdopendir(). 2013-04-12 16:21:09 +02:00
talloc_dict.c s3:talloc_dict: change to only use dbwrap wrapper functions 2011-10-11 14:17:57 +02:00
tallocmsg.c
tdb_validate.c TDB2: make SAMBA use tdb1 again for the moment. 2012-06-19 05:38:05 +02:00
tdb_validate.h
tevent_barrier.c s3: Implement tevent_barrier 2012-04-17 10:21:02 +02:00
tevent_barrier.h s3: Implement tevent_barrier 2012-04-17 10:21:02 +02:00
tevent_wait.c s3: Add tevent_wait_send/recv 2012-07-18 15:54:20 -07:00
tevent_wait.h s3: Add tevent_wait_send/recv 2012-07-18 15:54:20 -07:00
time.c s3: Use SBVAL in put_long_date_timespec 2012-09-19 01:16:25 +02:00
tldap_util.c s3:lib: make use of samba_tevent_context_init() 2013-02-19 23:47:47 +01:00
tldap.c s3-tldap: Make sure we don't deref a null pointer. 2013-02-22 16:36:12 +01:00
username.c Correctly check for errors in strlower_m() returns. 2012-08-09 12:08:18 -07:00
util_builtin.c s3:util add sid_check_is_wellknown_builtin() 2012-05-01 09:32:11 +02:00
util_cmdline.c util: Use new samba_getpass() function. 2012-12-03 14:35:08 +01:00
util_file.c Fix bug #9586 - smbd[29175]: disk_free: sys_popen() failed" message logged in /var/log/message many times. 2013-01-24 10:45:48 +01:00
util_malloc.c s3: Remove some unused code 2012-05-15 18:24:10 +02:00
util_names.c Check error returns from strupper_m() (in all reasonable places). 2012-08-09 12:06:54 -07:00
util_nscd.c
util_nttoken.c
util_sec.c Move set_thread_credentials_permanently() to set_thread_credentials() 2012-07-11 03:54:00 +02:00
util_sid_passdb.c s3:passdb: add sid_check_object_is_for_passdb() 2012-12-03 08:48:30 +01:00
util_sid_passdb.h s3:passdb: add sid_check_object_is_for_passdb() 2012-12-03 08:48:30 +01:00
util_sid.c s3-winbind: Fix bug #9052 resolving our own "Domain Local" groups. 2012-07-23 22:12:29 +02:00
util_sock.c Re-add umask(0) code removed by commit 3a7c2777ee 2013-06-18 04:31:27 +02:00
util_str.c lib: Fix CID 241650 Sizeof not portable 2013-05-12 17:44:55 +02:00
util_tdb.c util_tdb: add function tdb_data_string() 2013-04-18 13:15:11 +02:00
util_transfer_file.c s3-lib: Cleanup transfer_file_internal() a bit. 2012-12-21 13:56:01 +01:00
util_tsock.c
util_unixsids.c lib/util: Remove dummy wrapper for getgrnam(). 2012-03-24 15:25:48 +01:00
util_wellknown.c security: add local authority well-known SIDs 2011-11-24 19:01:08 +01:00
util.c Fix xx_path() - return check from mkdir() is incorrect. 2013-06-18 02:41:10 +02:00
version_test.c
version.c
winbind_util.c
winbind_util.h
wins_srv.c
xattr_tdb.c s3: Fix the build on FreeBSD 2012-04-19 19:13:45 +02:00
xattr_tdb.h s3-xattr_tdb: Be nice to xattr_tdb_getxattr callers, return the full blob 2012-04-18 12:05:00 +10:00