From: Rusty Russell <rusty@rustcorp.com.au>
To: Alexander Viro <viro@math.psu.edu>
Cc: linux-kernel@vger.kernel.org, Linus Torvalds <torvalds@transmeta.com>
Subject: Re: more fun with procfs (netfilter)
Date: Tue, 20 Nov 2001 11:48:56 +1100 [thread overview]
Message-ID: <E165z5s-0000SM-00@wagner> (raw)
In-Reply-To: Your message of "Mon, 19 Nov 2001 02:13:20 CDT." <Pine.GSO.4.21.0111190156140.17210-100000@weyl.math.psu.edu>
In message <Pine.GSO.4.21.0111190156140.17210-100000@weyl.math.psu.edu> you wri
te:
> Reason: netfilter procfs files try to fit entire records into the user
> buffer. Do a read shorter than record size and you've got zero. And
> read() returning 0 means you-know-what...
Yes. Don't do this.
Hope that helps,
Rusty.
--
Premature optmztion is rt of all evl. --DK
next prev parent reply other threads:[~2001-11-20 0:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-19 7:13 more fun with procfs (netfilter) Alexander Viro
2001-11-19 7:17 ` Alexander Viro
2001-11-19 9:17 ` Herbert Xu
2001-11-19 9:22 ` Alexander Viro
2001-11-19 19:18 ` H. Peter Anvin
2001-11-20 0:48 ` Rusty Russell [this message]
2001-11-20 10:19 ` Alexander Viro
2001-11-21 0:14 ` Jamie Lokier
2001-11-21 0:23 ` Alexander Viro
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=E165z5s-0000SM-00@wagner \
--to=rusty@rustcorp.com.au \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
--cc=viro@math.psu.edu \
/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