1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3
Anoop C S 656f2a9dcd s3/dump_core: Honour pipe symbol (|) in system-wide core_pattern under linux
From man core(5):

"Since  kernel  2.6.19, Linux supports an alternate syntax for the
/proc/sys/kernel/core_pattern file.  If the first character of this
file is a pipe symbol (|), then the remainder of the line is interpreted
as a user-space program to be executed."

Discarding this symbol would result in misleading logs for smbd/nmbd/winbindd.
For example even if core_pattern contains '|', smbd logs would suggest the
following:

...
dumping core in /var/log/samba/cores/smbd
...

and coredump may or may not get created at that location depending on which
helper binary is being used for handling coredumps.

Signed-off-by: Anoop C S <anoopcs@redhat.com>
Reviewed-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2016-11-23 20:49:28 +01:00
..
auth lib: Remove global xfile.h includes 2016-11-20 06:23:19 +01:00
build
client lib: Remove global xfile.h includes 2016-11-20 06:23:19 +01:00
exports
groupdb Update smbrun to allow for settings environment variables. 2016-10-13 04:26:26 +02:00
include s3:spoolss: Add support for COPY_FROM_DIRECTORY in AddPrinterDriverEx 2016-11-20 17:29:07 +01:00
intl
lib s3/dump_core: Honour pipe symbol (|) in system-wide core_pattern under linux 2016-11-23 20:49:28 +01:00
libads lib: Fix an uninitialized variable 2016-10-19 01:26:14 +02:00
libgpo werror: replace WERR_INVALID_PARAM with WERR_INVALID_PARAMETER in source3/libgpo/ 2016-09-28 00:04:22 +02:00
libnet Update smbrun to allow for settings environment variables. 2016-10-13 04:26:26 +02:00
librpc s3:gse: We need to use the users realm in the target_principal 2016-11-15 11:00:26 +01:00
libsmb s3:libsmb: make use of cli_{session_setup,rpc_pipe_open_with}_creds() in passchange.c 2016-11-15 11:00:29 +01:00
locale s3: fix encryption help messages 2015-12-22 02:22:50 +01:00
locking smbd: ignore ctdb tombstone records in fetch_share_mode_unlocked_parser() 2016-08-08 14:26:24 +02:00
modules vfs: ceph: convert to new DBG_* macros 2016-11-21 03:34:26 +01:00
nmbd lib: Remove global xfile.h includes 2016-11-20 06:23:19 +01:00
param param: validate value in lp_canonicalize_parameter_with_value() 2016-11-23 13:00:21 +01:00
passdb Update smbrun to allow for settings environment variables. 2016-10-13 04:26:26 +02:00
printing s3:spoolss: Add support for COPY_FROM_DIRECTORY in AddPrinterDriverEx 2016-11-20 17:29:07 +01:00
profile s3-profile: reduce dependencies of smbprofile.h 2016-03-28 20:45:16 +02:00
registry werror: replace WERR_OBJECT_PATH_INVALID with WERR_BAD_PATHNAME in source3/registry/reg_api_regf.c 2016-09-28 00:04:24 +02:00
rpc_client spoolss: Use correct values for secdesc and devmode pointers 2016-11-11 22:57:22 +01:00
rpc_server s3-spoolss: use architecture in spoolss_MonitorInfo calls consistently 2016-11-21 14:52:24 +01:00
rpcclient s3:rpcclient: Use messaging_init_client() 2016-11-16 00:20:06 +01:00
script s3:tests: Set missing directories for test_registry_upgrade.sh 2016-11-16 00:20:06 +01:00
selftest s3:selftest: run some rpcclient tests with "packet" 2016-10-26 11:20:17 +02:00
services Update smbrun to allow for settings environment variables. 2016-10-13 04:26:26 +02:00
smbd s3/smbd: fix the last resort check that sets the file type attribute 2016-11-19 11:55:35 +01:00
torture s3:torture: make use of auth_generic_set_creds() in test_smb2.c 2016-11-15 11:00:29 +01:00
utils s3-net: use SMB_SIGNING_DEFAULT in connect_to_service() 2016-11-23 16:52:38 +01:00
web
winbindd lib: Remove global xfile.h includes 2016-11-20 06:23:19 +01:00
.clang_complete lib: Remove tdb_compat 2015-03-17 11:30:52 +01:00
.dmallocrc
.indent.pro
change-log
Doxyfile
mainpage.dox
smbadduser.in
wscript VFS: convert to using ceph_statx structures and functions, when available 2016-11-20 23:43:13 +01:00
wscript_build Move source3/lib/access.c to toplevel lib/util/access.c 2016-11-16 12:41:09 +01:00
wscript_configure_system_ncurses Transition to waf 1.8: wrapped conf.check_cfg 2015-03-16 03:00:07 +01:00