NetBSD Problem Report #57851

From www@netbsd.org  Sun Jan 14 16:18:28 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 73FE21A9238
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 14 Jan 2024 16:18:28 +0000 (UTC)
Message-Id: <20240114161827.39D7F1A9239@mollari.NetBSD.org>
Date: Sun, 14 Jan 2024 16:18:27 +0000 (UTC)
From: rbranco@suse.de
Reply-To: rbranco@suse.de
To: gnats-bugs@NetBSD.org
Subject: hexdump(1) is not able to skip on files residing on pseudo-filesystems
X-Send-Pr-Version: www-1.0

>Number:         57851
>Category:       bin
>Synopsis:       hexdump(1) is not able to skip on files residing on pseudo-filesystems
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 14 16:20:00 +0000 2024
>Last-Modified:  Sun Jan 14 16:45:01 +0000 2024
>Originator:     Ricardo Branco
>Release:        NetBSD 10.0_RC2
>Organization:
>Environment:
>Description:
hexdump(1) is not able to skip on files residing on pseudo-filesystems
>How-To-Repeat:
To reproduce: `hexdump -s1 /proc/mounts` outputs nothing.
>Fix:
https://github.com/NetBSD/src/pull/21

>Audit-Trail:
From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/57851 CVS commit: src/usr.bin/hexdump
Date: Sun, 14 Jan 2024 11:42:59 -0500

 Module Name:	src
 Committed By:	christos
 Date:		Sun Jan 14 16:42:58 UTC 2024

 Modified Files:
 	src/usr.bin/hexdump: display.c

 Log Message:
 PR/57851: Ricardo Branco: stat(2) does not return correct size information
 for kernfs/procfs files. Minor KNF.


 To generate a diff of this commit:
 cvs rdiff -u -r1.25 -r1.26 src/usr.bin/hexdump/display.c

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

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.