CVS commit: src/sbin/savecore

2011-08-29 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Mon Aug 29 14:30:38 UTC 2011

Modified Files:
src/sbin/savecore: savecore.c

Log Message:
static + __dead


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/sbin/savecore/savecore.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sbin/savecore

2011-09-12 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 12 21:22:08 UTC 2011

Modified Files:
src/sbin/savecore: savecore.c

Log Message:
- always print corrupted dump messages instead of silently failing
- don't require /var/crash to be specified, default to it
- determine and print the kernel name
- print all messages to syslog


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/sbin/savecore/savecore.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sbin/savecore

2011-09-12 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 12 21:22:27 UTC 2011

Modified Files:
src/sbin/savecore: savecore.8

Log Message:
document that dumpdir is now optional


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sbin/savecore/savecore.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sbin/savecore

2011-09-13 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Sep 13 08:54:11 UTC 2011

Modified Files:
src/sbin/savecore: savecore.8

Log Message:
Fix typo.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sbin/savecore/savecore.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sbin/savecore

2011-09-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Sep 13 19:55:28 UTC 2011

Modified Files:
src/sbin/savecore: savecore.c

Log Message:
print the missing flag if missing argument...


To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.84 src/sbin/savecore/savecore.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sbin/savecore

2012-12-25 Thread Marc Balmer
Module Name:src
Committed By:   mbalmer
Date:   Tue Dec 25 09:24:45 UTC 2012

Modified Files:
src/sbin/savecore: zopen.c

Log Message:
Consistent use of return.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sbin/savecore/zopen.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sbin/savecore

2013-05-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon May 13 18:44:11 UTC 2013

Modified Files:
src/sbin/savecore: savecore.c

Log Message:
- avoid using globals where it is simple.
- simplify: only use stdio for output.


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/sbin/savecore/savecore.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sbin/savecore

2020-04-03 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri Apr  3 19:09:43 UTC 2020

Modified Files:
src/sbin/savecore: savecore.c

Log Message:
Avoid overflows when reading strings.


To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 src/sbin/savecore/savecore.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sbin/savecore

2017-01-09 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Jan 10 04:42:20 UTC 2017

Modified Files:
src/sbin/savecore: zopen.c

Log Message:
Adapt funopen(3) call after switch to new zlib(3)

In the prototype of the gzclose() function of changed from:

  typedef struct gzFile_s *gzFile;/* semi-opaque gzip file descriptor */

to:

  typedef voidp gzFile;

This caused type mismatch when calling funopen(3) as:
   'int (*)(void *)' != 'int (*)(struct gzFile_s *)'

Cast gzclose to (int (*)(void *)) when used in funopen(3).


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sbin/savecore/zopen.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sbin/savecore

2018-11-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Nov  6 04:07:22 UTC 2018

Modified Files:
src/sbin/savecore: savecore.c

Log Message:
put a bunch of the kvm_read + warn on failure code into a macro that
describes more about what failed.  now errors tell you which actual
variable was being requested instead of simply saying "not yours".

tested on amd64 as working.  written for arm64 testing.


To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 src/sbin/savecore/savecore.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sbin/savecore

2018-12-27 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Dec 27 21:25:46 UTC 2018

Modified Files:
src/sbin/savecore: savecore.c

Log Message:
avoid infinite loop in kmem_check().  fixes bug introduced in previous.


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/sbin/savecore/savecore.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.