lkml.org 
[lkml]   [2004]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjecti386/mm and openwall change
Linux 2.4.24 contains in arch/i386/mm/fault.c [around line 270]
the following code.

tsk->thread.error_code = error_code;

Openwall 2.4.24-ow1 changes (fixes?) this to:

if (address < TASK_SIZE)
tsk->thread.error_code = error_code;
else
tsk->thread.error_code = 0;

While Linux 2.4.25-pre6 contains:

/* Kernel addresses are always protection faults */
tsk->thread.error_code = error_code | (address >= TASK_SIZE);

I'm assuming this means the openwall change was an error?

Cheers,
MaZe.

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

\
 
 \ /
  Last update: 2005-03-22 14:00    [W:0.034 / U:1.880 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site