DragonFly BSD
DragonFly commits List (threaded) for 2004-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/libkern stack_protector.c


To: David Rhodus <drhodus@xxxxxxxxxxxxxxxxxxxxxxx>
From: Ted Unangst <tedu@xxxxxxxxxxxxx>
Date: Thu, 22 Jan 2004 22:21:46 -0500

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]