1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00
freebsd/sys/netkey
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
..
key_debug.c Fix -Wundef from compiling the amd64 LINT. 2005-12-04 10:06:06 +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 SADB_UPDATE did not return an error when key length is invalid. 2005-08-22 07:05:14 +00:00
key.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
keydb.c Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +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