Remove bogus checks against NCARGS.
authorjhb <jhb@FreeBSD.org>
Wed, 31 Jan 2018 17:57:59 +0000 (17:57 +0000)
committerjhb <jhb@FreeBSD.org>
Wed, 31 Jan 2018 17:57:59 +0000 (17:57 +0000)
commitb61009fc6386b22184b2afa3b874b38ebd6a1257
treedfc60b6691c7ea3ded189487496d32ae84788adc
parentef323a885c2707432cad1523ad0203172a786ea5
Remove bogus checks against NCARGS.

NCARGS isn't a limit on the number of arguments to pass to a function,
but the number of bytes that can be consumed by arguments to exec.  As
such, it is not suitable for a limit on the count of arguments passed
to makecontext().

Sponsored by: DARPA / AFRL
lib/libc/i386/gen/makecontext.c
lib/libc/powerpc/gen/makecontext.c
lib/libc/powerpc64/gen/makecontext.c