NetBSD Problem Report #47222

From Manuel.Bouyer@lip6.fr  Tue Nov 20 15:46:16 2012
Return-Path: <Manuel.Bouyer@lip6.fr>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 4640663E802
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 20 Nov 2012 15:46:16 +0000 (UTC)
Message-Id: <20121120154611.CE5E85C@xen1.soc.lip6.fr>
Date: Tue, 20 Nov 2012 16:46:11 +0100 (MET)
From: Manuel.Bouyer@lip6.fr
Reply-To: Manuel.Bouyer@lip6.fr
To: gnats-bugs@gnats.NetBSD.org
Subject: "systat syscall" broken
X-Send-Pr-Version: 3.95

>Number:         47222
>Category:       bin
>Synopsis:       "systat syscall" broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 20 15:50:00 +0000 2012
>Closed-Date:    Tue Mar 28 08:04:03 +0000 2023
>Last-Modified:  Tue Mar 28 08:04:03 +0000 2023
>Originator:     Manuel Bouyer
>Release:        NetBSD 6.0_STABLE
>Organization:
>Environment:
System: NetBSD xen1.soc.lip6.fr 6.0_STABLE NetBSD 6.0_STABLE (GENERIC) #13: Tue Nov 20 16:05:43 CET 2012 bouyer@hop:/dsk/l1/misc/bouyer/tmp/amd64/obj/dsk/l1/misc/bouyer/netbsd-6/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
	'systat syscall' fails, and falls back to the default display with:
can't get syscall counts: Illegal seek
>How-To-Repeat:
	need to get some statistics about syscalls. try systat syscall.
>Fix:

>Release-Note:

>Audit-Trail:
From: Havard Eidnes <he@netbsd.org>
To: Manuel.Bouyer@lip6.fr
Cc: gnats-bugs@NetBSD.org
Subject: Re: bin/47222: "systat syscall" broken
Date: Tue, 20 Nov 2012 17:21:59 +0100 (CET)

 Hi,

 if it's any consolation, it's broken in 5.1 as well: as a normal
 user I first get

   can't get syscall counts: No such file or directory

 and then on next update

   can't get syscall counts: Permission denied

 whereas as root, I just get

   can't get syscall counts: No such file or directory

 It seems this feature isn't present in 4.0, so it's an open
 question whether this has ever worked in any proper release...

 Regards,

 - H=E5vard

From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/47222 CVS commit: src/usr.bin/systat
Date: Thu, 22 Nov 2012 19:05:19 -0500

 Module Name:	src
 Committed By:	christos
 Date:		Fri Nov 23 00:05:19 UTC 2012

 Modified Files:
 	src/usr.bin/systat: syscall.c

 Log Message:
 PR/47222: Manuel Bouyer: Fix syscall display to show something reasonable.


 To generate a diff of this commit:
 cvs rdiff -u -r1.7 -r1.8 src/usr.bin/systat/syscall.c

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

State-Changed-From-To: open->feedback
State-Changed-By: kre@NetBSD.org
State-Changed-When: Tue, 28 Mar 2023 00:15:45 +0000
State-Changed-Why:
Christos seems to have fixed this back when it was reported (2012).
Please close the PR if there aren't any remaining issues.


State-Changed-From-To: feedback->closed
State-Changed-By: bouyer@NetBSD.org
State-Changed-When: Tue, 28 Mar 2023 08:04:03 +0000
State-Changed-Why:
Confirmed fixed in netbsd-9 and netbsd-10


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.