lkml.org 
[lkml]   [2010]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Get interface MAC address in sys_accept4() syscall
On Fri, Jul 30, 2010 at 01:56:06PM +0400, Гурам Савинов wrote:
>I want to change syscall sys_accept4(), to return MAC address.
>It is possible to get MAC from incomming socket in sys_accept4(), with help
>ioctl SIOCGIFHWADDR?
>

The problem is that it doesn't make sense to do this.

accept(2) works on high level sockets, should not bother low level
MAC addresses.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2010-07-30 12:01    [W:0.047 / U:7.328 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site