plunky
762a9b9c68
correct __ssp_overlap() to not trigger for adjacent areas
2015-09-03 20:43:47 +00:00
joerg
c7f24be614
Allow SSP enabled functions to conditionally skip the object size check.
...
Use this is fix the getcwd(NULL, lmit) case, which breaks in lang/parrot.
2015-06-25 18:41:03 +00:00
christos
adfc40c594
add a macro to check overlapping pointers
2015-05-09 15:41:47 +00:00
joerg
5e0b44099f
SSP mostly works with Clang, even if optimisation is disabled.
...
Explicitly disable it for Lint though.
2012-08-08 20:23:32 +00:00
joerg
4bf46019d9
Redo the SSP wrappers to be transparent on the resulting object files.
...
This works by having the inline wrapper calling a second function which
uses renaming to output the correct function name.
2011-02-21 00:40:07 +00:00
christos
e6a9e964d2
provide a way to override the weak name.
2011-01-26 18:08:00 +00:00
christos
3203d4e972
proved an __ssp_check macro.
2011-01-25 19:13:44 +00:00
christos
2d76e866a6
Use the _sys alias instead of the _ alias as the way to access the baseline
...
syscall.
2011-01-20 02:58:17 +00:00
christos
416c220c02
Re-do ssp hijacking by defining inline functions and using the weak libc
...
symbols to do the indirection for unistd.h instead of #define tricks.
Fixes compilation for things that define struct { ssize_t read(int fd, ...); }.
2011-01-19 19:21:29 +00:00
jruoho
c33b9df9f8
Use __dead instead of __attribute__((__noreturn__)) directly.
2010-12-22 19:43:33 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
christos
2b3b97e3ff
- Misc cleanups to make the code more readable.
...
- Detect if we are compiling in libc and provide the appropriate name.
2007-06-03 17:41:19 +00:00
tls
2368dc663d
Move FORTIFY_SOURCE implementation from the somewhat ill-named "libssp"
...
(what other systems keep in libssp, we already have in libc) into libc
to match what other systems with FORTIFY_SOURCE do. Goodbye, libssp
dependency in libraries and executables. Discussed with christos and
mrg; Christos will merge the headers to get us the rest of the way to a
FORTIFY_SOURCE implementation that works as others' code expects.
2007-05-30 01:13:14 +00:00