NetBSD Problem Report #32383
From paul@Plectere.com Sun Dec 25 18:45:39 2005
Return-Path: <paul@Plectere.com>
Received: from Plectere.com (smtp.mpa0.Plectere.COM [64.32.188.109])
by narn.netbsd.org (Postfix) with ESMTP id 800C663BB5E
for <gnats-bugs@gnats.NetBSD.org>; Sun, 25 Dec 2005 18:45:39 +0000 (UTC)
Message-Id: <200512251845.jBPIjdH3017939@Plectere.com>
Date: Sun, 25 Dec 2005 10:45:39 -0800 (PST)
From: paul@Plectere.com
Reply-To: paul@Plectere.com
To: gnats-bugs@netbsd.org
Subject: /usr/src/sys/arch/i386/i386/syscall.c doesn't compile
X-Send-Pr-Version: 3.95
>Number: 32383
>Category: port-i386
>Synopsis: proc -> lwp conversion incomplete; Build fails
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: port-i386-maintainer
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Dec 25 18:50:00 +0000 2005
>Closed-Date: Sun Dec 25 18:52:54 +0000 2005
>Last-Modified: Sun Dec 25 18:52:54 +0000 2005
>Originator: Paul Shupak
>Release: NetBSD 3.99.15
>Organization:
>Environment:
System: NetBSD svcs 3.99.10 NetBSD 3.99.10 (SVCS) #22: Wed Oct 19 14:35:15 PDT 2005 root@svcs:/sys/arch/i386/compile/SVCS i386
Architecture: i386
Machine: i386
>Description:
If compiled with OPTION KTRACE, the file .../arch/i386/i386/syscall.c
passes a proc * where a lwp * is expected.
>How-To-Repeat:
Try to build a kernel for i386 with option KTRACE
>Fix:
Trivial patch
Index: syscall.c
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/i386/syscall.c,v
retrieving revision 1.31
diff -r1.31 syscall.c
346c346
< ktrsysret(p, SYS_fork, 0, 0);
---
> ktrsysret(l, SYS_fork, 0, 0);
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: rpaulo@netbsd.org
State-Changed-When: Sun, 25 Dec 2005 18:52:54 +0000
State-Changed-Why:
Your source is out of date. If you are using a mirror please inform the
mirror maintainer and cvs up from anoncvs.netbsd.org instead.
Thanks.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.