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


Keyword substitution: kv
Default branch: MAIN


Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Nov 15 03:14:16 2023 UTC (16 months ago) by christos
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -0 lines
Allow __ssp_inline to be overriden

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Nov 10 23:03:37 2023 UTC (16 months, 1 week ago) by christos
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -2 lines
PR/57689: RVP: getcwd() not overridable with -D_FORTIFY_SOURCE

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Mar 29 13:37:10 2023 UTC (23 months, 3 weeks ago) by christos
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +12 -5 lines
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 - view: text, markup, annotated - select for diffs
Thu Sep 3 20:43:47 2015 UTC (9 years, 6 months ago) by plunky
Branches: 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-4-RELEASE, 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-3-RELEASE, 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-1-RELEASE, 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
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
correct __ssp_overlap() to not trigger for adjacent areas

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Jun 25 18:41:03 2015 UTC (9 years, 8 months ago) by joerg
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -5 lines
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 - view: text, markup, annotated - select for diffs
Sat May 9 15:41:47 2015 UTC (9 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -1 lines
add a macro to check overlapping pointers

Revision 1.9.4.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 18:58:34 2012 UTC (12 years, 4 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +3 -2 lines
sync with head

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Aug 8 20:23:32 2012 UTC (12 years, 7 months ago) by joerg
Branches: 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
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -2 lines
SSP mostly works with Clang, even if optimisation is disabled.
Explicitly disable it for Lint though.

Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:09:14 2011 UTC (14 years ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.5.2.1: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.1: +17 -13 lines
Sync with HEAD

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Feb 21 00:40:08 2011 UTC (14 years, 1 month ago) by joerg
Branches: 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
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +17 -13 lines
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 - view: text, markup, annotated - select for diffs
Tue Feb 8 16:18:55 2011 UTC (14 years, 1 month ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +13 -4 lines
Sync with HEAD

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Jan 26 18:08:00 2011 UTC (14 years, 1 month ago) by christos
Branches: MAIN
CVS tags: uebayasi-xip-base7, bouyer-quota2-base
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -1 lines
provide a way to override the weak name.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Jan 25 19:13:44 2011 UTC (14 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -2 lines
proved an __ssp_check macro.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Jan 20 02:58:17 2011 UTC (14 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +7 -2 lines
Use the _sys alias instead of the _ alias as the way to access the baseline
syscall.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Jan 19 19:21:29 2011 UTC (14 years, 2 months ago) by christos
Branches: MAIN
Branch point for: bouyer-quota2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +8 -10 lines
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 - view: text, markup, annotated - select for diffs
Wed Dec 22 19:43:33 2010 UTC (14 years, 3 months ago) by jruoho
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -4 lines
Use __dead instead of __attribute__((__noreturn__)) directly.

Revision 1.2.14.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:30:09 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +1 -8 lines
sync with head.

Revision 1.3.10.2: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:22:55 2008 UTC (16 years, 10 months ago) by martin
Branches: christos-time_t
Diff to: previous 1.3.10.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.10.1: +73 -0 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.3.10.1
Mon Apr 28 20:22:54 2008 UTC (16 years, 10 months ago) by martin
Branches: christos-time_t
FILE REMOVED
Changes since revision 1.3: +0 -73 lines
file ssp.h was added on branch christos-time_t on 2008-04-28 20:22:55 +0000

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:22:54 2008 UTC (16 years, 10 months ago) by martin
Branches: 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
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -8 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.2.8.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 07:01:09 2007 UTC (17 years, 6 months ago) by wrstuden
Branches: wrstuden-fixsa
Diff to: previous 1.2.8.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.8.1: +80 -0 lines
Sync w/ NetBSD-4-RC_1

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Sun Jul 22 18:44:39 2007 UTC (17 years, 8 months ago) by liamjfoy
Branches: 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
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +80 -0 lines
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 (17 years, 9 months ago) by wrstuden
Branches: wrstuden-fixsa
FILE REMOVED
Changes since revision 1.2: +0 -80 lines
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 (17 years, 9 months ago) by liamjfoy
Branches: netbsd-4
FILE REMOVED
Changes since revision 1.2: +0 -80 lines
file ssp.h was added on branch netbsd-4 on 2007-07-22 18:44:39 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Jun 3 17:41:19 2007 UTC (17 years, 9 months ago) by christos
Branches: 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
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +14 -8 lines
- Misc cleanups to make the code more readable.
- Detect if we are compiling in libc and provide the appropriate name.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed May 30 01:17:35 2007 UTC (17 years, 9 months ago) by tls
Branches: 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.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>