From: "Lorenzo Hernández García-Hierro" <lorenzo@gnu.org>
To: Arjan van de Ven <arjan@infradead.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [patch 1/1] /proc/$$/ipaddr and per-task networking bits
Date: Thu, 10 Mar 2005 17:00:29 +0100 [thread overview]
Message-ID: <1110470430.9190.33.camel@localhost.localdomain> (raw)
In-Reply-To: <1110469087.6291.103.camel@laptopd505.fenrus.org>
[-- Attachment #1: Type: text/plain, Size: 1116 bytes --]
El jue, 10-03-2005 a las 16:38 +0100, Arjan van de Ven escribió:
> but.... tasks don't have an IP address. Hosts do. Hosts can have
> multiple IP addresses. Both ipv4 and ipv6. Users don't have IP
> addresses either (they do have user IDs so that link is clear).
> I think I'm missing something big here. What does it *mean* for a task
> to have an IP address. Once that is clear maybe I can start to
> understand the rest, but until the meaning of "task has an IP address"
> is better explained/more clear I think I'm stuck. (and no the output in
> a log isn't a meaning, it's only a result)
I think I've explained it well, more concretely, it tries to fill the
ipaddr member of the task_struct structure with the IP address
associated to the user running @current task/process,if available.
Then, it will be attached within the proc fs in an entry called ipaddr,
under the proper pid directory.
The whole thing is almost self-explaining by just looking at the code.
Cheers,
--
Lorenzo Hernández García-Hierro <lorenzo@gnu.org>
[1024D/6F2B2DEC] & [2048g/9AE91A22][http://tuxedo-es.org]
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-03-10 16:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-10 14:16 [patch 1/1] /proc/$$/ipaddr and per-task networking bits Lorenzo Hernández García-Hierro
2005-03-10 14:26 ` Arjan van de Ven
2005-03-10 15:28 ` Lorenzo Hernández García-Hierro
2005-03-10 15:38 ` Arjan van de Ven
2005-03-10 16:00 ` Lorenzo Hernández García-Hierro [this message]
2005-03-10 16:08 ` Arjan van de Ven
2005-03-10 16:19 ` Paul P Komkoff Jr
2005-03-10 16:36 ` Joost Remijn
2005-03-11 12:35 ` Coywolf Qi Hunt
2005-03-10 15:22 ` YOSHIFUJI Hideaki / 吉藤英明
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=1110470430.9190.33.camel@localhost.localdomain \
--to=lorenzo@gnu.org \
--cc=arjan@infradead.org \
--cc=linux-kernel@vger.kernel.org \
/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