cvs commit: src/sys/libkern stack_protector.c

Ted Unangst tedu at zeitbombe.org
Thu Jan 22 19:21:46 PST 2004


On Sat, 27 Dec 2003, David Rhodus wrote:

>   Modified files:
>     sys/libkern          stack_protector.c 

has this been tested?  i know on openbsd the prototype is:
void __stack_smash_handler(char [], int __attribute__((unused)));

void
__stack_smash_handler(char func[], int damaged)
{
        panic("smashed stack in %s", func);
}

with func and damaged reversed.

-- 
ask not what you can do for your country
ask what your country did to you





More information about the Commits mailing list