[Bug 216127] sbin/restore doesn't honour extended attributes (extattr on ufs)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 18 18:17:44 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216127

--- Comment #9 from commit-hook at freebsd.org ---
A commit references this bug:

Author: cem
Date: Wed Jan 18 18:16:58 UTC 2017
New revision: 312393
URL: https://svnweb.freebsd.org/changeset/base/312393

Log:
  restore(8): Handle extended attribute names correctly

  UFS2 extended attribute names are not NUL-terminated.  Handle
  appropriately.

  Correct the EXTATTR_BASE_LENGTH() macro, which handled ea_namelength ==
  one (mod eight) extended attributes incorrectly.

  PR:           216127
  Reported by:  dewayne at heuristicsystems.com.au
  Reviewed by:  kib@
  Sponsored by: Dell EMC Isilon
  Differential Revision:        https://reviews.freebsd.org/D9208

Changes:
  head/sbin/restore/dirs.c
  head/sbin/restore/extern.h
  head/sbin/restore/tape.c
  head/sys/sys/extattr.h
  head/sys/ufs/ufs/extattr.h

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-amd64 mailing list