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
..
2006-07-24 13:52:13 -07:00
2006-09-22 15:18:19 -07:00
2006-09-22 15:18:17 -07:00
2006-09-22 15:18:19 -07:00
2006-09-22 14:55:09 -07:00
2006-08-05 21:15:58 -07:00
2006-08-13 18:56:26 -07:00
2006-07-12 13:58:59 -07:00
2006-07-21 15:52:20 -07:00
2006-09-22 15:18:19 -07:00
2006-09-22 14:53:34 -07:00
2005-04-16 15:20:36 -07:00