patch-doc_cpio_1 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. $OpenBSD: patch-doc_cpio_1,v 1.4 2015/09/17 20:16:49 naddy Exp $
  2. CVE-2015-1197: cpio directory traversal
  3. --- doc/cpio.1.orig Sat Sep 12 12:57:30 2015
  4. +++ doc/cpio.1 Wed Sep 16 23:20:28 2015
  5. @@ -15,9 +15,9 @@
  6. .\" along with GNU cpio. If not, see <http://www.gnu.org/licenses/>.
  7. .TH CPIO 1 "December 1, 2014" "CPIO" "GNU CPIO"
  8. .SH NAME
  9. -cpio \- copy files to and from archives
  10. +gcpio \- copy files to and from archives
  11. .SH SYNOPSIS
  12. -.B cpio
  13. +.B gcpio
  14. {\fB\-o\fR|\fB\-\-create\fR} [\fB\-0acvABLV\fR] [\fB\-C\fR \fIBYTES\fR]
  15. [\fB\-H\fR \fIFORMAT\fR] [\fB\-M\fR \fIMESSAGE\fR]
  16. [\fB\-O\fR [[\fIUSER\fB@\fR]\fIHOST\fB:\fR]\fIARCHIVE\fR]
  17. @@ -31,7 +31,7 @@ cpio \- copy files to and from archives
  18. [\fB\-\-force\-local\fR] [\fB\-\-rsh\-command=\fICOMMAND\fR]
  19. \fB<\fR \fIname-list\fR [\fB>\fR \fIarchive\fR]
  20. -.B cpio
  21. +.B gcpio
  22. {\fB\-i\fR|\fB\-\-extract\fR} [\fB\-bcdfmnrtsuvBSV\fR] [\fB\-C\fR \fIBYTES\fR]
  23. [\fB\-E\fR \fIFILE\fR] [\fB\-H\fR \fIFORMAT\fR]
  24. [\fB\-M\fR \fIMESSAGE\fR] [\fB\-R\fR [\fIUSER\fR][\fB:.\fR][\fIGROUP\fR]]
  25. @@ -50,9 +50,10 @@ cpio \- copy files to and from archives
  26. [\fB\-\-force\-local\fR] [\fB\-\-no\-absolute\-filenames\fR] [\fB\-\-sparse\fR]
  27. [\fB\-\-only\-verify\-crc\fR] [\fB\-\-to\-stdout\fR] [\fB\-\-quiet\fR]
  28. [\fB\-\-rsh\-command=\fICOMMAND\fR]
  29. +[\fB\-\-extract\-over\-symlinks\fR]
  30. [\fIpattern\fR...] [\fB<\fR \fIarchive\fR]
  31. -.B cpio
  32. +.B gcpio
  33. {\fB\-p\fR|\fB\-\-pass\-through\fR} [\fB\-0adlmuvLV\fR]
  34. [\fB\-R\fR [\fIUSER\fR][\fB:.\fR][\fIGROUP\fR]]
  35. [\fB\-\-null\fR] [\fB\-\-reset\-access\-time\fR]
  36. @@ -63,7 +64,7 @@ cpio \- copy files to and from archives
  37. [\fB\-\-no\-preserve\-owner\fR] [\fB\-\-sparse\fR]
  38. \fIdestination-directory\fR \fB<\fR \fIname-list\fR
  39. -.B cpio
  40. +.B gcpio
  41. {\fB\-?\fR|\fB\-\-help\fR|\fB\-\-usage\fR|\fB\-\-version\fR}
  42. .SH NOTE
  43. This manpage is a short description of GNU \fBcpio\fR. For a detailed