search for: wcoredump

Displaying 20 results from an estimated 22 matches for "wcoredump".

Did you mean: coredump
2020 Mar 28
0
[klibc:update-dash] dash: jobs: Replace some uses of fmtstr with stpcpy/stpncpy
...- int col; + char *s = os; int st; - col = 0; st = WEXITSTATUS(status); if (!WIFEXITED(status)) { #if JOBS @@ -425,21 +424,21 @@ sprint_status(char *s, int status, int sigonly) goto out; #endif } - col = fmtstr(s, 32, strsignal(st)); + s = stpncpy(s, strsignal(st), 32); #ifdef WCOREDUMP if (WCOREDUMP(status)) { - col += fmtstr(s + col, 16, " (core dumped)"); + s = stpcpy(s, " (core dumped)"); } #endif } else if (!sigonly) { if (st) - col = fmtstr(s, 16, "Done(%d)", st); + s += fmtstr(s, 16, "Done(%d)", st); else - co...
2003 Nov 17
1
rsync --daemon and logfile that can't be created
...tpid() = 15154 15154 time(NULL) = 1069070906 15154 --- SIGSEGV (Segmentation fault) @ 0 (0) --- 15154 +++ killed by SIGSEGV +++ 15153 --- SIGCHLD (Child exited) @ 0 (0) --- 15153 waitpid(-1, [WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV && WCOREDUMP(s)], WNOHANG) = 15154 15153 waitpid(-1, 0xbffff864, WNOHANG) = -1 ECHILD (No child processes) 15153 sigreturn() = ? (mask now []) 15153 exit_group(0) = ? 1) It's a bother that it first daemonizes itself and then checks the config etc., giving no fe...
2000 May 15
1
AIX authenticate patches
...nel_after_select(&readset, &writeset); process_input(&readset); --- session.c.orig Wed May 10 10:23:59 2000 +++ session.c Wed May 10 16:16:06 2000 @@ -27,6 +27,13 @@ #include "ssh2.h" #include "auth.h" +#ifndef WCOREFLG +#define WCOREFLG 0200 +#endif +#ifndef WCOREDUMP +#define WCOREDUMP(stat) ((stat)&WCOREFLG) +#endif + /* types */ #define TTYSZ 64 @@ -83,6 +90,10 @@ /* data */ #define MAX_SESSIONS 10 Session sessions[MAX_SESSIONS]; +#ifdef WITH_AIXAUTHENTICATE +/* AIX's lastlogin message, set in auth1.c */ +char *aixloginmsg; +#endif /* WITH_AIX...
2020 Nov 09
4
[[PATCH v1 0/3] Fix clang build warnings
New clangs emit some warnings. The code isn't wrong, but should be updated to prevent warning creep. Bill Wendling (3): [klibc] dash: shell: Fix clang warnings [klibc] dash: shell: Fix clang warnings about format string [klibc] Kbuild: use an enum to silence a clang warning usr/dash/eval.c | 6 +++--- usr/dash/jobs.c | 2 +- usr/kinit/nfsmount/dummypmap.c
2008 Dec 02
2
my_vsnprintf crash on HP-UX
.................................................................................................................... [entry] [5301] exit(6) [implicit (kill failure)] ................................................................................................................... WIFSIGNALED(SIGABRT)|WCOREDUMP [5295] waitpid(-1, WIFSIGNALED(SIGABRT)|WCOREDUMP, WNOHANG) ................................................................................................ = 5301 [5302] kill(5301, SIG#0) .................................................................................................................
2020 Mar 27
2
[PATCH v2 5/5] Clean up clang warnings
...b/usr/dash/jobs.c index 009bbfeee47e..776983b708d6 100644 --- a/usr/dash/jobs.c +++ b/usr/dash/jobs.c @@ -426,7 +426,7 @@ sprint_status(char *s, int status, int sigonly) goto out; #endif } - col = fmtstr(s, 32, strsignal(st)); + col = fmtstr(s, 32, "%s", strsignal(st)); #ifdef WCOREDUMP if (WCOREDUMP(status)) { col += fmtstr(s + col, 16, " (core dumped)"); @@ -1394,7 +1394,7 @@ cmdputs(const char *s) str = "${"; goto dostr; case CTLENDVAR: - str = "\"}" + !(quoted & 1); + str = &"\"}"[!(quoted & 1...
2000 Sep 28
1
[PATCH] Next cleanup part 4 or 5 by now.=)
Changes: * Removed utimes() posix hack since scp.c moved to utimes() * Fixed waitpid() to be more proper. It was driving me nuts. * Made setsid() a #define in next-posix.h * Removed WCOREDUMP() from next-posix.h since we really don't support it and now #ifdef .. #else .. #endif around the single place it was used. * Fixed typecasting issue in sshd.c with sizeof() returning "long int" on next when we expect "int". Current known issues: * sftp-server still...
2008 Nov 06
2
Compilation of 1.1.6 fails on HP-UX 11.31
Hi, $ uname -srv HP-UX B.11.31 U $ cc --version cc: HP C/aC++ B3910B A.06.20 [May 13 2008] Compilation fails, output of configure and make are given below. The cause of this is almost certainly that this version of HP-UX does define the QCMD macro in sys/quota.h (checked in the ifdef line 26 dovecot-1.1.6/src/plugins/quota/quota-fs.h) as well as the dqblk struct, but the latter with different
2001 Jan 23
0
Build Problem
...-waitpid.h:39: warning: `WTERMSIG' redefined /usr/include/sys/wait.h:84: warning: this is the location of the previous definition bsd-waitpid.h:40: warning: `WCOREFLAG' redefined /usr/include/sys/wait.h:91: warning: this is the location of the previous definition bsd-waitpid.h:41: warning: `WCOREDUMP' redefined /usr/include/sys/wait.h:92: warning: this is the location of the previous definition In file included from openbsd-compat.h:33, from includes.h:95, from bsd-arc4random.c:25: fake-socket.h:9: warning: `_SS_PADSIZE' redefined /usr/include/bits/sock...
2001 Jul 26
0
Problems during building openssh-2.9p2 on solaris2.8
...' redefined /usr/include/sys/wait.h:78: warning: this is the location of the previous definition ./openbsd-compat/bsd-waitpid.h:41: warning: `WTERMSIG' redefined /usr/include/sys/wait.h:79: warning: this is the location of the previous definition ./openbsd-compat/bsd-waitpid.h:43: warning: `WCOREDUMP' redefined /usr/include/sys/wait.h:69: warning: this is the location of the previous definition In file included from ../openbsd-compat/openbsd-compat.h:40, from ../includes.h:102, from bsd-arc4random.c:25: ./openbsd-compat/fake-socket.h:10: warning: `_SS_MAXSI...
2014 Apr 16
1
[Bug 10555] New: checksum-reading.diff causes rsync to segfault with large amount of files
...protocol data stream (code 12) at io.c(226) [sender=3.1.1pre1] dmesg: rsync[38216]: segfault at 2a36 ip 00000000004209b6 sp 00007fffa6fc7e50 error 6 in rsync[400000+6b000] strace: ... --- SIGCHLD (Child exited) @ 0 (0) --- wait4(-1, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV && WCOREDUMP(s)}], WNOHANG, NULL) = 8792 wait4(-1, 0x7fff1fcd221c, WNOHANG, NULL) = -1 ECHILD (No child processes) ... Works with small amount of files in directory. Does not work with large amount of files in directory. If I compile without the checksum-reading.diff, the binary works fine with both large fi...
2005 Sep 23
1
Unexplained error
Hello, I like to use rsync to transfer over mine and other peoples ever changing mail folder onto a remote server. My Server (FreeBSD 5.4) RSYNC Version is: 2.6.6 Protocol Version 29 My Client (OSX 10.4.2) RSYNC Version is: 2.6.3 Protocol Version 28 I use this command rsync -vvv --progress --stats --recursive --times \ --perms --links \ --delete /test/my?email?folder/*
2020 Mar 27
12
[PATCH 0/5] Clang compatibility patches
This is a series of patches for clang compatibility: - Using flags needed flags and removing unsupported flags. - Adding support for clang's LLD linker. - Removing a variety of warnings. Bill Wendling (3): [klibc] Kbuild: use "libc.a" with clang [klibc] Kbuild: Add "-fcommon" for clang builds [klibc] Clean up clang warnings Michael Davidson (1): [klibc] Kbuild:
2010 Oct 19
3
[PATCH] Fix up 3 klibc build warnings.
...ash/jobs.c b/usr/dash/jobs.c index bf770dd..43b6b98 100644 --- a/usr/dash/jobs.c +++ b/usr/dash/jobs.c @@ -424,7 +424,7 @@ sprint_status(char *s, int status, int sigonly) goto out; #endif } - col = fmtstr(s, 32, strsignal(st)); + col = fmtstr(s, 32, "%s", strsignal(st)); if (WCOREDUMP(status)) { col += fmtstr(s + col, 16, " (core dumped)"); } diff --git a/usr/dash/trap.c b/usr/dash/trap.c index 18c3cd1..d6706c6 100644 --- a/usr/dash/trap.c +++ b/usr/dash/trap.c @@ -351,7 +351,7 @@ exitshell(void) { struct jmploc loc; char *p; - int status; + volatile int st...
2000 May 17
4
Openssh-2.1.0p1 test release
...ative command time rather than the time between reads after select() - 'fixprogs' perl script to eliminate non-working entropy commands, and optionally run 'ent' to measure command entropy - Applied Tom Bertelson's <tbert at abac.com> AIX authentication fix - Avoid WCOREDUMP complation errors for systems that lack it - Avoid SIGCHLD warnings from entropy commands - Fix HAVE_PAM_GETENVLIST setting from Simon Wilkinson <sxw at dcs.ed.ac.uk> - OpenBSD CVS update: - markus at cvs.openbsd.org [ssh.c] fix usage() [ssh2.h] draft-ietf-secsh-archite...
2000 May 12
0
SunOS 4.x port
..._IN_SS) && defined(HAVE_SA_FAMILY_IN_SS) */ @@ -279,5 +284,10 @@ #if defined(BROKEN_GETADDRINFO) && defined(HAVE_GETADDRINFO) # undef HAVE_GETADDRINFO #endif /* defined(BROKEN_GETADDRINFO) && defined(HAVE_GETADDRINFO) */ + +#ifdef SUNOS4 +# define atexit on_exit +# define WCOREDUMP(x) (((union __wait*)&(x))->__w_coredump) +#endif #endif /* _DEFINES_H */ --- auth-passwd.c.DIST Sat Apr 29 08:47:29 2000 +++ auth-passwd.c Fri May 12 16:07:36 2000 @@ -28,6 +28,11 @@ #ifdef HAVE_SHADOW_H # include <shadow.h> #endif +#ifdef HAVE_GETPWANAM +# include <sys/label....
2001 Feb 08
5
Daily snapshots...
....h:39: warning: `WTERMSIG' redefined ] /usr/include/sys/wait.h:84: warning: this is the location of the previous definition ] bsd-waitpid.h:40: warning: `WCOREFLAG' redefined ] /usr/include/sys/wait.h:91: warning: this is the location of the previous definition ] bsd-waitpid.h:41: warning: `WCOREDUMP' redefined ] /usr/include/sys/wait.h:92: warning: this is the location of the previous definition ] In file included from openbsd-compat.h:35, ] from ../includes.h:95, ] from bsd-arc4random.c:25: ] fake-socket.h:9: warning: `_SS_PADSIZE' redefined ] /usr/in...
2002 Oct 08
2
Memory fault on HP-UX 11.0, 3.4p1
Is this a known issue? (ignore the pervasive MS-outlook capitalization) Ssh-agent /bin/ksh Ssh-add /root/.ssh/id_rsa Blah blah Ssh -vvv some_server date ... debug1: ssh_rsa_verify: signature correct debug1: kex_derive_keys debug1: newkeys: mode 1 debug1: Enabling compression at level 6. debug1: SSH2_MSG_NEWKEYS sent debug1: waiting for SSH2_MSG_NEWKEYS debug1: newkeys: mode 0 debug1:
2003 Dec 30
8
[Bug 651] SCO 3.2v4.2 and OpenSSH 3.7.1p1 --> connection hangs and does not close (ssh2 only)
...39; redefined /usr/include/sys/wait.h:82: warning: this is the location of the previous definition ../openbsd-compat/bsd-waitpid.h:43: warning: `WTERMSIG' redefined /usr/include/sys/wait.h:84: warning: this is the location of the previous definition ../openbsd-compat/bsd-waitpid.h:45: warning: `WCOREDUMP' redefined /usr/include/sys/wait.h:94: warning: this is the location of the previous definition *** Error code 1 *** Error code 1 [root at sco]: /usr/home/dev/openssh # ls .. please advise ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watchin...
2003 Sep 06
20
[Bug 615] OpenSSH 3.6.1p2 ON SCO 3.2v4.2 + STRICTMODES -->yes (broken dirname in libgen)
http://bugzilla.mindrot.org/show_bug.cgi?id=615 ------- Additional Comments From dtucker at zip.com.au 2003-09-06 12:51 ------- Created an attachment (id=387) --> (http://bugzilla.mindrot.org/attachment.cgi?id=387&action=view) Move libgen test after dirname test Looked at this again, I think the reason it's not working is libgen has already been detected before the dirname test,