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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <86802c440809191747g1fb05eeeh7c8195da5941c604@mail.gmail.com>
Date:	Fri, 19 Sep 2008 17:47:45 -0700
From:	"Yinghai Lu" <yhlu.kernel@...il.com>
To:	"Arjan van de Ven" <arjan@...radead.org>
Cc:	linux-kernel@...r.kernel.org, mingo@...e.hu
Subject: Re: sparse_irq: userspace ABI breakage in -tip tree

On Fri, Sep 19, 2008 at 5:44 PM, Arjan van de Ven <arjan@...radead.org> wrote:
> On Fri, 19 Sep 2008 17:10:42 -0700
> "Yinghai Lu" <yhlu.kernel@...il.com> wrote:
>
>> On Fri, Sep 19, 2008 at 3:53 PM, Arjan van de Ven
>> <arjan@...radead.org> wrote:
>> >
>> > commit 70426a06a58561c401e64c5767d71a011d4b978b
>> > Author: Yinghai Lu <yhlu.kernel@...il.com>
>> > Date:   Tue Aug 19 20:50:27 2008 -0700
>> >
>> >    x86: make 32 bit to use sparse_irq
>> >
>> > @@ -285,7 +303,7 @@ int show_interrupts(struct seq_file *p, void *v)
>> >                action = desc->action;
>> >                if (!action && !any_count)
>> >                        goto skip;
>> > -               seq_printf(p, "%3d: ",i);
>> > +               seq_printf(p, "%#x: ",i);
>> >  #ifndef CONFIG_SMP
>> >                seq_printf(p, "%10u ", kstat_irqs(i));
>> >  #else
>> >
>> >
>> > this is a userspace ABI breakage; you're changing /proc/interrupts
>> > from decimal to hex! This file is used by both humans and computer
>> > programs, and the humans will get confused, but the computer
>> > programs will break. Not a good idea to put into mainline.
>>
>> change back to decimal could help?
>
> that's a minimum; someone (you?) needs to check if there are other
> things changed in the format of this file....

does the ABI require the irq number in ascend sequence in /proc/interrupts?

also how about /proc/stat?

YH
--
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