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 16:28:37 +0100 [thread overview]
Message-ID: <1110468517.9190.24.camel@localhost.localdomain> (raw)
In-Reply-To: <1110464782.6291.95.camel@laptopd505.fenrus.org>
[-- Attachment #1: Type: text/plain, Size: 1182 bytes --]
El jue, 10-03-2005 a las 15:26 +0100, Arjan van de Ven escribió:
> a few questions
> 1) Why is this a config option; if it's useful it should just be always
> on really
Just to be removed if it applies for mainline.
> 2) Can you explain briefly what this is useful for?
For keeping track on the "originating ip address of the
task/process" (the ipv4 address of the user that started the
task/process).
It adds an ipaddr entry if available for each /proc/<pid> entry, among
the API changes.
Example:
root@dg:/usr/src# cat /proc/5907/ipaddr
192.128.102.93
> 3) How does this work for existing stuff if, say, your dhcp lease
> changes and your machine no longer owns a certain IP, what will happen
> to the tasks?
> 4) if a machine has multiple IPs.. which one is chosen ?
The patch has nothing to do with this, as it's objective is different.
See http://lkml.org/lkml/2005/3/10/108 and
http://pearls.tuxedo-es.org/patches/selinux-avc_audit-log-curr_ip.patch
if you want useful and real examples on how it works and helps.
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 15:29 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 [this message]
2005-03-10 15:38 ` Arjan van de Ven
2005-03-10 16:00 ` Lorenzo Hernández García-Hierro
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=1110468517.9190.24.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