The NetBSD Project

CVS log for src/include/ssp/ssp.h

[BACK] Up to [cvs.NetBSD.org] / src / include / ssp

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.16 / (download) - annotate - [select for diffs], Wed Nov 15 03:14:16 2023 UTC (4 months, 3 weeks ago) by christos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.15: +2 -0 lines
Diff to previous 1.15 (colored)

Allow __ssp_inline to be overriden

Revision 1.15 / (download) - annotate - [select for diffs], Fri Nov 10 23:03:37 2023 UTC (5 months ago) by christos
Branch: MAIN
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored)

PR/57689: RVP: getcwd() not overridable with -D_FORTIFY_SOURCE

Revision 1.14 / (download) - annotate - [select for diffs], Wed Mar 29 13:37:10 2023 UTC (12 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.13: +12 -5 lines
Diff to previous 1.13 (colored)

PR/57288: Mingye Wang: <ssp/ssp.h>: Use __builtin_dynamic_object_size
for LLVM > 9 and GCC > 12, introducing _SSP_FORTIFY_LEVEL == 3

Revision 1.13 / (download) - annotate - [select for diffs], Thu Sep 3 20:43:47 2015 UTC (8 years, 7 months ago) by plunky
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

correct __ssp_overlap() to not trigger for adjacent areas

Revision 1.12 / (download) - annotate - [select for diffs], Thu Jun 25 18:41:03 2015 UTC (8 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.11: +6 -5 lines
Diff to previous 1.11 (colored)

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.

Revision 1.11 / (download) - annotate - [select for diffs], Sat May 9 15:41:47 2015 UTC (8 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.10: +4 -1 lines
Diff to previous 1.10 (colored)

add a macro to check overlapping pointers

Revision 1.9.4.1 / (download) - annotate - [select for diffs], Tue Oct 30 18:58:34 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.9: +3 -2 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

sync with head

Revision 1.10 / (download) - annotate - [select for diffs], Wed Aug 8 20:23:32 2012 UTC (11 years, 8 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, agc-symver-base, agc-symver
Changes since 1.9: +3 -2 lines
Diff to previous 1.9 (colored)

SSP mostly works with Clang, even if optimisation is disabled.
Explicitly disable it for Lint though.

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Sat Mar 5 15:09:14 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.5.2.1: +17 -13 lines
Diff to previous 1.5.2.1 (colored) next main 1.6 (colored)

Sync with HEAD

Revision 1.9 / (download) - annotate - [select for diffs], Mon Feb 21 00:40:08 2011 UTC (13 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase
Branch point for: yamt-pagecache
Changes since 1.8: +17 -13 lines
Diff to previous 1.8 (colored)

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.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:18:55 2011 UTC (13 years, 2 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.5: +13 -4 lines
Diff to previous 1.5 (colored)

Sync with HEAD

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jan 26 18:08:00 2011 UTC (13 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: uebayasi-xip-base7, bouyer-quota2-base
Changes since 1.7: +3 -1 lines
Diff to previous 1.7 (colored)

provide a way to override the weak name.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jan 25 19:13:44 2011 UTC (13 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.6: +4 -2 lines
Diff to previous 1.6 (colored)

proved an __ssp_check macro.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jan 20 02:58:17 2011 UTC (13 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.5: +7 -2 lines
Diff to previous 1.5 (colored)

Use the _sys alias instead of the _ alias as the way to access the baseline
syscall.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jan 19 19:21:29 2011 UTC (13 years, 2 months ago) by christos
Branch: MAIN
Branch point for: bouyer-quota2
Changes since 1.4: +8 -10 lines
Diff to previous 1.4 (colored)

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, ...); }.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Dec 22 19:43:33 2010 UTC (13 years, 3 months ago) by jruoho
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)

Use __dead instead of __attribute__((__noreturn__)) directly.

Revision 1.2.14.1 / (download) - annotate - [select for diffs], Sun May 18 12:30:09 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.2: +1 -8 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

sync with head.

Revision 1.3.10.2 / (download) - annotate - [select for diffs], Mon Apr 28 20:22:55 2008 UTC (15 years, 11 months ago) by martin
Branch: christos-time_t
Changes since 1.3.10.1: +73 -0 lines
Diff to previous 1.3.10.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.3.10.1, Mon Apr 28 20:22:54 2008 UTC (15 years, 11 months ago) by martin
Branch: christos-time_t
Changes since 1.3: +0 -73 lines
FILE REMOVED

file ssp.h was added on branch christos-time_t on 2008-04-28 20:22:55 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Mon Apr 28 20:22:54 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, christos-time_t-nbase, christos-time_t-base
Branch point for: christos-time_t
Changes since 1.2: +1 -8 lines
Diff to previous 1.2 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.2.8.2 / (download) - annotate - [select for diffs], Mon Sep 3 07:01:09 2007 UTC (16 years, 7 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.2.8.1: +80 -0 lines
Diff to previous 1.2.8.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync w/ NetBSD-4-RC_1

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Sun Jul 22 18:44:39 2007 UTC (16 years, 8 months ago) by liamjfoy
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0
Changes since 1.2.2.1: +80 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Pull up to netbsd-4 (requested by christos in ticket #773):

Move libssp to libc.

Revision 1.2.8.1, Sun Jun 3 17:41:19 2007 UTC (16 years, 10 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.2: +0 -80 lines
FILE REMOVED

file ssp.h was added on branch wrstuden-fixsa on 2007-09-03 07:01:09 +0000

Revision 1.2.2.1, Sun Jun 3 17:41:19 2007 UTC (16 years, 10 months ago) by liamjfoy
Branch: netbsd-4
Changes since 1.2: +0 -80 lines
FILE REMOVED

file ssp.h was added on branch netbsd-4 on 2007-07-22 18:44:39 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jun 3 17:41:19 2007 UTC (16 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: yamt-pf42, wrstuden-fixsa, netbsd-4
Changes since 1.1: +14 -8 lines
Diff to previous 1.1 (colored)

- Misc cleanups to make the code more readable.
- Detect if we are compiling in libc and provide the appropriate name.

Revision 1.1 / (download) - annotate - [select for diffs], Wed May 30 01:17:35 2007 UTC (16 years, 10 months ago) by tls
Branch: MAIN

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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>