lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070421.104047.41636018.davem@davemloft.net>
Date:	Sat, 21 Apr 2007 10:40:47 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	ak@...e.de
Cc:	netdev@...r.kernel.org
Subject: Re: SIOCGIFCOUNT

From: Andi Kleen <ak@...e.de>
Date: Sat, 21 Apr 2007 11:48:52 +0200

> On Saturday 21 April 2007 00:41:33 David Miller wrote:
> > From: Andi Kleen <ak@...e.de>
> > Date: Sat, 21 Apr 2007 00:04:51 +0200
> > 
> > > 0x8938 is SIOCGIFCOUNT. As far as I can see it is only defined in
> > > sockios.h, but not implemented?
> > >
> > > Should it be removed from the include file or implemented?
> > 
> > Unless we can be %100 certain not one build will break by removing it,
> > we should keep it around.
> 
> Ok, but should it not be implemented for the non compat case too?
> I assume java has some reason to call it.

It probably just is one of those silly:

#ifdef SIOCGIFCOUNT
	ret = try_to_use_SIOCGIFCOUNT();
#endif

type code blocks that we find in just about every wonky
source tree out there.

There is no reason to add an implementation of it, and
the compat layer should just return the same error
code that the non-compat code will.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ