lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080506134655.4cac1014.akpm@linux-foundation.org>
Date:	Tue, 6 May 2008 13:46:55 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Jeff Dike <jdike@...toit.com>
Cc:	nix@...eri.org.uk, linux-kernel@...r.kernel.org,
	user-mode-linux-devel@...ts.sourceforge.net
Subject: Re: [PATCH 11/19] UML - Track and make up lost ticks

On Tue, 29 Apr 2008 16:29:25 -0400
Jeff Dike <jdike@...toit.com> wrote:

> On Tue, Apr 29, 2008 at 07:54:02PM +0100, Nix wrote:
> > On 25 Apr 2008, Jeff Dike stated, in part:
> > > Index: linux-2.6-git/arch/um/os-Linux/time.c
> > > ===================================================================
> > > --- linux-2.6-git.orig/arch/um/os-Linux/time.c	2008-04-25 10:42:12.000000000 -0400
> > > +++ linux-2.6-git/arch/um/os-Linux/time.c	2008-04-25 11:19:26.000000000 -0400
> > > +	alarm_handler(SIGVTALRM, NULL);
> > > +		alarm_handler(SIGVTALRM, NULL);
> > > -extern void alarm_handler(int sig, struct sigcontext *sc);
> > > -		alarm_handler(SIGVTALRM, NULL);
> > 
> > Yet, in arch/um/include/process.h, we see, unchanged since the year dot, the
> > obviously wrong prototype:
> > 
> > extern void alarm_handler(int sig, struct sigcontext sc);
> > 
> > Hence:
> > 
> >   CC      arch/um/os-Linux/time.o
> > arch/um/os-Linux/time.c: In function ‘deliver_alarm’:
> > arch/um/os-Linux/time.c:119: error: incompatible type for argument 2 of ‘alarm_handler’
> > make[1]: *** [arch/um/os-Linux/time.o] Error 1
> > make: *** [arch/um/os-Linux] Error 2
> > 
> > Fix trivial:
> > 
> > Signed-off-by: Nick Alcock <nix@...eri.org.uk>
> > -- 
> > Index: linux/arch/um/include/process.h
> > ===================================================================
> > --- linux.orig/arch/um/include/process.h	2006-07-09 14:19:52.000000000 +0100
> > +++ linux/arch/um/include/process.h	2008-04-29 19:49:49.000000000 +0100
> > @@ -8,8 +8,8 @@
> >  
> >  #include <signal.h>
> >  
> > -extern void sig_handler(int sig, struct sigcontext sc);
> > -extern void alarm_handler(int sig, struct sigcontext sc);
> > +extern void sig_handler(int sig, struct sigcontext *sc);
> > +extern void alarm_handler(int sig, struct sigcontext *sc);
> >  
> >  #endif
> 
> Crap, I fixed that, but forgot to quilt add it, I guess.
> 
> ACK.
> 

This fix was already present in your "[PATCH 4/19] UML - Random driver fixes".

Perhaps we broke bisection?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ