freebsd-nq/sys/netipsec
Bjoern A. Zeeb 3f2e28fe9f Fix stack corruptions on amd64.
Vararg functions have a different calling convention than regular
functions on amd64. Casting a varag function to a regular one to
match the function pointer declaration will hide the varargs from
the caller and we will end up with an incorrectly setup stack.

Entirely remove the varargs from these functions and change the
functions to match the declaration of the function pointers.
Remove the now unnecessary casts.

Lots of explanations and help from:     peter
Reviewed by:                            peter
PR:                                     amd64/89261
MFC after:                              6 days
2006-01-21 10:44:34 +00:00
..
ah_var.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ah.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
esp_var.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
esp.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ipcomp_var.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ipcomp.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ipip_var.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ipsec6.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ipsec_input.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ipsec_mbuf.c Replace custom mbuf writeability test with generic M_WRITABLE() test 2005-09-26 20:35:45 +00:00
ipsec_osdep.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ipsec_output.c Retire MT_HEADER mbuf type and change its users to use MT_DATA. 2005-11-02 13:46:32 +00:00
ipsec.c Correct typo in a comment describing vshiftl(). 2005-06-02 23:56:10 +00:00
ipsec.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
key_debug.c Fix -Wundef warnings found when compiling i386 LINT, GENERIC and 2005-12-05 11:58:35 +00:00
key_debug.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
key_var.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
key.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
key.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
keydb.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
keysock.c Fix stack corruptions on amd64. 2006-01-21 10:44:34 +00:00
keysock.h Fix stack corruptions on amd64. 2006-01-21 10:44:34 +00:00
xform_ah.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
xform_esp.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
xform_ipcomp.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
xform_ipip.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
xform_tcp.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
xform.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00