Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261515AbVCNOqQ (ORCPT ); Mon, 14 Mar 2005 09:46:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261516AbVCNOqQ (ORCPT ); Mon, 14 Mar 2005 09:46:16 -0500 Received: from mx1.mail.ru ([194.67.23.121]:45891 "EHLO mx1.mail.ru") by vger.kernel.org with ESMTP id S261515AbVCNOqP (ORCPT ); Mon, 14 Mar 2005 09:46:15 -0500 From: Evgeniy To: linux-kernel@vger.kernel.org Subject: bug in kernel Date: Mon, 14 Mar 2005 17:48:05 +0300 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503141748.05661.shubin_evgeniy@mail.ru> X-Spam: Not detected Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 696 Lines: 22 Here is a simple program. #include #include main(){ int err; err=read(0,NULL,6); printf("%d %d\n",err,errno); } I think that it should be an error : Null pointer assignment, like in windows. But in practise it is not so. Mandrake Linux kernel 2.4.21-0.13mdk I am a programmer too and i am very interested to solve this problem. Please, send me fragment of sourse code of kernel with this bug. Thanks. Sorry for my English - 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/