linux/net/netlink
Thomas Graf a5531a5d85 [NETLINK]: Improve string attribute validation
Introduces a new attribute type NLA_NUL_STRING to support NUL
terminated strings. Attributes of this kind require to carry
a terminating NUL within the maximum specified in the policy.

The `old' NLA_STRING which is not required to be NUL terminated
is extended to provide means to specify a maximum length of the
string.

Aims at easing the pain with using nla_strlcpy() on temporary
buffers.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-09-22 15:18:24 -07:00
..
af_netlink.c [NET]: Use BUILD_BUG_ON() for checking size of skb->cb. 2006-09-22 15:18:15 -07:00
attr.c [NETLINK]: Improve string attribute validation 2006-09-22 15:18:24 -07:00
genetlink.c [NETLINK]: Add notification message sending interface 2006-09-22 14:54:49 -07:00
Makefile