freebsd-dev/sys
Konstantin Belousov d24031dd0c Fix the ABI change of the signal delivered on the access to the page
with insufficient protection mode.

For the i386 and amd64, create the tunable, machdep.prot_fault_translation,
with the following behaviour:
	0 = autodetect the signal to be delivered on KERN_PROTECTION_FAILURE
	    from vm_fault based on the ELF OSABI note:
		no note or __FreeBSD_version < 700004 - SIGBUS/BUS_PAGE_FAULT
		note, and __FreeBSD_version >= 700004 - SIGSEGV/SEGV_ACCERR
	1 = always SIGBUS/BUS_PAGE_FAULT
	2 = always SIGSEGV/SEGV_ACCERR

This would do mostly automatic correction of ABI breakage, with the exception
of the untaged binaries for 7-CURRENT/RELENG_7 before the note is fixed. For
them, sysctl would allow to run the binary with manual settings.

Discussed with:	portmgr (kris)
PR:		kern/118304
MFC after:	3 days
2007-12-04 12:33:03 +00:00
..
amd64 Fix the ABI change of the signal delivered on the access to the page 2007-12-04 12:33:03 +00:00
arm Break out stack(9) from ddb(4): 2007-12-02 20:40:35 +00:00
boot Add a note to indicate that these files do borrow in part from mbr.s and 2007-11-26 21:29:59 +00:00
bsm Merge OpenBSM 1.0 changes to src/sys/bsm: 2007-10-29 18:47:25 +00:00
cam Fix a change in the previous commit that was actually a type-o. 2007-11-15 16:23:38 +00:00
cddl Remove some compatibility stuff that we now get from the Solaris header. 2007-11-29 00:15:08 +00:00
compat Implement functions required by some ndis drivers. 2007-12-03 23:43:58 +00:00
conf Catch up pc98 for i386 stack(9) changes: 2007-12-03 11:38:28 +00:00
contrib * Check endianness the FreeBSD way. 2007-11-28 22:16:00 +00:00
crypto Commit the change from FAST_IPSEC to IPSEC. The FAST_IPSEC 2007-07-03 12:13:45 +00:00
ddb Make the examine command honor db_pager_quit so you can use 'q' or 'x' 2007-10-27 20:19:11 +00:00
dev Remove compatibilty defines to simplify reading the code, this is around 10% of 2007-12-03 21:51:28 +00:00
fs o English lesson from bde@: "iff" is not a typo, it means "if and only if". 2007-11-18 09:21:30 +00:00
gdb Add kdb_cpu_sync_icache(), intended to synchronize instruction 2007-06-09 21:55:17 +00:00
geom On some arches, openssl is built with OPENSSL_NO_CAMELLIA, so the 2007-11-19 08:59:32 +00:00
gnu Remove duplicate "union" from ext2_opts. 2007-10-27 16:14:33 +00:00
i4b Spelling fix for interupt -> interrupt 2007-10-12 06:03:46 +00:00
i386 Fix the ABI change of the signal delivered on the access to the page 2007-12-04 12:33:03 +00:00
ia64 Break out stack(9) from ddb(4): 2007-12-02 20:40:35 +00:00
isa Split /dev/nvram driver out of isa/clock.c for i386 and amd64. I have not 2007-10-26 03:23:54 +00:00
kern Implement fetching of the __FreeBSD_version from the ELF ABI-tag note. 2007-12-04 12:28:07 +00:00
libkern Do not use __XSCALE__ to detect if clz is available, use _ARM_ARCH_5 instead. 2007-10-13 12:05:36 +00:00
modules The AR_SCSI_PASSTHROUGH conditional no longer exists, remove it from the 2007-12-02 18:39:38 +00:00
net Add sysctls to if_enc(4) to control whether the firewalls or 2007-11-28 22:33:53 +00:00
net80211 Be more careful handling off-channel frames: if the driver (wrongly) 2007-11-26 21:28:18 +00:00
netatalk Annotate two possible bugs in a comment: (1) we allocate and explicitly 2007-11-20 18:50:54 +00:00
netatm Disconnect netatm from the build as it is not MPSAFE and relies on 2007-07-14 21:49:24 +00:00
netgraph Add ipv6 to ng_cisco node. ipv6 wasn't a reality when I wrote it.. 2007-11-30 23:27:39 +00:00
netinet Fix SACK negotiation that was broken in rev 1.105. 2007-12-04 07:11:13 +00:00
netinet6 Instead of manually freeing the packet options structure (and not even doing 2007-11-21 16:01:42 +00:00
netipsec Add sysctls to if_enc(4) to control whether the firewalls or 2007-11-28 22:33:53 +00:00
netipx Make tcpstates[] static, and make sure TCPSTATES is defined before 2007-07-30 11:06:42 +00:00
netnatm
netncp Commit 14/14 of sched_lock decomposition. 2007-06-05 00:00:57 +00:00
netsmb Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
nfs
nfs4client Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
nfsclient Remove hacks from the NFSv2/3 client intended to handle a lack of a 2007-11-19 16:03:21 +00:00
nfsserver Garbage collect now-unused nfsrv_setcred() -- it's not only unused, but 2007-11-04 19:20:33 +00:00
opencrypto Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
pc98 Catch up pc98 for i386 stack(9) changes: 2007-12-03 11:38:28 +00:00
pccard
pci Remove XRPU driver, after asking all the users. 2007-12-01 20:07:45 +00:00
powerpc Break out stack(9) from ddb(4): 2007-12-02 20:40:35 +00:00
rpc Remove the now-unused NET_{LOCK,UNLOCK,ASSERT}_GIANT() macros, which 2007-08-06 14:26:03 +00:00
security Implement per-object type consistency checks for labels passed to 2007-10-30 00:01:28 +00:00
sparc64 Break out stack(9) from ddb(4): 2007-12-02 20:40:35 +00:00
sun4v Break out stack(9) from ddb(4): 2007-12-02 20:40:35 +00:00
sys Implement fetching of the __FreeBSD_version from the ELF ABI-tag note. 2007-12-04 12:28:07 +00:00
tools
ufs Fix a broken check that recently became more annoying because it now 2007-12-01 13:12:43 +00:00
vm Correct a comment. 2007-12-02 07:43:42 +00:00
Makefile Complete repo-copy and move of Coda from src/sys/coda to src/sys/fs/coda 2007-07-12 21:04:58 +00:00