[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linux 2.4.24-rc1


-----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 _at_ roedu.net
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 _at_ vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」
Follow-Ups: References: