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-next>] [day] [month] [year] [list]
Message-ID: <45AFE52C.30308@walrond.org>
Date:	Thu, 18 Jan 2007 21:22:52 +0000
From:	Andrew Walrond <andrew@...rond.org>
To:	LKML <linux-kernel@...r.kernel.org>
Subject: Kernel headers - linux-atm userspace build broken by recent change;
 __be16 undefined

Don't know exactly when this change went in, but it's not in 2.6.18.3 
and is in 2.6.19.2+

  $ diff linux/include/linux/if_arp.h linux-2.6/include/linux/if_arp.h
133,134c133,134
<       unsigned short  ar_hrd;         /* format of hardware address   */
<       unsigned short  ar_pro;         /* format of protocol address   */
---
 >       __be16          ar_hrd;         /* format of hardware address   */
 >       __be16          ar_pro;         /* format of protocol address   */
137c137
<       unsigned short  ar_op;          /* ARP opcode (command)         */
---
 >       __be16          ar_op;          /* ARP opcode (command)         */


This causes the linux-atm userspace compile to fail like this:

In file included from arp.c:19:
/usr/include/linux/if_arp.h:133: error: expected 
specifier-qualifier-list before '__be16'

I guess if_arp.h needs to include include/linux/byteorder/big_endian.h?

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ