Re: do stuff after shutdown

2012-02-28 Thread ra...@gmx.de
Hallo Laurent! I am *only* suggesting that process 1 exiting should be taken as a hard reboot or poweroff instruction, instead of a panic instruction. It looks to me, the problem is, that current code in kernel to do the poweroff is run in a user process. If process 1 exits there is (or shall

Re: Amusing article about busybox

2012-02-28 Thread Ralf Friedl
Felipe Contreras wrote: On Wed, Feb 15, 2012 at 5:46 PM, Ralf Friedl ralf.fri...@online.de wrote: Let's get some facts straight. Sony wants to avoid the GPL busybox not because of busybox itself, but because they fear that they can be forced to comply with the GPL on Linux, and they want to

Re: [Patch] fix unsigned long fast_strtoul_10(char **endptr) for Linux 2.4

2012-02-28 Thread Ralf Friedl
walter harms wrote: Enabling the fast proc scan code for linux2.4 causes top to display strange numbers [see:possible bug in proc fast scan code] the reason for this is that the last char in proc/$$/stat is \n. This is no problem for 2.4 since the stats line contains additional chars. Please

Re: [Patch] fix unsigned long fast_strtoul_10(char **endptr) for Linux 2.4

2012-02-28 Thread walter harms
Am 28.02.2012 13:27, schrieb Ralf Friedl: walter harms wrote: Enabling the fast proc scan code for linux2.4 causes top to display strange numbers [see:possible bug in proc fast scan code] the reason for this is that the last char in proc/$$/stat is \n. This is no problem for 2.4 since the

Re: [Patch] fix unsigned long fast_strtoul_10(char **endptr) for Linux 2.4

2012-02-28 Thread walter harms
Am 28.02.2012 17:08, schrieb Denys Vlasenko: On Tue, Feb 28, 2012 at 5:04 PM, walter harms wha...@bfs.de wrote: Hello Ralf, the current version has a major problem when you consider this: 0\0 the patch ( change != into ) will only catch the current bug (reading the last 0 wrong what