[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090515140137.GF16682@one.firstfloor.org>
Date: Fri, 15 May 2009 16:01:37 +0200
From: Andi Kleen <andi@...stfloor.org>
To: Jamie Lokier <jamie@...reable.org>
Cc: Andi Kleen <andi@...stfloor.org>,
Vitaly Mayatskikh <v.mayatskih@...il.com>,
Josef Bacik <josef@...hat.com>, sandeen@...hat.com,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] Perform check in iov_iter_fault_in_readable() by check_readable_bytes()
> It would be quite nice if it were safe to call read(), get EFAULT
Even with that patch it is not safe, not even for write, because
it's racy.
-Andi
--
ak@...ux.intel.com -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists