Re: Linux 2.6.0-test4
From: insecure (insecure_at_mail.od.ua)
Date: 08/25/03
- Previous message: J.A. Magallon: "Re: linux-2.4.22 released"
- In reply to: Linus Torvalds: "Linux 2.6.0-test4"
- Next in thread: insecure: "[PATCH] raceless request_region() fix (was Re: Linux 2.6.0-test4)"
- Reply: insecure: "[PATCH] raceless request_region() fix (was Re: Linux 2.6.0-test4)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Linus Torvalds <torvalds@osdl.org>, Kernel Mailing List <linux-kernel@vger.kernel.org> Date: Tue, 26 Aug 2003 00:20:21 +0300
> o [arcnet com90io] replace check_region with temporary
> request_region, in probe phase.
check_region() is deprecated because it is racy.
Replacing it with request_region in probe:
int probe() {
if(!request_region(...))
return 0;
/* probe */
release_region(...);
}
int init() {
request_region(...);
}
only removes 'deprecated' warning. Race remains.
-- vda - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Previous message: J.A. Magallon: "Re: linux-2.4.22 released"
- In reply to: Linus Torvalds: "Linux 2.6.0-test4"
- Next in thread: insecure: "[PATCH] raceless request_region() fix (was Re: Linux 2.6.0-test4)"
- Reply: insecure: "[PATCH] raceless request_region() fix (was Re: Linux 2.6.0-test4)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|