Re: Linux 2.4.24-rc1

From: Mihai RUSU
Date: Mon Jan 05 2004 - 08:15:05 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

On Mon, 5 Jan 2004, Marcelo Tosatti wrote:

>
>
> This release fixes a few critical problems in 2.4.23, including fixes
> for two security bugs.
>
> Upgrade is recommended.

Indeed!

I have noticed that 2.6.0 seems to have the same codes for mremap.c,
shouldnt 2.6.1 merge the following patch before release ?

- --- linux-2.4.23/mm/mremap.c 2003-08-25 11:44:44.000000000 +0000
+++ linux-2.4.24-rc1/mm/mremap.c 2004-01-04 20:52:19.000000000 +0000
@@ -241,6 +241,13 @@

if (new_len > TASK_SIZE || new_addr > TASK_SIZE - new_len)
goto out;
+ /*
+ * Allow new_len == 0 only if new_addr == addr
+ * to preserve truncation in place (that was working
+ * safe and some app may depend on it).
+ */
+ if (unlikely(!new_len && new_addr != addr))
+ goto out;

/* Check if the location we're moving into overlaps the
* old location at all, and fail if it does.

PS: I have also downloaded 2.6.1 bk6 snapshot patch and I have not seen
any diff for mremap.c.

- --
Mihai RUSU Email: dizzy@xxxxxxxxx
GPG : http://dizzy.roedu.net/dizzy-gpg.txt WWW: http://dizzy.roedu.net
"Linux is obsolete" -- AST
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/+WMJPZzOzrZY/1QRAhv0AKDkgqimVpAMwBWavfKN+WjEU8SF+gCdHUiC
XBbcRzJA5zfsUboMK0N5jKs=
=eBik
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/