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: <200612091057.30071.stefan@loplof.de>
Date:	Sat, 9 Dec 2006 10:56:50 +0100 (MET)
From:	Stefan Rompf <stefan@...lof.de>
To:	David Miller <davem@...emloft.net>
Cc:	tgraf@...g.ch, dwmw2@...radead.org, joseph@...esourcery.com,
	netdev@...r.kernel.org, libc-alpha@...rceware.org, akpm@...l.org
Subject: Re: [NETLINK]: Restore API compatibility of address and neighbour
 bits

Am Freitag, 8. Dezember 2006 22:33 schrieb David Miller:

> [IF(L)A_(RTA|PAYLOAD) macros]
>
> iproute got fixed, dhcpclient and friends should get fixed to not use
> them either

Today's git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git 
contains stuff like

#ifndef IFA_RTA
#define IFA_RTA(r) \
        ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct 
ifaddrmsg))))
#endif

and still uses these macros in various places. I wouldn't call that fixed.

Even though the macros are back now, what is the suggested replacement for 
userspace programs? The new nla_get_*()-inlines in net/netlink.h are not even 
exported by make headers_install.

For new projects, I'll just use libnetlink. dhcpclient however is also 
targeted at embedded systems (and has been used to learn about netlink ;-), 
so I don't plan to link it to another not so small library.

Stefan
-
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