Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 May 2019 19:01:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 237954] /usr/bin/hexdump fails with capabilities error when used with -s option
Message-ID:  <bug-237954-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237954

            Bug ID: 237954
           Summary: /usr/bin/hexdump fails with capabilities error when
                    used with -s option
           Product: Base System
           Version: 12.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: ak@FreeBSD.org

Not sure if you're the right person, but you're the last who
touched hexdump -s option's logic, so it's worth a shot.

The hexdump on FreeBSD 12.0 fails with capabilities error when used with -s
option:
$hexdump -s 1 -n 1 -e '"%c""\n"' /etc/rc
hexdump: /etc/rc: Capabilities insufficient

It seems that it misses CAP_SEEK_TELL right.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237954-227>