]> granicus.if.org Git - strace/commit
netlink: change size types from unsigned long to kernel_ureg_t
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 25 Dec 2016 01:31:49 +0000 (01:31 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 25 Dec 2016 11:32:46 +0000 (11:32 +0000)
commitb19829eaf45e607ad415514dddd0d6f37b68090d
tree538a0aaa8f0940f5bca73b4d05ff8faf2955279c
parent4ee3e80cb192f9bba8638925299742dc05335f98
netlink: change size types from unsigned long to kernel_ureg_t

* defs.h (decode_netlink): Change len argument type from unsigned long
to kernel_ureg_t.
* netlink.c (fetch_nlmsghdr): Likewise.
(decode_nlmsghdr_with_payload): Likewise.  Change nlmsg_len variable
type from unsigned long to unsigned int.
(decode_netlink): Change the type of len argument and next_len variable
from unsigned long to kernel_ureg_t.  Change nlmsg_len variable type
from unsigned long to unsigned int.
defs.h
netlink.c