Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Mar 2001 22:16:11 +0000
From:      Tony Finch <dot@dotat.at>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   i386/25483: -STABLE LINT broken in linux_sigreturn() in i386/linux/linux_sysvec.c
Message-ID:  <E14YbMp-000OGY-00@hand.dotat.at>

next in thread | raw e-mail | index | archive | help

>Number:         25483
>Category:       i386
>Synopsis:       -STABLE LINT broken in linux_sigreturn() in i386/linux/linux_sysvec.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 01 14:20:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Tony Finch <dot@dotat.at>
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
Covalent Technologies, Inc.
>Environment:

FreeBSD hand.dotat.at 4.2-STABLE FreeBSD 4.2-STABLE #4: Wed Feb 21 00:26:12 GMT 2001     fanf@hand.dotat.at:/FreeBSD/obj/FreeBSD/releng4/sys/DELL-Latitude-CSx  i386

sources cvsupped Thu Mar 1 06:26:24 GMT 2001

>Description:

When compiling -STABLE LINT it fails as follows

cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer
-arith -Winline -Wcast-qual  -fformat-extensions -ansi -g -nostdinc -I- -I. -I/FreeBSD/releng4/sys -I/FreeB
SD/releng4/sys/../include  -D_KERNEL -include opt_global.h -elf -fno-builtin -mpreferred-stack-boundary=2  
/FreeBSD/releng4/sys/i386/linux/linux_sysvec.c
/FreeBSD/releng4/sys/i386/linux/linux_sysvec.c: In function `linux_sigreturn':
/FreeBSD/releng4/sys/i386/linux/linux_sysvec.c:482: structure has no member named `scp'
*** Error code 1

Stop in /FreeBSD/obj/FreeBSD/releng4/sys/LINT.
*** Error code 1

Stop in /FreeBSD/releng4.
*** Error code 1

Stop in /FreeBSD/releng4.


>How-To-Repeat:


>Fix:


Index: linux_sysvec.c
===================================================================
RCS file: /home/ncvs/src/sys/i386/linux/linux_sysvec.c,v
retrieving revision 1.55.2.5
diff -u -r1.55.2.5 linux_sysvec.c
--- linux_sysvec.c	2001/02/22 05:15:02	1.55.2.5
+++ linux_sysvec.c	2001/03/01 21:59:34
@@ -479,7 +479,7 @@
 
 #ifdef DEBUG
 	printf("Linux-emul(%ld): linux_sigreturn(%p)\n",
-	    (long)p->p_pid, (void *)args->scp);
+	    (long)p->p_pid, (void *)args->sfp);
 #endif
 	/*
 	 * The trampoline code hands us the sigframe.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E14YbMp-000OGY-00>