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: <470F79B6.3070508@tmr.com>
Date:	Fri, 12 Oct 2007 09:42:14 -0400
From:	Bill Davidsen <davidsen@....com>
To:	Alan Cox <alan@...rguk.ukuu.org.uk>
CC:	Ingo Molnar <mingo@...e.hu>, Oleg Verych <olecom@...wer.upol.cz>,
	Willy Tarreau <w@....eu>,
	Rene Herman <rene.herman@...access.nl>,
	Jan Engelhardt <jengelh@...putergmbh.de>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Dave Jones <davej@...hat.com>,
	Krzysztof Halasa <khc@...waw.pl>,
	Medve Emilian-EMMEDVE1 <Emilian.Medve@...escale.com>,
	Helge Deller <deller@....de>
Subject: Re: "Re: [PATCH 0/2] Colored kernel output (run2)" + "`Subject:'
   usage"

Alan Cox wrote:
>> Jan's code is here today and it works fine for me. How can you 
>> coherently argue against the plain fact that his feature solves my 
>> usecases perfectly fine,
> 
> So add a notifier for console printk output. Then you can keep whatever
> out of kernel patches you like for printk output in chinese, colour,
> swedish chef ...
> 
> And of those the chinese is probably a good deal more relevant than the
> colour.
> 
If kernel printing were going to be done over, I would suggest that 
instead of the current fixed format strings, the format argument would 
be an index, an ordinal into an array of *char pointers, and the string 
so described would be used as the format. These strings and pointers 
could be put in two modules, one part of init to be released after boot 
like other init code, one resident. And by loading different modules the 
error messages could be as short, long, or colorful as desired, and in 
any language and/or character set available via escape sequence.

Of course people would say it's larger than what we have, harder to use, 
would take a huge effort to convert existing messages... and that's all 
true. But as you said, the Chinese is probably more germane than colors. 
Think about it, kernel messages in Gaelic or even rap lyrics
   "Hate to tell you,
    it must be said,
    I can't boot
    your disk be dead."
Or Latin, CRDOS had some comments in Latin and one PhD who thought his 
code was best described in BNF.

To be serious, a notifier to a user program, *after boot*, would allow 
all this flexibility, although I still think it's too late to change.

-- 
Bill Davidsen <davidsen@....com>
   "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot
-
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