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-04-14 15:00:20 -07:00
2005-04-16 15:20:36 -07:00
2006-09-22 14:53:32 -07:00
2005-08-29 15:32:25 -07:00
2006-09-22 14:54:40 -07:00
2005-04-16 15:20:36 -07:00
2006-09-22 15:18:00 -07:00
2005-04-16 15:20:36 -07:00
2006-09-22 14:54:10 -07:00
2006-01-03 13:10:31 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-23 07:12:57 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-11-14 21:58:18 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-22 07:57:21 -03:00
2006-03-20 22:59:36 -08:00
2006-09-22 14:54:23 -07:00
2006-08-02 15:02:31 -07:00
2006-09-22 14:53:32 -07:00
2005-08-29 16:01:32 -07:00
2005-08-29 15:32:25 -07:00
2006-09-22 14:53:27 -07:00
2006-06-30 14:12:10 -07:00