Re: [patch 1/1] /proc/$$/ipaddr and per-task networking bits
From: YOSHIFUJI Hideaki / 吉藤英明
Date: Thu Mar 10 2005 - 10:23:56 EST
In article <1110464202.9190.7.camel@xxxxxxxxxxxxxxxxxxxxx> (at Thu, 10 Mar 2005 15:16:42 +0100), Lorenzo Hernández García-Hierro <lorenzo@xxxxxxx> says:
> Ported feature from grSecurity that makes possible to add an ipaddr
> entry in each /proc/<pid> (/proc/<pid>/ipaddr), where the task originating
> IP address is stored, and subsequently made available (readable) by the process
> itself and also the root user with CAP_DAC_OVERRIDE capability (that can be managed
> by specific security models implementations like SELinux).
> Available also at http://pearls.tuxedo-es.org/patches/task-curr_ip.patch
You already can get this information via procfs; e.g. lsof does,
It does support IPv6 as well.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/