The NetBSD Project

CVS log for src/sys/arch/amd64/include/asan.h

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / amd64 / include

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.12 / (download) - annotate - [select for diffs], Tue Sep 13 09:39:49 2022 UTC (8 months, 2 weeks ago) by riastradh
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.11: +6 -1 lines
Diff to previous 1.11 (colored)

amd64/asan.h, amd64/msan.h: Add include guards.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Aug 22 13:57:24 2022 UTC (9 months ago) by hannken
Branch: MAIN
Changes since 1.10: +3 -1 lines
Diff to previous 1.10 (colored)

Sprinkle "#include <machine/pmap_private.h>", kernel ALL/amd64
compiles again.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Aug 20 23:15:36 2022 UTC (9 months, 1 week ago) by riastradh
Branch: MAIN
Changes since 1.9: +3 -1 lines
Diff to previous 1.9 (colored)

x86: Split bootspace out of x86/pmap.h into new x86/bootspace.h.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Sep 10 14:10:46 2020 UTC (2 years, 8 months ago) by maxv
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.8: +14 -15 lines
Diff to previous 1.8 (colored)

kasan: fix the copyright notices

Revision 1.8 / (download) - annotate - [select for diffs], Sat Sep 5 16:30:10 2020 UTC (2 years, 8 months ago) by riastradh
Branch: MAIN
Changes since 1.7: +3 -1 lines
Diff to previous 1.7 (colored)

Round of uvm.h cleanup.

The poorly named uvm.h is generally supposed to be for uvm-internal
users only.

- Narrow it to files that actually need it -- mostly files that need
  to query whether curlwp is the pagedaemon, which should maybe be
  exposed by an external header.

- Use uvm_extern.h where feasible and uvm_*.h for things not exposed
  by it.  We should split up uvm_extern.h but this will serve for now
  to reduce the uvm.h dependencies.

- Use uvm_stat.h and #ifdef UVMHIST uvm.h for files that use
  UVMHIST(ubchist), since ubchist is declared in uvm.h but the
  reference evaporates if UVMHIST is not defined, so we reduce header
  file dependencies.

- Make uvm_device.h and uvm_swap.h independently includable while
  here.

ok chs@

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jun 23 17:21:55 2020 UTC (2 years, 11 months ago) by maxv
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Rename __MD_CANONICAL_BASE -> __MD_KERNMEM_BASE for clarity.

Revision 1.6 / (download) - annotate - [select for diffs], Sat May 2 16:28:37 2020 UTC (3 years ago) by maxv
Branch: MAIN
Changes since 1.5: +61 -24 lines
Diff to previous 1.5 (colored)

Call kasan_early_init earlier, to unbreak KASAN after the recent RNG
changes. Will also prevent further trouble.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Apr 25 15:26:16 2020 UTC (3 years, 1 month ago) by bouyer
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4 (colored)

Merge the bouyer-xenpvh branch, bringing in Xen PV drivers support under HVM
guests in GENERIC.
Xen support can be disabled at runtime with
boot -c
disable hypervisor

Revision 1.3.4.3 / (download) - annotate - [select for diffs], Tue Apr 21 18:42:03 2020 UTC (3 years, 1 month ago) by martin
Branch: phil-wifi
Changes since 1.3.4.2: +36 -5 lines
Diff to previous 1.3.4.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with HEAD

Revision 1.3.12.1 / (download) - annotate - [select for diffs], Mon Apr 20 11:28:51 2020 UTC (3 years, 1 month ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.3: +36 -5 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Sync with HEAD

Revision 1.4 / (download) - annotate - [select for diffs], Wed Apr 15 17:00:07 2020 UTC (3 years, 1 month ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20200421, bouyer-xenpvh-base2, bouyer-xenpvh-base1
Changes since 1.3: +36 -5 lines
Diff to previous 1.3 (colored)

Use large pages for the kASan shadow, same as kMSan.

Revision 1.3.4.2 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:47 2019 UTC (3 years, 11 months ago) by christos
Branch: phil-wifi
Changes since 1.3.4.1: +223 -0 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored)

Sync with HEAD

Revision 1.3.4.1, Sat Mar 9 08:42:25 2019 UTC (4 years, 2 months ago) by christos
Branch: phil-wifi
Changes since 1.3: +0 -223 lines
FILE REMOVED

file asan.h was added on branch phil-wifi on 2019-06-10 22:05:47 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Sat Mar 9 08:42:25 2019 UTC (4 years, 2 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, 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, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: phil-wifi, bouyer-xenpvh
Changes since 1.2: +5 -5 lines
Diff to previous 1.2 (colored)

Start replacing the x86 PTE bits.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Feb 4 15:07:34 2019 UTC (4 years, 3 months ago) by maxv
Branch: MAIN
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

Add more symbols to the unwinder, in case we get a KASAN message inside
an exception handler.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:17 2018 UTC (4 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.1.2.1: +221 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.1.2.1, Wed Oct 31 06:26:26 2018 UTC (4 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1: +0 -221 lines
FILE REMOVED

file asan.h was added on branch pgoyette-compat on 2018-11-26 01:52:17 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 31 06:26:26 2018 UTC (4 years, 6 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126
Branch point for: pgoyette-compat

Move the MI parts of KASAN into kern/subr_asan.c. This file includes
machine/asan.h, which contains the MD functions. We use an include rather
than a plain C file, because we want GCC to optimize/inline some functions
into one single block.

The amd64 MD parts of KASAN are moved accordingly.

The naming convention we use is:

	kasan_*
		a generic kasan object, declared in subr_asan.c
	kasan_md_*
		an MD kasan object, declared in machine/asan.h, and used
		in subr_asan.c
	__md_*
		an MD object, declared in machine/asan.h, and not used
		outside

Overall this makes it easier to add KASAN support on more architectures.

Discussed with several people.

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>