From owner-freebsd-current Mon Jul 15 22:31: 5 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D355D37B400 for ; Mon, 15 Jul 2002 22:31:02 -0700 (PDT) Received: from mail.viasoft.com.cn (ip-167-164-97-218.anlai.com [218.97.164.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B26343E42 for ; Mon, 15 Jul 2002 22:31:01 -0700 (PDT) (envelope-from davidx@viasoft.com.cn) Received: from davidwnt (davidwnt.viasoft.com.cn [192.168.1.239]) by mail.viasoft.com.cn (8.9.3/8.9.3) with SMTP id NAA08469 for ; Tue, 16 Jul 2002 13:47:26 +0800 Message-Id: <200207160547.NAA08469@mail.viasoft.com.cn> Date: Tue, 16 Jul 2002 13:21:20 +0800 From: David Xu To: "freebsd-current@freebsd.org" Subject: race condition in kern_descrip.c and fix X-mailer: FoxMail 4.0 beta 1 [cn] Mime-Version: 1.0 Content-Type: text/plain; charset="GB2312" Content-Transfer-Encoding: base64 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG SSBmb3VuZCBhIHJhY2UgY29uZGl0aW9uIGluIGtlcm5fZGVzY3JpcC5jLCB0aGUgcmFjZSBpcyBp biBmdW5jdGlvbiBmYWxsb2MoKSwNCml0IG9wZW5zIGEgcmFjZSB3aW5kb3cgYXQgbGluZSAxMTQ3 Og0KCQlGSUxFREVTQ19VTkxPQ0socC0+cF9mZCk7DQogICAgICAgIHN4X3hsb2NrKCZmaWxlbGlz dF9sb2NrKTsNCiAgICAgICAgRklMRURFU0NfTE9DSyhwLT5wX2ZkKTsNCg0KZml4Og0KLS0tIGtl cm5fZGVzY3JpcC5jCVR1ZSBKdWwgMTYgMTI6Mjk6NDQgMjAwMg0KKysrIGtlcm5fZGVzY3JpcC5j Lm5ldwlUdWUgSnVsIDE2IDEyOjI2OjUwIDIwMDINCkBAIC0xMTA3LDYgKzExMDcsNyBAQA0KIAly ZWdpc3RlciBzdHJ1Y3QgZmlsZSAqZnAsICpmcTsNCiAJaW50IGVycm9yLCBpOw0KIA0KK3JldHJ5 Og0KIAlzeF94bG9jaygmZmlsZWxpc3RfbG9jayk7DQogCWlmIChuZmlsZXMgPj0gbWF4ZmlsZXMp IHsNCiAJCXN4X3h1bmxvY2soJmZpbGVsaXN0X2xvY2spOw0KQEAgLTExNTEsNiArMTE1MiwxMyBA QA0KIAkJTElTVF9JTlNFUlRfQUZURVIoZnEsIGZwLCBmX2xpc3QpOw0KIAl9IGVsc2Ugew0KIAkJ TElTVF9JTlNFUlRfSEVBRCgmZmlsZWhlYWQsIGZwLCBmX2xpc3QpOw0KKwl9DQorCWlmIChwLT5w X2ZkLT5mZF9vZmlsZXNbaV0gIT0gTlVMTCkgew0KKwkJZnAtPmZfY291bnQgPSAwOw0KKwkJRklM RURFU0NfVU5MT0NLKHAtPnBfZmQpOw0KKwkJc3hfeHVubG9jaygmZmlsZWxpc3RfbG9jayk7DQor CQlmZnJlZShmcCk7DQorCQlnb3RvIHJldHJ5Ow0KIAl9DQogCXAtPnBfZmQtPmZkX29maWxlc1tp XSA9IGZwOw0KIAlGSUxFREVTQ19VTkxPQ0socC0+cF9mZCk7DQotLS0JDQoNCkRhdmlkIFh1DQo= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message