summaryrefslogtreecommitdiff
path: root/sound/pcmcia/vx
ModeNameSize
-rw-r--r--Makefile182logplain
-rw-r--r--vxp_mixer.c4301logplain
-rw-r--r--vxp_ops.c15737logplain
-rw-r--r--vxpocket.c8668logplain
-rw-r--r--vxpocket.h2931logplain
ls copy_to_user on entire structs, then overwrites select fields. Private data is defined in xt_match and xt_target. All matches and targets that maintain kernel data store this at the tail of their private structure. Extend xt_match and xt_target with .usersize to limit how many bytes of data are copied. The remainder is cleared. If compatsize is specified, usersize can only safely be used if all fields up to usersize use platform-independent types. Otherwise, the compat_to_user callback must be defined. This patch does not yet enable the support logic. Signed-off-by: Willem de Bruijn <willemb@google.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/bonding.h')