2004-03-20 15:18:13

by Marc-Christian Petersen

[permalink] [raw]
Subject: [PATCH 2.6.5-rc2] Add missing -EFAULT for sysctl

Hi Linus, Andrew,

Kernel 2.6 lacks two -EFAULT returns in get_user() in kernel/sysctl.c.

It's already fixed in 2.4 9 months ago, but I forgot to send it for 2.6.

It's basically this one:

http://linux.bkbits.net:8080/linux-2.4/diffs/kernel/[email protected]?nav=index.html|
src/|src/kernel|hist/kernel/sysctl.c

Please apply.

ciao, Marc


Attachments:
(No filename) (337.00 B)
missing-EFAULT-sysctl.patch (1.60 kB)
Download all attachments