Re: [TRIVIAL] Warn users about machines with non-working WP bit

From: David S. Miller (
Date: Tue Aug 06 2002 - 08:56:52 EST

   From: Kasper Dupont <>
   Date: Tue, 06 Aug 2002 16:03:34 +0200

   "David S. Miller" wrote:
> verify_area() checks aren't enough, consider a threaded application
> calling mprotect() while the copy is in progress.
   Couldn't we just freeze all other processes with the same mm while
   a copy_to_user is in progress?

What if we have to sleep and page in some memory from disk?

Your idea could lead to deadlock in a multi-threaded app.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:31 EST