From: Martin Zwickel <martin.zwickel@technotrend.de>
To: Evgeniy <shubin_evgeniy@mail.ru>
Cc: linux-kernel@vger.kernel.org
Subject: Re: bug in kernel
Date: Mon, 14 Mar 2005 16:55:49 +0100 [thread overview]
Message-ID: <20050314165549.6985fff2@phoebee> (raw)
In-Reply-To: <200503141748.05661.shubin_evgeniy@mail.ru>
[-- Attachment #1: Type: text/plain, Size: 633 bytes --]
On Mon, 14 Mar 2005 17:48:05 +0300
Evgeniy <shubin_evgeniy@mail.ru> bubbled:
> Here is a simple program.
>
> #include <stdio.h>
> #include <errno.h>
> main(){
> int err;
> err=read(0,NULL,6);
> printf("%d %d\n",err,errno);
> }
Results:
# ./a < /dev/zero
read(0, 0, 6) = -1 EFAULT (Bad address)
-1 14 Bad address
So everything is fine...
Regards,
Martin
--
MyExcuse:
I'd love to help you -- it's just that the Boss won't let me near the
computer.
Martin Zwickel <martin.zwickel@technotrend.de>
Research & Development
TechnoTrend AG <http://www.technotrend.de>
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-03-14 15:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-14 14:48 Evgeniy
2005-03-14 14:51 ` Arjan van de Ven
2005-03-14 14:55 ` Arjan van de Ven
2005-03-14 15:22 ` Bernhard Rosenkraenzer
2005-03-14 15:55 ` Martin Zwickel [this message]
2005-03-14 16:57 ` linux-os
2005-03-14 15:47 Pat Kane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050314165549.6985fff2@phoebee \
--to=martin.zwickel@technotrend.de \
--cc=linux-kernel@vger.kernel.org \
--cc=shubin_evgeniy@mail.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®