The NetBSD Project

CVS log for src/sys/compat/linux/arch/i386/linux_machdep.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / compat / linux / arch / i386

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.163.6.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 21:04:01 2023 UTC (17 months, 2 weeks ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.163: preferred, colored; next MAIN 1.164: preferred, colored
Changes since revision 1.163: +9 -2 lines
Pull up following revision(s) (requested by riastradh in ticket #1836):

	sys/compat/linux/arch/i386/linux_machdep.c: revision 1.168
	sys/compat/sunos/sunos_misc.c: revision 1.177
	sys/compat/netbsd32/netbsd32_compat_50.c: revision 1.52
	sys/compat/common/kern_resource_43.c: revision 1.23
	sys/compat/netbsd32/netbsd32_conv.h: revision 1.46
	sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.35
	sys/compat/common/vfs_syscalls_12.c: revision 1.38
	sys/compat/ultrix/ultrix_misc.c: revision 1.126
	sys/compat/common/kern_sig_43.c: revision 1.37
	sys/compat/linux/common/linux_mtio.c: revision 1.8
	sys/compat/freebsd/freebsd_misc.c: revision 1.34
	sys/compat/linux/common/linux_olduname.c: revision 1.67
	sys/compat/linux/arch/mips/linux_machdep.c: revision 1.44
	sys/compat/freebsd/freebsd_sched.c: revision 1.23
	sys/compat/ossaudio/ossaudio.c: revision 1.84
	sys/compat/sys/time_types.h: revision 1.6
	sys/compat/linux/arch/powerpc/linux_machdep.c: revision 1.51
	sys/compat/linux/common/linux_file.c: revision 1.119
	sys/compat/linux/arch/arm/linux_machdep.c: revision 1.34
	sys/compat/netbsd32/netbsd32_wait.c: revision 1.25
	sys/compat/linux32/common/linux32_time.c: revision 1.38
	sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.33
	sys/compat/linux/arch/alpha/linux_machdep.c: revision 1.52
	sys/compat/linux32/arch/amd64/linux32_machdep.c: revision 1.46
	sys/compat/netbsd32/netbsd32_compat_12.c: revision 1.36
	sys/compat/ultrix/ultrix_ioctl.c: revision 1.39
	sys/compat/linux/common/linux_misc.c: revision 1.252
	sys/compat/linux/common/linux_hdio.c: revision 1.19
	sys/compat/sunos/sunos_ioctl.c: revision 1.71
	sys/compat/linux/common/linux_sched.c: revision 1.79
	sys/compat/common/kern_info_43.c: revision 1.40
	sys/compat/linux32/common/linux32_exec_elf32.c: revision 1.20
	sys/compat/linux/common/linux_socket.c: revision 1.153
	sys/compat/linux/arch/amd64/linux_machdep.c: revision 1.60
	sys/compat/common/vfs_syscalls_43.c: revision 1.68
	sys/compat/linux/arch/powerpc/linux_exec_powerpc.c: revision 1.25
	sys/compat/netbsd32/netbsd32_ptrace.c: revision 1.9
	sys/compat/common/kern_time_50.c: revision 1.37
	sys/compat/netbsd32/netbsd32_compat_20.c: revision 1.42
	sys/compat/linux/common/linux_cdrom.c: revision 1.28
	sys/compat/linux/arch/m68k/linux_machdep.c: revision 1.43
	sys/compat/common/kern_info_09.c: revision 1.22
	sys/compat/linux32/common/linux32_resource.c: revision 1.12
	sys/compat/linux/common/linux_oldolduname.c: revision 1.67
	sys/compat/netbsd32/netbsd32_nfssvc.c: revision 1.8
	sys/compat/linux32/common/linux32_signal.c: revision 1.21
	sys/compat/common/kern_sig_13.c: revision 1.22
	sys/compat/sunos32/sunos32_ioctl.c: revision 1.36
	sys/compat/netbsd32/netbsd32_compat_43.c: revision 1.62
	sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.23
	sys/compat/netbsd32/netbsd32_time.c: revision 1.56
	sys/compat/linux/common/linux_signal.c: revision 1.84
	sys/compat/netbsd32/netbsd32_signal.c: revision 1.52
	sys/compat/sunos32/sunos32_misc.c: revision 1.85
	sys/compat/linux/common/linux_time.c: revision 1.40
	sys/compat/linux/common/linux_fdio.c: revision 1.14
	sys/compat/common/vfs_syscalls_30.c: revision 1.43

sys/compat: Memset zero before copyout.

Just in case of uninitialized padding which would lead to kernel
stack disclosure.  If the compiler can prove the memset redundant
then it can optimize it away; otherwise better safe than sorry.

Revision 1.166.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 3 11:11:31 2022 UTC (2 years, 4 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE
Diff to: previous 1.166: preferred, colored; next MAIN 1.167: preferred, colored
Changes since revision 1.166: +9 -2 lines
Pull up following revision(s), all via patch
(requested by riastradh in ticket #1487):

	sys/compat/linux/arch/i386/linux_machdep.c: revision 1.168
	sys/compat/sunos/sunos_misc.c: revision 1.177
	sys/compat/netbsd32/netbsd32_compat_50.c: revision 1.52
	sys/compat/common/kern_resource_43.c: revision 1.23
	sys/compat/netbsd32/netbsd32_conv.h: revision 1.46
	sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.35
	sys/compat/common/vfs_syscalls_12.c: revision 1.38
	sys/compat/ultrix/ultrix_misc.c: revision 1.126
	sys/compat/common/kern_sig_43.c: revision 1.37
	sys/compat/linux/common/linux_mtio.c: revision 1.8
	sys/compat/freebsd/freebsd_misc.c: revision 1.34
	sys/compat/freebsd/freebsd_machdep.c: revision 1.5
	sys/compat/linux/common/linux_olduname.c: revision 1.67
	sys/compat/linux/arch/mips/linux_machdep.c: revision 1.44
	sys/compat/freebsd/freebsd_sched.c: revision 1.23
	sys/compat/ossaudio/ossaudio.c: revision 1.84
	sys/compat/sys/time_types.h: revision 1.6
	sys/compat/linux/arch/powerpc/linux_machdep.c: revision 1.51
	sys/compat/common/ieee80211_20.c: revision 1.7
	sys/compat/linux/common/linux_file.c: revision 1.119
	sys/compat/linux/arch/arm/linux_machdep.c: revision 1.34
	sys/compat/netbsd32/netbsd32_wait.c: revision 1.25
	sys/compat/linux32/common/linux32_time.c: revision 1.38
	sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.33
	sys/compat/linux/arch/alpha/linux_machdep.c: revision 1.52
	sys/compat/linux32/arch/amd64/linux32_machdep.c: revision 1.46
	sys/compat/netbsd32/netbsd32_compat_12.c: revision 1.36
	sys/compat/ultrix/ultrix_ioctl.c: revision 1.39
	sys/compat/linux/common/linux_misc.c: revision 1.252
	sys/compat/linux/common/linux_hdio.c: revision 1.19
	sys/compat/sunos/sunos_ioctl.c: revision 1.71
	sys/compat/linux/common/linux_sched.c: revision 1.79
	sys/compat/common/kern_info_43.c: revision 1.40
	sys/compat/linux32/common/linux32_exec_elf32.c: revision 1.20
	sys/compat/linux/common/linux_socket.c: revision 1.153
	sys/compat/linux/arch/amd64/linux_machdep.c: revision 1.60
	sys/compat/common/vfs_syscalls_43.c: revision 1.68
	sys/compat/linux/arch/powerpc/linux_exec_powerpc.c: revision 1.25
	sys/compat/netbsd32/netbsd32_ptrace.c: revision 1.9
	sys/compat/common/kern_time_50.c: revision 1.37
	sys/compat/netbsd32/netbsd32_compat_20.c: revision 1.42
	sys/compat/linux/common/linux_cdrom.c: revision 1.28
	sys/compat/linux/arch/m68k/linux_machdep.c: revision 1.43
	sys/compat/common/kern_info_09.c: revision 1.22
	sys/compat/linux32/common/linux32_resource.c: revision 1.12
	sys/compat/linux/common/linux_oldolduname.c: revision 1.67
	sys/compat/common/if_media_80.c: revision 1.4
	sys/compat/linux/arch/alpha/linux_osf1.c: revision 1.5
	sys/compat/netbsd32/netbsd32_nfssvc.c: revision 1.8
	sys/compat/linux32/common/linux32_signal.c: revision 1.21
	sys/compat/common/kern_sig_13.c: revision 1.22
	sys/compat/sunos32/sunos32_ioctl.c: revision 1.36
	sys/compat/netbsd32/netbsd32_compat_43.c: revision 1.62
	sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.23
	sys/compat/netbsd32/netbsd32_time.c: revision 1.56
	sys/compat/linux/common/linux_signal.c: revision 1.84
	sys/compat/netbsd32/netbsd32_signal.c: revision 1.52
	sys/compat/sunos32/sunos32_misc.c: revision 1.85
	sys/compat/linux/common/linux_time.c: revision 1.40
	sys/compat/linux/common/linux_fdio.c: revision 1.14
	sys/compat/common/vfs_syscalls_30.c: revision 1.43

sys/compat: Memset zero before copyout.

Just in case of uninitialized padding which would lead to kernel
stack disclosure.  If the compiler can prove the memset redundant
then it can optimize it away; otherwise better safe than sorry.

Revision 1.169: download - view: text, markup, annotated - select for diffs
Mon Nov 1 05:07:16 2021 UTC (3 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +8 -7 lines
Use "stack_t" instead of "struct sigaltstack", as the former is the
newer standardized name.  NFC.

Revision 1.168: download - view: text, markup, annotated - select for diffs
Tue Sep 7 11:43:04 2021 UTC (3 years, 3 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +9 -2 lines
sys/compat: Memset zero before copyout.

Just in case of uninitialized padding which would lead to kernel
stack disclosure.  If the compiler can prove the memset redundant
then it can optimize it away; otherwise better safe than sorry.

Revision 1.167: download - view: text, markup, annotated - select for diffs
Mon Aug 9 19:57:57 2021 UTC (3 years, 4 months ago) by andvar
Branches: MAIN
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +3 -3 lines
fix typos in asymmetry, asymmetric(al), symmetrical.

Revision 1.165.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:06:59 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.165: preferred, colored; next MAIN 1.166: preferred, colored
Changes since revision 1.165: +3 -3 lines
Sync with HEAD

Revision 1.166: download - view: text, markup, annotated - select for diffs
Sun May 19 08:46:15 2019 UTC (5 years, 6 months ago) by maxv
Branches: 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, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, 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-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: netbsd-9
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +3 -3 lines
Rename

	fpu_save_area_clear -> fpu_clear
	fpu_save_area_reset -> fpu_sigreset

Clearer, and reduces a future diff. No real functional change.

Revision 1.151.10.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:54 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.151.10.1: preferred, colored; branchpoint 1.151: preferred, colored; next MAIN 1.152: preferred, colored
Changes since revision 1.151.10.1: +36 -64 lines
update from HEAD

Revision 1.165: download - view: text, markup, annotated - select for diffs
Sun Sep 17 09:41:35 2017 UTC (7 years, 2 months ago) by maxv
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, phil-wifi-base, 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, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +3 -3 lines
Remove the second argument from USERMODE and KERNELMODE, it is unused
now that we don't have vm86 anymore.

Revision 1.159.2.3: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:58 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.159.2.2: preferred, colored; branchpoint 1.159: preferred, colored; next MAIN 1.160: preferred, colored
Changes since revision 1.159.2.2: +25 -54 lines
Sync with HEAD

Revision 1.164: download - view: text, markup, annotated - select for diffs
Sat Aug 12 07:07:53 2017 UTC (7 years, 3 months ago) by maxv
Branches: MAIN
CVS tags: nick-nhusb-base-20170825
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +24 -53 lines
Remove vm86. Simplifies a number of critical places.

Pass 2.

Revision 1.163.4.1: download - view: text, markup, annotated - select for diffs
Thu Apr 27 05:36:35 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.163: preferred, colored; next MAIN 1.164: preferred, colored
Changes since revision 1.163: +14 -9 lines
Restore all work from the former pgoyette-localcount branch (which is
now abandoned doe to cvs merge botch).

The branch now builds, and installs via anita.  There are still some
problems (cgd is non-functional and all atf tests time-out) but they
will get resolved soon.

Revision 1.162.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:41 2017 UTC (7 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.162: preferred, colored; next MAIN 1.163: preferred, colored
Changes since revision 1.162: +3 -3 lines
Sync with HEAD

Revision 1.162.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:24 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.162.2.1: preferred, colored; branchpoint 1.162: preferred, colored; next MAIN 1.163: preferred, colored
Changes since revision 1.162.2.1: +3 -3 lines
Sync with HEAD

Revision 1.163: download - view: text, markup, annotated - select for diffs
Sun Feb 5 10:42:22 2017 UTC (7 years, 10 months ago) by maxv
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, perseant-stdc-iso10646-base, perseant-stdc-iso10646, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: prg-localcount2, netbsd-8
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +3 -3 lines
Rename ldt->ldtstore and gdt->gdtstore on i386. It reduces the diff with
amd64, and makes it easier to track down these variables on nxr - 'ldt'
and 'gdt' being common keywords.

Revision 1.159.2.2: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:38 2016 UTC (8 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.159.2.1: preferred, colored; branchpoint 1.159: preferred, colored
Changes since revision 1.159.2.1: +6 -3 lines
Sync with HEAD

Revision 1.162.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 20 23:47:55 2016 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +14 -9 lines
Adapt machine-independant code to the new {b,c}devsw reference-counting
(using localcount(9)).  All callers of {b,c}devsw_lookup() now call
{b,c}devsw_lookup_acquire() which retains a reference on the 'struct
{b,c}devsw'.  This reference must be released by the caller once it is
finished with the structure's content (or other data that would disappear
if the 'struct {b,c}devsw' were to disappear).

Revision 1.162: download - view: text, markup, annotated - select for diffs
Wed Jul 13 15:59:54 2016 UTC (8 years, 4 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +6 -3 lines
x86_alldisks can be NULL, so don't dereference it. Not tested, but obvious
enough.

Revision 1.159.2.1: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:46 2015 UTC (8 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +11 -12 lines
Sync with HEAD (as of 26th Dec)

Revision 1.161: download - view: text, markup, annotated - select for diffs
Tue Dec 8 21:27:50 2015 UTC (9 years ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +10 -11 lines
Fix DIOCGPARTINFO

Revision 1.160: download - view: text, markup, annotated - select for diffs
Tue Dec 8 20:36:14 2015 UTC (9 years ago) by christos
Branches: MAIN
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +3 -3 lines
Replace DIOCGPART -> DIOCGPARTINFO which returns the data needed instead of
pointers.

Revision 1.158.4.1: download - view: text, markup, annotated - select for diffs
Sat Jan 17 12:10:53 2015 UTC (9 years, 10 months ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, 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
Diff to: previous 1.158: preferred, colored; next MAIN 1.159: preferred, colored
Changes since revision 1.158: +2 -3 lines
Pull up following revision(s) (requested by maxv in ticket #427):
	sys/compat/svr4/svr4_schedctl.c: revision 1.8
	sys/netinet/tcp_timer.c: revision 1.88
	sys/miscfs/genfs/layer_vfsops.c: revision 1.45
	sys/compat/svr4/svr4_ioctl.c: revision 1.37
	sys/ufs/chfs/chfs_vfsops.c: revision 1.14
	sys/miscfs/fdesc/fdesc_vfsops.c: revision 1.91
	sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.30
	sys/compat/common/kern_time_50.c: revision 1.28
	sys/netinet6/ip6_forward.c: revision 1.74
	sys/miscfs/umapfs/umap_vnops.c: revision 1.57
	sys/compat/svr4/svr4_fcntl.c: revision 1.74
	distrib/sets/lists/comp/mi: revision 1.1931
	sys/netinet6/udp6_output.c: revision 1.46
	sys/fs/puffs/puffs_compat.c: revision 1.3
	sys/fs/udf/udf_rename.c: revision 1.11
	sys/compat/svr4/svr4_filio.c: revision 1.24
	sys/fs/udf/udf_rename.c: revision 1.12
	sys/netinet/tcp_usrreq.c: revision 1.202
	sys/miscfs/umapfs/umap_subr.c: revision 1.29
	sys/compat/linux/common/linux_fadvise64.c: revision 1.3
	sys/netinet/if_atm.c: revision 1.34
	sys/miscfs/procfs/procfs_subr.c: revision 1.106
	sys/miscfs/genfs/layer_subr.c: revision 1.37
	sys/netinet/tcp_sack.c: revision 1.30
	sys/compat/freebsd/freebsd_misc.c: revision 1.33
	sys/compat/freebsd/freebsd_file.c: revision 1.33
	sys/ufs/chfs/chfs_vnode.c: revision 1.12
	sys/compat/svr4/svr4_ttold.c: revision 1.34
	sys/compat/linux/common/linux_file.c: revision 1.114
	sys/compat/linux/arch/mips/linux_machdep.c: revision 1.43
	sys/compat/linux/common/linux_signal.c: revision 1.76
	sys/compat/common/compat_util.c: revision 1.46
	sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.18
	sys/compat/svr4/svr4_sockio.c: revision 1.36
	sys/compat/linux/arch/arm/linux_machdep.c: revision 1.32
	sys/compat/svr4/svr4_signal.c: revision 1.66
	sys/kern/kern_exec.c: revision 1.410
	sys/fs/puffs/puffs_vfsops.c: revision 1.115
	sys/compat/svr4/svr4_exec_elf64.c: revision 1.15
	sys/compat/linux/arch/i386/linux_machdep.c: revision 1.159
	sys/compat/linux/arch/alpha/linux_machdep.c: revision 1.50
	sys/compat/linux32/common/linux32_misc.c: revision 1.24
	sys/netinet/in_pcb.c: revision 1.153
	sys/sys/malloc.h: revision 1.116
	sys/compat/common/if_43.c: revision 1.9
	share/man/man9/Makefile: revision 1.380
	sys/netinet/tcp_vtw.c: revision 1.12
	sys/miscfs/umapfs/umap_vfsops.c: revision 1.95
	sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.186
	sys/compat/common/uipc_syscalls_43.c: revision 1.46
	sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.115
	sys/fs/puffs/puffs_msgif.c: revision 1.97
	sys/compat/svr4/svr4_ipc.c: revision 1.27
	sys/compat/linux/common/linux_exec.c: revision 1.117
	sys/ufs/ext2fs/ext2fs_readwrite.c: revision 1.66
	sys/netinet/tcp_output.c: revision 1.179
	sys/compat/svr4/svr4_termios.c: revision 1.28
	sys/fs/udf/udf_strat_bootstrap.c: revision 1.4
	sys/fs/puffs/puffs_subr.c: revision 1.67
	sys/fs/puffs/puffs_node.c: revision 1.36
	sys/miscfs/overlay/overlay_vnops.c: revision 1.21
	sys/fs/cd9660/cd9660_node.c: revision 1.34
	sys/netinet/raw_ip.c: revision 1.146
	sys/sys/mallocvar.h: revision 1.13
	sys/miscfs/overlay/overlay_vfsops.c: revision 1.63
	share/man/man9/malloc.9: revision 1.50
	sys/netinet6/dest6.c: revision 1.18
	sys/compat/linux/common/linux_uselib.c: revision 1.33
	sys/compat/linux/common/linux_socket.c: revision 1.120
	share/man/man9/malloc.9: revision 1.51
	sys/netinet/tcp_subr.c: revision 1.257
	sys/compat/linux/common/linux_socketcall.c: revision 1.45
	sys/compat/linux/common/linux_fadvise64_64.c: revision 1.3
	sys/compat/freebsd/freebsd_ipc.c: revision 1.17
	sys/compat/linux/common/linux_misc_notalpha.c: revision 1.109
	sys/compat/linux/arch/alpha/linux_pipe.c: revision 1.17
	sys/netinet6/in6_pcb.c: revision 1.132
	sys/netinet6/in6_ifattach.c: revision 1.94
	sys/compat/svr4/svr4_exec_elf32.c: revision 1.15
	sys/miscfs/nullfs/null_vfsops.c: revision 1.90
	sys/fs/cd9660/cd9660_util.c: revision 1.12
	sys/compat/linux/arch/powerpc/linux_machdep.c: revision 1.48
	sys/compat/freebsd/freebsd_exec_elf32.c: revision 1.20
	sys/miscfs/procfs/procfs_vfsops.c: revision 1.94
	sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.28
	sys/compat/linux/common/linux_sched.c: revision 1.67
	sys/compat/linux/common/linux_exec_aout.c: revision 1.67
	sys/compat/linux/common/linux_pipe.c: revision 1.67
	sys/compat/linux/common/linux_llseek.c: revision 1.34
	sys/compat/linux/arch/mips/linux_ptrace.c: revision 1.10
Do not uselessly include <sys/malloc.h>.
Cleanup:
 - remove struct kmembuckets (dead)
 - correctly deadify MALLOC_XX
 - remove MALLOC_DEFINE_LIMIT and MALLOC_JUSTDEFINE_LIMIT (dead)
 - remove malloc_roundup(), malloc_type_setlimit(), MALLOC_DEFINE_LIMIT()
   and MALLOC_JUSTDEFINE_LIMIT() from man 9 malloc
New sentence, new line. Bump date for previous.
Obsolete malloc_roundup(9), malloc_type_setlimit(9) and MALLOC_DEFINE_LIMIT(9)
man pages.

Revision 1.159: download - view: text, markup, annotated - select for diffs
Sun Nov 9 17:48:07 2014 UTC (10 years, 1 month ago) by maxv
Branches: MAIN
CVS tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +2 -3 lines
Do not uselessly include <sys/malloc.h>.

Revision 1.151.10.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:32 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +5 -16 lines
Rebase to HEAD as of a few days ago.

Revision 1.150.4.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:16 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.150.4.1: preferred, colored; branchpoint 1.150: preferred, colored; next MAIN 1.151: preferred, colored
Changes since revision 1.150.4.1: +5 -16 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.151.14.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:32 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.151: preferred, colored; next MAIN 1.152: preferred, colored
Changes since revision 1.151: +5 -16 lines
sync with head

Revision 1.158: download - view: text, markup, annotated - select for diffs
Wed Feb 19 21:23:02 2014 UTC (10 years, 9 months ago) by dsl
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +4 -2 lines
Add explicit #include <x86/fpu.h> instead of relying on pcb.h including it.

Revision 1.157: download - view: text, markup, annotated - select for diffs
Sat Feb 15 10:11:15 2014 UTC (10 years, 9 months ago) by dsl
Branches: MAIN
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +3 -15 lines
Remove all references to MDL_USEDFPU and deferred fpu initialisation.
The cost of zeroing the save area on exec is minimal.
This stops the FP registers of a random process being used the first
  time an lwp uses the fpu.
sendsig_siginfo() and get_mcontext() now unconditionally copy the FP
registers.
I'll remove the double-copy for signal handlers soon.
get_mcontext() might have been leaking kernel memory to userspace - and
  may still do so if i386_use_fxsave is false (short copies).

Revision 1.156: download - view: text, markup, annotated - select for diffs
Sun Jan 26 19:16:17 2014 UTC (10 years, 10 months ago) by dsl
Branches: MAIN
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +5 -6 lines
Remove support for 'external' floating point units and the MS-DOS
  compatible method of handling floating point exceptions.
Make kernel support for teh fpu non-optional (486SX should still work).
Only 386 cpus support external fpu, and i386 support was removed years ago.
This means that the npx code no longer uses port 0xf0 or interupt 13.
All the "npx at isa" lines go from the configs, arch/i386/isa/npx.c
  is now mandatory for all i386 kernels.
I've renamed npxinit() to fpuinit() and npxinit_cpu() to fpuinit_cpu()
  to match the very similar amd64 functions.
The fpu of the boot cpu is now initialised by a direct call from
  cpu_configure(), this enables FP emulation for a 486SX.
  (for amd64 the cr0 values are set in locore.S and similar).
This fixes a long-standing bug in linux_setregs() - which did not
  save the fpu regsiters if they were active.
I've test booted a single cpu i386 kernel (using anita).
amd64 builds - none of teh changes should affect it.
The i386 XEN kernels build, but I'm not sure where they set cr0, and
  it might have got lost!

Revision 1.155: download - view: text, markup, annotated - select for diffs
Sun Jan 19 14:30:38 2014 UTC (10 years, 10 months ago) by dsl
Branches: MAIN
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +5 -5 lines
Flatten the floating point register structures bu moving the
  'environment' registers into the main strcuture.
There are x87 instructions that only affect the environment, but that
  is no real excuse for all the sub-structures.
Rename fields so that there are far fewer collisions between the two
  sets of field names.

Revision 1.154: download - view: text, markup, annotated - select for diffs
Mon Dec 9 08:33:48 2013 UTC (11 years ago) by dsl
Branches: MAIN
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +4 -4 lines
Missing change to the fxsave structure rename

Revision 1.153: download - view: text, markup, annotated - select for diffs
Sun Dec 1 01:05:16 2013 UTC (11 years ago) by christos
Branches: MAIN
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +1 -1 lines
revert fpu/pcu changes until we figure out what's wrong; they cause random
freezes

Revision 1.152: download - view: text, markup, annotated - select for diffs
Wed Oct 23 20:18:51 2013 UTC (11 years, 1 month ago) by drochner
Branches: MAIN
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +3 -3 lines
Use the MI "pcu" framework for bookkeeping of npx/fpu states on x86.
This reduces the amount of MD code enormously, and makes it easier
to implement support for newer CPU features which require more fpu
state, or for fpu usage by the kernel.
For access to FPU state across CPUs, an xcall kthread is used now
rather than a dedicated IPI.
No user visible changes intended.

Revision 1.150.4.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:16 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +3 -34 lines
sync with head

Revision 1.151: download - view: text, markup, annotated - select for diffs
Fri Nov 18 04:07:44 2011 UTC (13 years ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +3 -34 lines
- add sigtimedwait support.
- merge the siginfo population code.

Revision 1.149.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:07:23 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.149: preferred, colored; next MAIN 1.150: preferred, colored
Changes since revision 1.149: +3 -3 lines
Sync with HEAD.

Revision 1.148.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:52:43 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.148: preferred, colored; next MAIN 1.149: preferred, colored
Changes since revision 1.148: +9 -29 lines
sync with head

Revision 1.149.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:10:13 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.149: preferred, colored; next MAIN 1.150: preferred, colored
Changes since revision 1.149: +3 -3 lines
Sync with HEAD

Revision 1.150: download - view: text, markup, annotated - select for diffs
Fri Mar 4 22:25:31 2011 UTC (13 years, 9 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase
Branch point for: yamt-pagecache
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +3 -3 lines
Refactor ps_strings access. Based on PK_32, write either the normal
version or the 32bit compat layout in execve1. Introduce a new function
copyin_psstrings for reading it back from userland and converting it to
the native layout. Refactor procfs to share most of the code with the
kern.proc_args sysctl handler.

This material is based upon work partially supported by
The NetBSD Foundation under a contract with Joerg Sonnenberger.

Revision 1.148.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:45:44 2010 UTC (14 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.148: preferred, colored; next MAIN 1.149: preferred, colored
Changes since revision 1.148: +8 -28 lines
Sync with HEAD.

Revision 1.135.2.5: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:05 2010 UTC (14 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.135.2.4: preferred, colored; branchpoint 1.135: preferred, colored; next MAIN 1.136: preferred, colored
Changes since revision 1.135.2.4: +8 -28 lines
sync with head.

Revision 1.149: download - view: text, markup, annotated - select for diffs
Wed Jul 7 01:30:34 2010 UTC (14 years, 5 months ago) by chs
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-base
Branch point for: jruoho-x86intr, bouyer-quota2
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +8 -28 lines
many changes for COMPAT_LINUX:
 - update the linux syscall table for each platform.
 - support new-style (NPTL) linux pthreads on all platforms.
   clone() with CLONE_THREAD uses 1 process with many LWPs
   instead of separate processes.
 - move the contents of sys__lwp_setprivate() into a new
   lwp_setprivate() and use that everywhere.
 - update linux_release[] and linux32_release[] to "2.6.18".
 - adjust placement of emul fork/exec/exit hooks as needed
   and adjust other emul code to match.
 - convert all struct emul definitions to use named initializers.
 - change the pid allocator to allow multiple pids to refer to the same proc.
 - remove a few fields from struct proc that are no longer needed.
 - disable the non-functional "vdso" code in linux32/amd64,
   glibc works fine without it.
 - fix a race in the futex code where we could miss a wakeup after
   a requeue operation.
 - redo futex locking to be a little more efficient.

Revision 1.135.2.4: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:15 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.135.2.3: preferred, colored; branchpoint 1.135: preferred, colored
Changes since revision 1.135.2.3: +14 -10 lines
sync with head

Revision 1.148: download - view: text, markup, annotated - select for diffs
Wed Feb 3 13:48:53 2010 UTC (14 years, 10 months ago) by wiz
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +3 -3 lines
Remove extra parenthesis. Found by cppcheck, reported by
Henning Petersen in PR 42732.

Revision 1.147: download - view: text, markup, annotated - select for diffs
Tue Jan 5 13:22:41 2010 UTC (14 years, 11 months ago) by mbalmer
Branches: MAIN
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +3 -3 lines
Remove extra semicolon.

Revision 1.146: download - view: text, markup, annotated - select for diffs
Mon Nov 23 00:46:06 2009 UTC (15 years ago) by rmind
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +12 -8 lines
Use lwp_getpcb() in compat code, clean from struct user.

Revision 1.142.2.2: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:31:40 2009 UTC (15 years, 4 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.142.2.1: preferred, colored; branchpoint 1.142: preferred, colored; next MAIN 1.143: preferred, colored
Changes since revision 1.142.2.1: +4 -4 lines
Sync with HEAD.

Revision 1.135.2.3: download - view: text, markup, annotated - select for diffs
Sat Jun 20 07:20:15 2009 UTC (15 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.135.2.2: preferred, colored; branchpoint 1.135: preferred, colored
Changes since revision 1.135.2.2: +4 -4 lines
sync with head

Revision 1.145: download - view: text, markup, annotated - select for diffs
Fri May 29 14:19:13 2009 UTC (15 years, 6 months ago) by njoly
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, jymxensuspend-base, jym-xensuspend-nbase
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +4 -4 lines
Add native to linux siginfo si_status translation, used on i386 and
amd64.

Revision 1.142.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:18:56 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +10 -17 lines
Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.135.2.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:20 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.135.2.1: preferred, colored; branchpoint 1.135: preferred, colored
Changes since revision 1.135.2.1: +16 -24 lines
sync with head.

Revision 1.141.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:35:04 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.141.2.1: preferred, colored; branchpoint 1.141: preferred, colored; next MAIN 1.142: preferred, colored
Changes since revision 1.141.2.1: +10 -17 lines
Sync with HEAD.

Revision 1.144: download - view: text, markup, annotated - select for diffs
Thu Apr 23 17:37:51 2009 UTC (15 years, 7 months ago) by njoly
Branches: MAIN
CVS tags: yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jym-xensuspend-base
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +3 -3 lines
Convert si_code value from native to linux.

Revision 1.141.4.1: download - view: text, markup, annotated - select for diffs
Sat Apr 4 17:39:09 2009 UTC (15 years, 8 months ago) by snj
Branches: netbsd-5
CVS tags: 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-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, 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
Diff to: previous 1.141: preferred, colored; next MAIN 1.142: preferred, colored
Changes since revision 1.141: +9 -16 lines
Pull up following revision(s) (requested by ad in ticket #656):
	sys/arch/amd64/amd64/gdt.c: revision 1.21 via patch
	sys/arch/amd64/amd64/machdep.c: revision 1.129 via patch
	sys/arch/i386/i386/gdt.c: revision 1.47 via patch
	sys/arch/i386/i386/kvm86.c: revision 1.17 via patch
	sys/arch/i386/i386/locore.S: revision 1.85 via patch
	sys/arch/i386/i386/machdep.c: revision 1.666 via patch
	sys/arch/i386/i386/vector.S: revision 1.45 via patch
	sys/arch/i386/include/pcb.h: revision 1.47 via patch
	sys/arch/x86/include/pmap.h: revision 1.22 via patch
	sys/arch/x86/include/sysarch.h: revision 1.8 via patch
	sys/arch/x86/x86/pmap.c: revision 1.80 via patch
	sys/arch/x86/x86/sys_machdep.c: revision 1.17 via patch
	sys/compat/linux/arch/i386/linux_machdep.c: revision 1.143 via patch
	sys/kern/init_main.c: revision 1.384 via patch
PR port-i386/40143 Viewing an mpeg transport stream with mplayer causes crash
Fix numerous problems:
1. LDT updates are not atomic.
2. Number of processes running with private LDTs and/or I/O bitmaps
   is not capped. System with high maxprocs can be paniced.
3. LDTR can be leaked over context switch.
4. GDT slot allocations can race, giving the same LDT slot to two procs.
5. Incomplete interrupt/trap frames can be stacked.
6. In some rare cases segment faults are not handled correctly.

Revision 1.143: download - view: text, markup, annotated - select for diffs
Sat Mar 21 14:41:30 2009 UTC (15 years, 8 months ago) by ad
Branches: MAIN
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +9 -16 lines
PR port-i386/40143 Viewing an mpeg transport stream with mplayer causes crash

Fix numerous problems:

1. LDT updates are not atomic.

2. Number of processes running with private LDTs and/or I/O bitmaps
   is not capped. System with high maxprocs can be paniced.

3. LDTR can be leaked over context switch.

4. GDT slot allocations can race, giving the same LDT slot to two procs.

5. Incomplete interrupt/trap frames can be stacked.

6. In some rare cases segment faults are not handled correctly.

Revision 1.141.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:17:26 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +4 -4 lines
Sync with HEAD.

Revision 1.133.6.4: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:43 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.133.6.3: preferred, colored; branchpoint 1.133: preferred, colored; next MAIN 1.134: preferred, colored
Changes since revision 1.133.6.3: +4 -5 lines
Sync with HEAD.

Revision 1.142: download - view: text, markup, annotated - select for diffs
Sun Jan 11 02:45:48 2009 UTC (15 years, 11 months ago) by christos
Branches: MAIN
CVS tags: nick-hppapmap-base2, mjf-devfs2-base
Branch point for: jym-xensuspend
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +4 -4 lines
merge christos-time_t

Revision 1.137.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:13:53 2008 UTC (16 years ago) by haad
Branches: haad-dm
Diff to: previous 1.137.4.1: preferred, colored; branchpoint 1.137: preferred, colored; next MAIN 1.138: preferred, colored
Changes since revision 1.137.4.1: +5 -3 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.141.6.2: download - view: text, markup, annotated - select for diffs
Sun Nov 9 02:05:20 2008 UTC (16 years, 1 month ago) by christos
Branches: christos-time_t
Diff to: previous 1.141.6.1: preferred, colored; branchpoint 1.141: preferred, colored; next MAIN 1.142: preferred, colored
Changes since revision 1.141.6.1: +1134 -0 lines
account for major and minor being unsigned long long

Revision 1.141.6.1
Sat Oct 25 23:38:28 2008 UTC (16 years, 1 month ago) by christos
Branches: christos-time_t
FILE REMOVED
Changes since revision 1.141: +0 -1134 lines
file linux_machdep.c was added on branch christos-time_t on 2008-11-09 02:05:20 +0000

Revision 1.141: download - view: text, markup, annotated - select for diffs
Sat Oct 25 23:38:28 2008 UTC (16 years, 1 month ago) by christos
Branches: MAIN
CVS tags: netbsd-5-base, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, haad-nbase2, haad-dm-base2, haad-dm-base, christos-time_t-nbase, christos-time_t-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5, christos-time_t
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +4 -2 lines
Add preliminary tls support for i386. Does not work yet. From FreeBSD.

Revision 1.140: download - view: text, markup, annotated - select for diffs
Tue Oct 21 21:52:29 2008 UTC (16 years, 1 month ago) by njoly
Branches: MAIN
CVS tags: matt-mips64-base2
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +3 -3 lines
Do not use native_to_linux_si_code() outside LINUX_NPTL; until i
figure a better way to handle it.

Revision 1.137.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:16:13 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +5 -8 lines
Sync with HEAD.

Revision 1.139: download - view: text, markup, annotated - select for diffs
Sun Oct 19 09:44:31 2008 UTC (16 years, 1 month ago) by njoly
Branches: MAIN
CVS tags: haad-dm-base1
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +3 -6 lines
Add native to linux siginfo si_code translation, mostly for negative
values. Adjust amd64 and i386 accordingly, not sure about aother archs
i can't test.

Revision 1.133.6.3: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:40:15 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.133.6.2: preferred, colored; branchpoint 1.133: preferred, colored
Changes since revision 1.133.6.2: +2 -2 lines
Sync with HEAD.

Revision 1.136.2.5: download - view: text, markup, annotated - select for diffs
Wed Sep 24 16:38:51 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.136.2.4: preferred, colored; branchpoint 1.136: preferred, colored; next MAIN 1.137: preferred, colored
Changes since revision 1.136.2.4: +4 -4 lines
Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.

Revision 1.138: download - view: text, markup, annotated - select for diffs
Thu Sep 18 15:57:04 2008 UTC (16 years, 2 months ago) by christos
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +4 -4 lines
Define a PSL_CLEARSIG macro for the psl flags to be cleared on signal delivery
and use it everywhere.

Revision 1.136.2.4: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:30:54 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.136.2.3: preferred, colored; branchpoint 1.136: preferred, colored
Changes since revision 1.136.2.3: +3 -3 lines
Sync w/ -current. 34 merge conflicts to follow.

Revision 1.134.2.2: download - view: text, markup, annotated - select for diffs
Wed Jun 4 02:05:04 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.134.2.1: preferred, colored; branchpoint 1.134: preferred, colored; next MAIN 1.135: preferred, colored
Changes since revision 1.134.2.1: +3 -3 lines
sync with head

Revision 1.133.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:00 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.133.6.1: preferred, colored; branchpoint 1.133: preferred, colored
Changes since revision 1.133.6.1: +7 -14 lines
Sync with HEAD.

Revision 1.137: download - view: text, markup, annotated - select for diffs
Mon May 19 09:36:55 2008 UTC (16 years, 6 months ago) by njoly
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase
Branch point for: haad-dm
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +3 -3 lines
Fix free() argument in linux_read_ldt.

Revision 1.134.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:33:15 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +8 -15 lines
sync with head.

Revision 1.135.2.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:23:39 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +2 -9 lines
sync with head.

Revision 1.136.2.3: download - view: text, markup, annotated - select for diffs
Wed May 14 19:54:11 2008 UTC (16 years, 7 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.136.2.2: preferred, colored; branchpoint 1.136: preferred, colored
Changes since revision 1.136.2.2: +5 -5 lines
Per discussion with ad at n dot o, revert signal mask handling
changes.

The l_sigstk changes are most likely totally un-needed as SA will
never use a signal stack - we send an upcall (or will as other
diffs are brought in).

The l_sigmask changes were too controvertial. In all honesty, I
think it's probably best to revert them. The main reason they were
there is the fact that in an SA process, we don't mask signals per
kernel thread, we mask them per user thread. In the kernel, we want
them all to get turned into upcalls. Thus the normal state of
l_sigmask in an SA process is for it to always be empty.

While we are in the process of delivering a signal, we want to
temporarily mask a signal (so we don't recursively exhaust our
upcall stacks). However signal delivery is rare (important, but
rare), and delivering back-to-back signals is even rarer. So rather
than cause every user of a signal mask to be prepared for this very
rare case, we will just add a second check later in the signal
delivery code. Said change is not in this diff.

This also un-compensates all of our compatability code for dealing
with SA. SA is a NetBSD-specific thing, so there's no need for
Irix, Linux, Solaris, SVR4 and so on to cope with it.

As previously, everything other than kern_sa.c compiles in i386
GENERIC as of this checkin. I will switch to ALL soon for compile
testing.

Revision 1.136.2.2: download - view: text, markup, annotated - select for diffs
Wed May 14 01:35:03 2008 UTC (16 years, 7 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.136.2.1: preferred, colored; branchpoint 1.136: preferred, colored
Changes since revision 1.136.2.1: +2 -3 lines
Per discussion with ad, remove most of the #include <sys/sa.h> lines
as they were including sa.h just for the type(s) needed for syscallargs.h.

Instead, create a new file, sys/satypes.h, which contains just the
types needed for syscallargs.h. Yes, there's only one now, but that
may change and it's probably more likely to change if it'd be difficult
to handle. :-)

Per discussion with matt at n dot o, add an include of satypes.h to
sigtypes.h. Upcall handlers are kinda signal handlers, and signalling
is the header file that's already included for syscallargs.h that
closest matches SA.

This shaves about 3000 lines off of the diff of the branch relative
to the base. That also represents about 18% of the total before this
checkin.

I think this reduction is very good thing.

Revision 1.136.2.1: download - view: text, markup, annotated - select for diffs
Sat May 10 23:48:52 2008 UTC (16 years, 7 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +6 -5 lines
Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.

Also, kern_sa.c has received partial cleanup. There's still more
to do, though.

Revision 1.136: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:42 2008 UTC (16 years, 7 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base2, yamt-nfs-mp-base2
Branch point for: wrstuden-revivesa
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.135: download - view: text, markup, annotated - select for diffs
Thu Apr 24 18:39:22 2008 UTC (16 years, 7 months ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +8 -8 lines
Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, since
we no longer need to guard against access from hardware interrupt handlers.

Additionally, if cloning a process with CLONE_SIGHAND, arrange to have the
child process share the parent's lock so that signal state may be kept in
sync. Partially addresses PR kern/37437.

Revision 1.133.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:32 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +13 -20 lines
Sync with HEAD.

Revision 1.110.2.8: download - view: text, markup, annotated - select for diffs
Mon Mar 24 09:38:41 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.110.2.7: preferred, colored; next MAIN 1.111: preferred, colored
Changes since revision 1.110.2.7: +13 -20 lines
sync with head.

Revision 1.134: download - view: text, markup, annotated - select for diffs
Fri Mar 21 21:54:58 2008 UTC (16 years, 8 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, ad-socklock-base1
Branch point for: yamt-pf42
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +13 -20 lines
Catch up with descriptor handling changes. See kern_descrip.c revision
1.173 for details.

Revision 1.110.2.7: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:41:13 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.110.2.6: preferred, colored
Changes since revision 1.110.2.6: +32 -64 lines
sync with head

Revision 1.129.8.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:50:59 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.129.8.1: preferred, colored; branchpoint 1.129: preferred, colored; next MAIN 1.130: preferred, colored
Changes since revision 1.129.8.1: +42 -74 lines
sync with HEAD

Revision 1.132.4.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:52:19 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.132: preferred, colored; next MAIN 1.133: preferred, colored
Changes since revision 1.132: +26 -29 lines
Sync with HEAD

Revision 1.130.2.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:43:56 2007 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.130.2.1: preferred, colored; branchpoint 1.130: preferred, colored; next MAIN 1.131: preferred, colored
Changes since revision 1.130.2.1: +32 -64 lines
Sync with HEAD.

Revision 1.130.4.2: download - view: text, markup, annotated - select for diffs
Wed Dec 26 21:38:58 2007 UTC (16 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.130.4.1: preferred, colored; branchpoint 1.130: preferred, colored; next MAIN 1.131: preferred, colored
Changes since revision 1.130.4.1: +32 -64 lines
Sync with head.

Revision 1.133: download - view: text, markup, annotated - select for diffs
Thu Dec 20 23:02:52 2007 UTC (16 years, 11 months ago) by dsl
Branches: MAIN
CVS tags: vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Branch point for: mjf-devfs2
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +26 -29 lines
Convert all the system call entry points from:
    int foo(struct lwp *l, void *v, register_t *retval)
to:
    int foo(struct lwp *l, const struct foo_args *uap, register_t *retval)
Fixup compat code to not write into 'uap' and (in some cases) to actually
pass a correctly formatted 'uap' structure with the right name to the
next routine.
A few 'compat' routines that just call standard ones have been deleted.
All the 'compat' code compiles (along with the kernels required to test
build it).
98% done by automated scripts.

Revision 1.129.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:36:55 2007 UTC (17 years ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.129.6.1: preferred, colored; branchpoint 1.129: preferred, colored; next MAIN 1.130: preferred, colored
Changes since revision 1.129.6.1: +22 -51 lines
Sync with HEAD.

Revision 1.132: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:36:05 2007 UTC (17 years ago) by dsl
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +12 -41 lines
ANSIfy most of the function definitions in sys/compat (but not ndis).
All by the magic of sed ...

Revision 1.130.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:18:45 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +12 -12 lines
Sync with HEAD.

Revision 1.130.4.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 17:56:45 2007 UTC (17 years ago) by ad
Branches: vmlocking2
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +12 -12 lines
Sync with head.

Revision 1.110.2.6: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:27:54 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.110.2.5: preferred, colored
Changes since revision 1.110.2.5: +12 -12 lines
sync with head

Revision 1.131: download - view: text, markup, annotated - select for diffs
Tue Dec 4 18:40:13 2007 UTC (17 years ago) by dsl
Branches: MAIN
CVS tags: vmlocking2-base2, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +12 -12 lines
Remove all the __P

Revision 1.129.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:24:51 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +3 -3 lines
sync with HEAD

Revision 1.110.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:29:33 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.110.2.4: preferred, colored
Changes since revision 1.110.2.4: +3 -3 lines
sync with head.

Revision 1.129.6.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:43:54 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +3 -3 lines
Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.129.12.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:36:53 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.129: preferred, colored; next MAIN 1.130: preferred, colored
Changes since revision 1.129: +3 -3 lines
Sync with HEAD.

Revision 1.123.2.3: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:16:57 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.123.2.2: preferred, colored; branchpoint 1.123: preferred, colored; next MAIN 1.124: preferred, colored
Changes since revision 1.123.2.2: +3 -3 lines
Sync with head.

Revision 1.130: download - view: text, markup, annotated - select for diffs
Fri Oct 19 12:16:38 2007 UTC (17 years, 1 month ago) by ad
Branches: MAIN
CVS tags: vmlocking2-base1, vmlocking-nbase, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2, mjf-devfs
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +3 -3 lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.110.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:32:15 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.110.2.3: preferred, colored
Changes since revision 1.110.2.3: +101 -106 lines
sync with head.

Revision 1.123.2.2: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:27:07 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.123.2.1: preferred, colored; branchpoint 1.123: preferred, colored
Changes since revision 1.123.2.1: +78 -92 lines
Sync with head.

Revision 1.123.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:04:08 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.123: preferred, colored; next MAIN 1.124: preferred, colored
Changes since revision 1.123: +91 -95 lines
Sync with head.

Revision 1.129: download - view: text, markup, annotated - select for diffs
Sat Jun 30 22:54:33 2007 UTC (17 years, 5 months ago) by dsl
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: matt-armv6, jmcneill-pm, bouyer-xenamd64
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +9 -20 lines
Call fp->f_ops->fo_ioctl() directly (not by sys_ioctl() for LINUX_VT_GETMODE
and LINUX_VT_SETMODE.  One fewer use of the stackgap.

Revision 1.128: download - view: text, markup, annotated - select for diffs
Sat Jun 23 15:26:16 2007 UTC (17 years, 5 months ago) by dsl
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +50 -74 lines
Read and write the ldt without using the stackgap.

Revision 1.127: download - view: text, markup, annotated - select for diffs
Wed Jun 13 20:57:33 2007 UTC (17 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +23 -2 lines
Get ready for NPTL but don't turn it on as of yet.

Revision 1.123.2.1: download - view: text, markup, annotated - select for diffs
Sun May 27 14:35:02 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +17 -7 lines
Sync with head.

Revision 1.126: download - view: text, markup, annotated - select for diffs
Mon May 21 15:35:47 2007 UTC (17 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +3 -3 lines
rename si_sigval -> si_value to match POSIX RTS.

Revision 1.122.2.3: download - view: text, markup, annotated - select for diffs
Thu May 17 13:41:12 2007 UTC (17 years, 6 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.122.2.2: preferred, colored; branchpoint 1.122: preferred, colored; next MAIN 1.123: preferred, colored
Changes since revision 1.122.2.2: +12 -2 lines
sync with head.

Revision 1.125: download - view: text, markup, annotated - select for diffs
Thu May 10 21:30:14 2007 UTC (17 years, 7 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +12 -2 lines
- linux uname -m on x86 returns i{3,4,5,6}86 make it so.
- delete the machine sysctl that never worked, and gc linux_machine.

Revision 1.122.2.2: download - view: text, markup, annotated - select for diffs
Mon May 7 10:55:12 2007 UTC (17 years, 7 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.122.2.1: preferred, colored; branchpoint 1.122: preferred, colored
Changes since revision 1.122.2.1: +6 -6 lines
sync with head.

Revision 1.124: download - view: text, markup, annotated - select for diffs
Mon Apr 16 19:12:20 2007 UTC (17 years, 7 months ago) by ad
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +6 -6 lines
Share the sysarch stuff between the x86 ports. PR kern/36046.

Revision 1.122.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:52:15 2007 UTC (17 years, 9 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +18 -19 lines
Sync with HEAD.

Revision 1.123: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:01:19 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
CVS tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +18 -19 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.110.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:09:14 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.110.2.2: preferred, colored
Changes since revision 1.110.2.2: +23 -12 lines
sync with head.

Revision 1.122: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:18 2007 UTC (17 years, 10 months ago) by ad
Branches: MAIN
CVS tags: post-newlock2-merge, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +23 -11 lines
Merge newlock2 to head.

Revision 1.114.4.7: download - view: text, markup, annotated - select for diffs
Thu Feb 1 08:48:13 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.114.4.6: preferred, colored; branchpoint 1.114: preferred, colored; next MAIN 1.115: preferred, colored
Changes since revision 1.114.4.6: +2 -3 lines
Sync with head.

Revision 1.114.4.6: download - view: text, markup, annotated - select for diffs
Tue Jan 30 13:51:32 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.114.4.5: preferred, colored; branchpoint 1.114: preferred, colored
Changes since revision 1.114.4.5: +3 -4 lines
Remove support for SA. Ok core@.

Revision 1.121: download - view: text, markup, annotated - select for diffs
Mon Jan 29 01:52:44 2007 UTC (17 years, 10 months ago) by hubertf
Branches: MAIN
CVS tags: newlock2-nbase, newlock2-base
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +2 -3 lines
Remove more duplicate headers.
Patch by Slava Semushin <slava.semushin@gmail.com>

Again, this was tested by comparing obj files from a pristine and a patched
source tree against an i386/ALL kernel, and also for src/sbin/fsck_ffs,
src/sbin/fsdb and src/usr.sbin/makefs. Only changes in assert() line numbers
were detected in 'objdump -d' output.

Revision 1.114.4.5: download - view: text, markup, annotated - select for diffs
Fri Jan 19 20:18:46 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.114.4.4: preferred, colored; branchpoint 1.114: preferred, colored
Changes since revision 1.114.4.4: +13 -6 lines
Fix Linux compatability for i386, others to follow later.

Revision 1.114.4.4: download - view: text, markup, annotated - select for diffs
Thu Jan 18 11:32:04 2007 UTC (17 years, 10 months ago) by yamt
Branches: newlock2
Diff to: previous 1.114.4.3: preferred, colored; branchpoint 1.114: preferred, colored
Changes since revision 1.114.4.3: +4 -2 lines
linux_restore_sigcontext: fix an unused variable in the case of !VM86.

Revision 1.114.4.3: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:04:03 2007 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.114.4.2: preferred, colored; branchpoint 1.114: preferred, colored
Changes since revision 1.114.4.2: +7 -6 lines
Sync with head.

Revision 1.119.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 6 13:20:26 2007 UTC (17 years, 11 months ago) by bouyer
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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, matt-nb4-arm-base, matt-nb4-arm
Diff to: previous 1.119: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119: +7 -6 lines
Pull up following revision(s) (requested by elad in ticket #317):
	sys/compat/linux/arch/i386/linux_machdep.c: revision 1.120
	sys/dev/wscons/wsdisplay_compat_usl.c: revision 1.38
Adapt to recent machdep scope changes.
Pointed out by Kouichirou Hiratsuka, thanks!

Revision 1.110.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:35 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.110.2.1: preferred, colored
Changes since revision 1.110.2.1: +17 -23 lines
sync with head.

Revision 1.120: download - view: text, markup, annotated - select for diffs
Tue Dec 26 16:42:06 2006 UTC (17 years, 11 months ago) by elad
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +7 -6 lines
Adapt to recent machdep scope changes.

Pointed out by Kouichirou Hiratsuka, thanks!

Revision 1.115.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:16:47 2006 UTC (18 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.115.2.1: preferred, colored; branchpoint 1.115: preferred, colored; next MAIN 1.116: preferred, colored
Changes since revision 1.115.2.1: +13 -13 lines
sync with head.

Revision 1.114.4.2: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:05 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.114.4.1: preferred, colored; branchpoint 1.114: preferred, colored
Changes since revision 1.114.4.1: +16 -23 lines
Sync with head.

Revision 1.119: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:32:42 2006 UTC (18 years ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, netbsd-4-base
Branch point for: netbsd-4
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +9 -9 lines
__unused removal on arguments; approved by core.

Revision 1.118: download - view: text, markup, annotated - select for diffs
Tue Nov 14 13:34:29 2006 UTC (18 years ago) by elad
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +6 -6 lines
Clean some KAUTH_GENERIC_ISSUSER usage in compat code.

Revision 1.114.4.1: download - view: text, markup, annotated - select for diffs
Tue Oct 24 21:10:22 2006 UTC (18 years, 1 month ago) by ad
Branches: newlock2
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +12 -8 lines
- Redo LWP locking slightly and fix some races.
- Fix some locking botches.
- Make signal mask / stack per-proc for SA processes.
- Add _lwp_kill().

Revision 1.115.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:05:24 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +10 -18 lines
sync with head

Revision 1.117: download - view: text, markup, annotated - select for diffs
Sat Oct 14 18:57:06 2006 UTC (18 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +4 -6 lines
sprinkle __unused.

Revision 1.116: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:30:48 2006 UTC (18 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +8 -14 lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.112.8.3: download - view: text, markup, annotated - select for diffs
Thu Sep 14 12:31:22 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.112.8.2: preferred, colored; branchpoint 1.112: preferred, colored; next MAIN 1.113: preferred, colored
Changes since revision 1.112.8.2: +4 -3 lines
sync with head.

Revision 1.115: download - view: text, markup, annotated - select for diffs
Wed Sep 13 00:49:07 2006 UTC (18 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base, yamt-pdpolicy-base9
Branch point for: yamt-splraiseipl
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +4 -3 lines
avoid empty if

Revision 1.112.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:45:38 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.112: preferred, colored; next MAIN 1.113: preferred, colored
Changes since revision 1.112: +8 -6 lines
sync with head

Revision 1.112.8.2: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:43:29 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.112.8.1: preferred, colored; branchpoint 1.112: preferred, colored
Changes since revision 1.112.8.1: +6 -6 lines
sync with head

Revision 1.114: download - view: text, markup, annotated - select for diffs
Sun Jul 23 22:06:08 2006 UTC (18 years, 4 months ago) by ad
Branches: MAIN
CVS tags: yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +6 -6 lines
Use the LWP cached credentials where sane.

Revision 1.110.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:59:01 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +14 -13 lines
sync with head.

Revision 1.112.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:35:50 2006 UTC (18 years, 6 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.112: preferred, colored; next MAIN 1.113: preferred, colored
Changes since revision 1.112: +6 -4 lines
Sync with head.

Revision 1.112.12.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:48:27 2006 UTC (18 years, 6 months ago) by tron
Branches: peter-altq
Diff to: previous 1.112: preferred, colored; next MAIN 1.113: preferred, colored
Changes since revision 1.112: +6 -4 lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.112.8.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:57:27 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +6 -4 lines
sync with head.

Revision 1.113: download - view: text, markup, annotated - select for diffs
Sun May 14 21:24:49 2006 UTC (18 years, 7 months ago) by elad
Branches: MAIN
CVS tags: yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +6 -4 lines
integrate kauth.

Revision 1.112.10.3: download - view: text, markup, annotated - select for diffs
Sat May 6 23:31:26 2006 UTC (18 years, 7 months ago) by christos
Branches: elad-kernelauth
Diff to: previous 1.112.10.2: preferred, colored; branchpoint 1.112: preferred, colored; next MAIN 1.113: preferred, colored
Changes since revision 1.112.10.2: +4 -2 lines
- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
  that need it.

Approved by core.

Revision 1.112.10.2: download - view: text, markup, annotated - select for diffs
Fri Mar 10 14:28:51 2006 UTC (18 years, 9 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.112.10.1: preferred, colored; branchpoint 1.112: preferred, colored
Changes since revision 1.112.10.1: +4 -4 lines
generic_authorize() -> kauth_authorize_generic().

Revision 1.112.10.1: download - view: text, markup, annotated - select for diffs
Wed Mar 8 01:48:38 2006 UTC (18 years, 9 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +4 -4 lines
Adapt to kernel authorization KPI.

Revision 1.112: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:20:14 2005 UTC (19 years ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, elad-kernelauth-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +10 -9 lines
merge ktrace-lwp.

Revision 1.89.2.8: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:00:59 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.89.2.7: preferred, colored; next MAIN 1.90: preferred, colored
Changes since revision 1.89.2.7: +14 -5 lines
Sync with HEAD. Here we go again...

Revision 1.106.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 28 09:54:00 2005 UTC (19 years, 3 months ago) by tron
Branches: netbsd-3
CVS tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Diff to: previous 1.106: preferred, colored; next MAIN 1.107: preferred, colored
Changes since revision 1.106: +2 -4 lines
Pull up following revision(s) (requested by yamt in ticket #701):
	sys/compat/linux/arch/i386/linux_machdep.c: revision 1.111
linux_machdepioctl: remove duplicated FILE_USE/UNUSE.

Revision 1.111: download - view: text, markup, annotated - select for diffs
Sun Aug 21 13:13:50 2005 UTC (19 years, 3 months ago) by yamt
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +2 -4 lines
linux_machdepioctl: remove duplicated FILE_USE/UNUSE.

Revision 1.110: download - view: text, markup, annotated - select for diffs
Sat Jun 25 02:19:06 2005 UTC (19 years, 5 months ago) by christos
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +7 -12 lines
- include <sys/wait.h> so that this compile
- use the code field directly, instead of redoing the logic.
- XXX: the status field must be wrong. I think that the _WSTATUS()
  should not be used directly.

Revision 1.109: download - view: text, markup, annotated - select for diffs
Fri Jun 24 22:57:05 2005 UTC (19 years, 5 months ago) by manu
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +13 -4 lines
More accurate SIGCHLD code and status for siginfo

Revision 1.108: download - view: text, markup, annotated - select for diffs
Wed Jun 22 21:57:30 2005 UTC (19 years, 5 months ago) by manu
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +4 -3 lines
report the right process status

Revision 1.107: download - view: text, markup, annotated - select for diffs
Fri May 20 12:48:27 2005 UTC (19 years, 6 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +8 -2 lines
Define linux_usertrap function, and set it in struct emul. For all
but amd64, it just returns 0, doing nothing.

For amd64, it implements vsyscalls through cheating: if the faulting
address is in the vsyscall area (which is statically known on Linux/amd64),
and the intruction pointer is too, it must have been a vsyscall. In that
case, retrieve the return address from the user stack, fix up %rip and
%rsp, and just execute the normal system call. It will return as if
the vsyscall has been executed.

Revision 1.105.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:33 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.105: preferred, colored; next MAIN 1.106: preferred, colored
Changes since revision 1.105: +4 -4 lines
sync with -current

Revision 1.105.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:33:36 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.105: preferred, colored; next MAIN 1.106: preferred, colored
Changes since revision 1.105: +4 -4 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.89.2.7: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:39:51 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.89.2.6: preferred, colored
Changes since revision 1.89.2.6: +4 -4 lines
Sync with HEAD.

Hi Perry!

Revision 1.106: download - view: text, markup, annotated - select for diffs
Sat Feb 26 23:10:19 2005 UTC (19 years, 9 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, kent-audio2-base
Branch point for: netbsd-3
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +4 -4 lines
nuke trailing whitespace

Revision 1.89.2.6: download - view: text, markup, annotated - select for diffs
Sun Nov 14 08:15:33 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.89.2.5: preferred, colored
Changes since revision 1.89.2.5: +11 -63 lines
Sync with HEAD.

Revision 1.105: download - view: text, markup, annotated - select for diffs
Sat Nov 13 08:58:23 2004 UTC (20 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +2 -62 lines
Remove setup stack function. It moved to linux_exec_machdep.c.

Revision 1.104: download - view: text, markup, annotated - select for diffs
Sat Nov 13 07:20:54 2004 UTC (20 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +11 -3 lines
Add ptyfs pty device number translation.

Revision 1.89.2.5: download - view: text, markup, annotated - select for diffs
Tue Nov 2 07:51:07 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.89.2.4: preferred, colored
Changes since revision 1.89.2.4: +4 -4 lines
Sync with HEAD.

Revision 1.103: download - view: text, markup, annotated - select for diffs
Wed Oct 20 04:20:05 2004 UTC (20 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +4 -4 lines
Move boot device detection code from i386 and amd64 ports to x86_autoconf.c.
Rename i386_alldisks and x86_64_alldisks to x86_alldisks, adjust other
references to compensate.

Revision 1.89.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:25:26 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.89.2.3: preferred, colored
Changes since revision 1.89.2.3: +11 -10 lines
Fix the sync with head I botched.

Revision 1.89.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:43:30 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.89.2.2: preferred, colored
Changes since revision 1.89.2.2: +10 -11 lines
Sync with HEAD.

Revision 1.89.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:43:53 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.89.2.1: preferred, colored
Changes since revision 1.89.2.1: +205 -74 lines
Sync with HEAD

Revision 1.102: download - view: text, markup, annotated - select for diffs
Wed Jan 28 10:48:55 2004 UTC (20 years, 10 months ago) by yamt
Branches: MAIN
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +3 -3 lines
rename i386 mdlwp flags from MDP_ to MDL_
to avoid confusion with mdproc flags which also have MDP_ prefixes.

Revision 1.101: download - view: text, markup, annotated - select for diffs
Mon Dec 8 17:51:53 2003 UTC (21 years ago) by christos
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +2 -3 lines
remove error(1) comment.

Revision 1.100: download - view: text, markup, annotated - select for diffs
Mon Oct 6 03:45:40 2003 UTC (21 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +8 -6 lines
Catch up with chuck's stack changes. Don't map the linux stuff executable
and avoid mapping segments that have 0 size.

Revision 1.99: download - view: text, markup, annotated - select for diffs
Thu Sep 25 22:00:02 2003 UTC (21 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +12 -11 lines
constify sendsig/trapsignal

Revision 1.98: download - view: text, markup, annotated - select for diffs
Sun Sep 21 19:29:10 2003 UTC (21 years, 2 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +5 -3 lines
make compile after last change (!)

Revision 1.97: download - view: text, markup, annotated - select for diffs
Sun Sep 21 17:42:23 2003 UTC (21 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +33 -25 lines
Now that we have siginfo, use it, instead of pretending to have one.

Revision 1.96: download - view: text, markup, annotated - select for diffs
Sat Sep 6 22:09:21 2003 UTC (21 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +6 -9 lines
SA_SIGINFO changes

Revision 1.95: download - view: text, markup, annotated - select for diffs
Sun Aug 24 17:52:43 2003 UTC (21 years, 3 months ago) by chs
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +4 -4 lines
add support for non-executable mappings (where the hardware allows this)
and make the stack and heap non-executable by default.  the changes
fall into two basic catagories:

 - pmap and trap-handler changes.  these are all MD:
   = alpha: we already track per-page execute permission with the (software)
	PG_EXEC bit, so just have the trap handler pay attention to it.
   = i386: use a new GDT segment for %cs for processes that have no
	executable mappings above a certain threshold (currently the
	bottom of the stack).  track per-page execute permission with
	the last unused PTE bit.
   = powerpc/ibm4xx: just use the hardware exec bit.
   = powerpc/oea: we already track per-page exec bits, but the hardware only
	implements non-exec mappings at the segment level.  so track the
	number of executable mappings in each segment and turn on the no-exec
	segment bit iff the count is 0.  adjust the trap handler to deal.
   = sparc (sun4m): fix our use of the hardware protection bits.
	fix the trap handler to recognize text faults.
   = sparc64: split the existing unified TSB into data and instruction TSBs,
	and only load TTEs into the appropriate TSB(s) for the permissions.
	fix the trap handler to check for execute permission.
   = not yet implemented: amd64, hppa, sh5

 - changes in all the emulations that put a signal trampoline on the stack.
   instead, we now put the trampoline into a uvm_aobj and map that into
   the process separately.

originally from openbsd, adapted for netbsd by me.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Thu Aug 21 08:36:56 2003 UTC (21 years, 3 months ago) by hannken
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +3 -3 lines
Fix syscall_vm86 argument:
	struct trapframe -> struct trapframe *

Revision 1.93: download - view: text, markup, annotated - select for diffs
Sat Aug 9 14:16:44 2003 UTC (21 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +5 -3 lines
Explain a diagnostic message a bit better, and make it a debug only message.

Revision 1.92: download - view: text, markup, annotated - select for diffs
Fri Aug 8 18:57:04 2003 UTC (21 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +62 -6 lines
- GC all the setup_stack functions
- add one for linux/i386

Revision 1.91: download - view: text, markup, annotated - select for diffs
Sat Aug 2 20:23:48 2003 UTC (21 years, 4 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +7 -3 lines
use copyout() instead of subyte()

Revision 1.90: download - view: text, markup, annotated - select for diffs
Thu Jul 3 21:24:27 2003 UTC (21 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +106 -46 lines
Implement linux_rt_sigreturn for real. Add a hack for more plausible siginfo.
The java segv handler still segv's again inside the signal handler, but our
sample test program now works [gets the proper ucontext].

Revision 1.89.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:25:45 2003 UTC (21 years, 5 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +11 -10 lines
Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:29:24 2003 UTC (21 years, 5 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +8 -9 lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.88: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:21:20 2003 UTC (21 years, 5 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +11 -10 lines
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.87: download - view: text, markup, annotated - select for diffs
Fri Mar 21 21:13:54 2003 UTC (21 years, 8 months ago) by dsl
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +3 -3 lines
Change 'data' argument to fo_ioctl and fo_fcntl from 'caddr_t' to 'void *'.
Avoids a lot of casting and removes the need for some line breaks.
Removed a load of (caddr_t) casts from calls to copyin/copyout as well.
(approved by christos - he has a plan to remove caddr_t...)

Revision 1.86: download - view: text, markup, annotated - select for diffs
Thu Feb 27 16:04:15 2003 UTC (21 years, 9 months ago) by yamt
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +35 -22 lines
make compat_linux struct file interlock friendly.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Sat Jan 18 08:02:47 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +61 -52 lines
Merge the nathanw_sa branch.

Revision 1.62.2.16: download - view: text, markup, annotated - select for diffs
Wed Dec 11 06:37:19 2002 UTC (22 years ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.62.2.15: preferred, colored; branchpoint 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62.2.15: +165 -48 lines
Sync with HEAD.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Fri Dec 6 03:37:19 2002 UTC (22 years ago) by junyoung
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +3 -3 lines
Fix compile error.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Fri Dec 6 00:02:59 2002 UTC (22 years ago) by christos
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +152 -43 lines
add a linux_rt_sigframe to support SA_SIGINFO, and use it when SA_SIGINFO
is requested. This appears to be how linuxthreads decides which signal handler
to use.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Tue Nov 26 18:42:38 2002 UTC (22 years ago) by christos
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +18 -11 lines
rename sa_ -> linux_sa_
first attempt at providing siginfo_t to the signal handler.

Revision 1.62.2.15: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:41:09 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.62.2.14: preferred, colored; branchpoint 1.62: preferred, colored
Changes since revision 1.62.2.14: +0 -2 lines
Catch up to -current.

Revision 1.65.2.6: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:37:59 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.65.2.5: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65.2.5: +5 -6 lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.81: download - view: text, markup, annotated - select for diffs
Wed Oct 9 05:07:55 2002 UTC (22 years, 2 months ago) by junyoung
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-aftermerge
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +2 -3 lines
Get rid of pcb_flags which is no longer existent.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Wed Sep 25 22:21:34 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: kqueue-base
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +2 -3 lines
Don't include <sys/map.h>.

Revision 1.62.2.14: download - view: text, markup, annotated - select for diffs
Tue Sep 17 21:18:58 2002 UTC (22 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.62.2.13: preferred, colored; branchpoint 1.62: preferred, colored
Changes since revision 1.62.2.13: +3 -3 lines
Catch up to -current.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Fri Sep 6 13:18:43 2002 UTC (22 years, 3 months ago) by gehenna
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +5 -5 lines
Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.

Revision 1.65.2.5: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:43:13 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.65.2.4: preferred, colored
Changes since revision 1.65.2.4: +4 -4 lines
sync kqueue branch with HEAD

Revision 1.62.2.13: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:44:14 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.62.2.12: preferred, colored; branchpoint 1.62: preferred, colored
Changes since revision 1.62.2.12: +4 -4 lines
Catch up to -current.

Revision 1.76.2.3: download - view: text, markup, annotated - select for diffs
Mon Jul 15 10:34:54 2002 UTC (22 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.76.2.2: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76.2.2: +4 -4 lines
catch up with -current.

Revision 1.62.2.12: download - view: text, markup, annotated - select for diffs
Fri Jul 12 01:40:00 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.62.2.11: preferred, colored; branchpoint 1.62: preferred, colored
Changes since revision 1.62.2.11: +2 -3 lines
No longer need to pull in lwp.h; proc.h pulls it in for us.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Thu Jul 4 23:32:10 2002 UTC (22 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +4 -4 lines
Add kernel support for having userland provide the signal trampoline:

* struct sigacts gets a new sigact_sigdesc structure, which has the
  sigaction and the trampoline/version.  Version 0 means "legacy kernel
  provided trampoline".  Other versions are coordinated with machine-
  dependent code in libc.
* sigaction1() grows two more arguments -- the trampoline pointer and
  the trampoline version.
* A new __sigaction_sigtramp() system call is provided to register a
  trampoline along with a signal handler.
* The handler is no longer passed to sensig() functions.  Instead,
  sendsig() looks up the handler by peeking in the sigacts for the
  process getting the signal (since it has to look in there for the
  trampoline anyway).
* Native sendsig() functions now select the appropriate trampoline and
  its arguments based on the trampoline version in the sigacts.

Changes to libc to use the new facility will be checked in later.  Kernel
version not bumped; we will ride the 1.6C bump made recently.

Revision 1.62.2.11: download - view: text, markup, annotated - select for diffs
Mon Jun 24 22:09:27 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.62.2.10: preferred, colored; branchpoint 1.62: preferred, colored
Changes since revision 1.62.2.10: +5 -5 lines
Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).

Revision 1.65.2.4: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:44:07 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.65.2.3: preferred, colored
Changes since revision 1.65.2.3: +99 -35 lines
catch up with -current on kqueue branch

Revision 1.62.2.10: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:42:59 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.62.2.9: preferred, colored; branchpoint 1.62: preferred, colored
Changes since revision 1.62.2.9: +4 -6 lines
Catch up to -current.

Revision 1.76.2.2: download - view: text, markup, annotated - select for diffs
Thu May 30 14:45:02 2002 UTC (22 years, 6 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.76.2.1: preferred, colored
Changes since revision 1.76.2.1: +4 -5 lines
Catch up with -current.

Revision 1.62.2.9: download - view: text, markup, annotated - select for diffs
Wed May 29 21:32:31 2002 UTC (22 years, 6 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.62.2.8: preferred, colored; branchpoint 1.62: preferred, colored
Changes since revision 1.62.2.8: +3 -2 lines
#include <sys/sa.h> before <sys/syscallargs.h>, to provide sa_upcall_t
now that <sys/param.h> doesn't include <sys/sa.h>.

(Behold the Power of Ed)

Revision 1.77: download - view: text, markup, annotated - select for diffs
Mon May 20 06:22:43 2002 UTC (22 years, 6 months ago) by jdolecek
Branches: MAIN
CVS tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +4 -5 lines
Fix bug introduced in rev. 1.69 - linux_fakedev() returned always
zero for nontranslated raw devices.
This fixes recently discovered jdb /dev/dsp stdin problem, reported
on current-users by Mark Davies.

Revision 1.76.2.1: download - view: text, markup, annotated - select for diffs
Thu May 16 04:27:03 2002 UTC (22 years, 7 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +5 -5 lines
Replace the direct-access to devsw table with calling devsw API.
Replace the block major -> name conversion function with devsw API.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Mon May 13 05:35:47 2002 UTC (22 years, 7 months ago) by simonb
Branches: MAIN
Branch point for: gehenna-devsw
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +2 -3 lines
Remove an unreachable "return 0;".

Revision 1.62.2.8: download - view: text, markup, annotated - select for diffs
Wed Apr 17 00:04:57 2002 UTC (22 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.62.2.7: preferred, colored; branchpoint 1.62: preferred, colored
Changes since revision 1.62.2.7: +48 -11 lines
Catch up to -current.

Revision 1.50.2.4: download - view: text, markup, annotated - select for diffs
Wed Apr 3 22:11:20 2002 UTC (22 years, 8 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003
Diff to: previous 1.50.2.3: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.2.3: +5 -2 lines
Pull up revision 1.75 (requested by christos):
  Fix restoral of %fs / %gs in i386 emulation code.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Tue Apr 2 22:32:16 2002 UTC (22 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +6 -3 lines
save/restore fs and gs; this should be pulled up.

Revision 1.62.2.7: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:44:10 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.62.2.6: preferred, colored; branchpoint 1.62: preferred, colored
Changes since revision 1.62.2.6: +49 -20 lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.74: download - view: text, markup, annotated - select for diffs
Sun Mar 31 22:22:45 2002 UTC (22 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +9 -9 lines
make signal array handling uniform, and put signal arrays in a separate
file. This is simular to errno array handling.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Fri Mar 29 17:01:49 2002 UTC (22 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +39 -5 lines
1. fill in the ldt.sd_xx field, for total compat with linux.
2. in setregs, use gdt's instead of ldt's because linux wants to play with
   all the ldts. Apparently linuxthreads uses ldt's to allocate space for
   pthread_t's.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Fri Mar 22 18:39:23 2002 UTC (22 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +42 -13 lines
sync with current reality and fix debugging.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Sat Mar 16 20:43:52 2002 UTC (22 years, 9 months ago) by christos
Branches: MAIN
CVS tags: eeh-devprop-base, eeh-devprop
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +9 -9 lines
make the stackgap_{init,alloc} functions MP friendly (i.e. pass struct proc *
in, instead of using curproc). While there add an optional size argument to
stackgap_init.

Revision 1.65.2.3: download - view: text, markup, annotated - select for diffs
Sat Mar 16 16:00:32 2002 UTC (22 years, 9 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.65.2.2: preferred, colored
Changes since revision 1.65.2.2: +29 -20 lines
Catch up with -current.

Revision 1.62.2.6: download - view: text, markup, annotated - select for diffs
Thu Feb 28 23:58:00 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.62.2.5: preferred, colored; branchpoint 1.62: preferred, colored
Changes since revision 1.62.2.5: +3 -3 lines
p->p_addr ==> l->l_addr

Revision 1.62.2.5: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:12:49 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.62.2.4: preferred, colored; branchpoint 1.62: preferred, colored
Changes since revision 1.62.2.4: +29 -20 lines
Catch up to -current.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Sat Feb 16 16:23:09 2002 UTC (22 years, 9 months ago) by christos
Branches: MAIN
CVS tags: newlock-base, newlock, ifpoll-base
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +18 -14 lines
1. load cr2 now that we have it.
2. ldt_info.base_addr == 0 && ldt_info.limit == 0 means zero the ldt
From Robert V. Barron's wabi patch.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Fri Feb 15 16:48:00 2002 UTC (22 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +13 -8 lines
- add a real linux_sys___sysctl because the mib numbers are different.
  implement only the kernel version getting entries.
- make the signal conversion functions consistent; dest is arg 1.
- make linux_fakedev deal with block and char devices differently.
- add linux_sys_ugetrlimit, and flesh out the regular get/setrlimit so
  that they work properly.
- add linux_mmap2 [untested].
- bump kernel to 2.4.18, and make the date be valentine's day :-)
- linux_sys_*stat64 family was totally busted. Fix it.

tested only on i386.

Status:
	gdb, telnet, work
	jdk-1.4.0 extractor works, jdk still coredumps.

christos

Revision 1.65.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:51:27 2002 UTC (22 years, 11 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.65.2.1: preferred, colored
Changes since revision 1.65.2.1: +4 -1 lines
Sync kqueue branch with -current.

Revision 1.62.2.4: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:13:03 2001 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.62.2.3: preferred, colored; branchpoint 1.62: preferred, colored
Changes since revision 1.62.2.3: +4 -1 lines
Catch up to -current.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Tue Nov 13 02:08:38 2001 UTC (23 years, 1 month ago) by lukem
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +4 -1 lines
add RCSIDs (including regeneration of files as appropriate)

Revision 1.62.2.3: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:08:48 2001 UTC (23 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.62.2.2: preferred, colored; branchpoint 1.62: preferred, colored
Changes since revision 1.62.2.2: +29 -7 lines
Catch up with -current.

Revision 1.65.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 3 04:12:42 2001 UTC (23 years, 4 months ago) by lukem
Branches: kqueue
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +30 -7 lines
update to -current

Revision 1.67: download - view: text, markup, annotated - select for diffs
Thu Aug 2 22:04:57 2001 UTC (23 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +5 -2 lines
Deal with the SSE FPU save format.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sun Jul 15 20:02:21 2001 UTC (23 years, 5 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +26 -6 lines
execute signal handlers on separate signal stack, if it's been provided

Revision 1.62.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 21 19:59:30 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.62.2.1: preferred, colored; branchpoint 1.62: preferred, colored
Changes since revision 1.62.2.1: +7 -9 lines
Catch up to -current.

Revision 1.50.2.3: download - view: text, markup, annotated - select for diffs
Sun Jun 17 22:27:20 2001 UTC (23 years, 5 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Diff to: previous 1.50.2.2: preferred, colored; branchpoint 1.50: preferred, colored
Changes since revision 1.50.2.2: +3 -3 lines
Pull up revision 1.65 (requested by sommerfeld):
  Add %fs/%gs to trap frame and save/restore them on trap/interupt/
  syscall entry from userspace.

  Remove special-case ``by hand'' validation of %fs/%gs register
  values s well as special handling of them in various signal
  handling paths.  Now, like %ds and %es, they are validated by
  the hardware on return to userland.

  This paves the way for the use of %fs for per-cpu data on multi-
  processor systems, and fixes an otherwise difficult-to-fix
  interaction between threads/clone(2) and USER_LDT.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Sun Jun 17 21:01:38 2001 UTC (23 years, 5 months ago) by sommerfeld
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +3 -3 lines
Add %fs/%gs to trap frame and save/restore them on
trap/interrupt/syscall entry from userspace.

Remove special-case "by hand" validation of fs/gs register values as
well as special handling of them in various signal handling paths.

Now, like %ds and %es, they are validated by the hardware on return to
userland.

This paves the way for the use of %fs for per-cpu data on
multiprocessor systems, and fixes an otherwise difficult-to-fix
interaction between threads/clone(2) and USER_LDT.

Discussed in advance with Frank van der Linden.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Thu Jun 14 20:32:43 2001 UTC (23 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +2 -4 lines
Fix a partial construction problem that can cause race conditions
between creation of a file descriptor and close(2) when using kernel
assisted threads.  What we do is stick descriptors in the table, but
mark them as "larval".  This causes essentially everything to treat
it as a non-existent descriptor, except for fdalloc(), which sees a
filled slot so that it won't (incorrectly) allocate it again.  When
a descriptor is fully constructed, the code that has constructed it
marks it as "mature" (which actually clears the "larval" flag), and
things continue to work as normal.

While here, gather all the code that gets a descriptor from the table
into a fd_getfile() function, and call it, rather than having the
same (sometimes incorrect) code copied all over the place.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Wed May 30 11:37:25 2001 UTC (23 years, 6 months ago) by mrg
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +4 -4 lines
use _KERNEL_OPT.

Revision 1.50.2.2: download - view: text, markup, annotated - select for diffs
Tue May 15 19:59:32 2001 UTC (23 years, 7 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.50.2.1: preferred, colored; branchpoint 1.50: preferred, colored
Changes since revision 1.50.2.1: +2 -2 lines
Pull up revision 1.62 (requested by drochner):
  Fix a build problem where COMPAT_LINUX is defined, but wscons is
  not present.  Fixes PR#12886.

Revision 1.50.2.1: download - view: text, markup, annotated - select for diffs
Fri Mar 30 21:34:21 2001 UTC (23 years, 8 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +151 -6 lines
Pull up revisions 1.52-1.60 (via patch, requested by fvdl):
  Add some required Linux emulation bits to support the Linux
  version of VMware.

Revision 1.62.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 5 22:49:23 2001 UTC (23 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +44 -35 lines
Initial commit of scheduler activations and lightweight process support.

Revision 1.47.2.6: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:13:40 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.47.2.5: preferred, colored; branchpoint 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47.2.5: +5 -5 lines
Sync with HEAD.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Fri Jan 26 19:41:52 2001 UTC (23 years, 10 months ago) by manu
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +2 -2 lines
Moved include <sys/ioctl.h> so that we can build without WSCONS enabled.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Thu Jan 18 20:28:26 2001 UTC (23 years, 10 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -3 lines
constify

Revision 1.60: download - view: text, markup, annotated - select for diffs
Thu Jan 18 13:56:32 2001 UTC (23 years, 10 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +2 -2 lines
EINVAL -> ENOTTY

Revision 1.47.2.5: download - view: text, markup, annotated - select for diffs
Thu Jan 18 09:23:12 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.47.2.4: preferred, colored; branchpoint 1.47: preferred, colored
Changes since revision 1.47.2.4: +4 -0 lines
Sync with head (for UBC+NFS fixes, mostly).

Revision 1.59: download - view: text, markup, annotated - select for diffs
Tue Jan 9 13:01:03 2001 UTC (23 years, 11 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +5 -1 lines
Add emulation of KIOCSOUND.

Revision 1.47.2.4: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:35:23 2001 UTC (23 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.47.2.3: preferred, colored; branchpoint 1.47: preferred, colored
Changes since revision 1.47.2.3: +22 -12 lines
Sync with HEAD

Revision 1.58: download - view: text, markup, annotated - select for diffs
Fri Dec 29 22:06:58 2000 UTC (23 years, 11 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +5 -1 lines
Implement KDGETMODE ioctl.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Fri Dec 29 20:07:25 2000 UTC (23 years, 11 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +7 -1 lines
Under Linux it's possible to return values through the ioctl system
call directly (i.e. not a reference argument, but a direct return
value). So far I have only seen this with binaries that talk
to their own device modules, using non-standard ioctl calls.
Hence, allow for a pass-through ioctl call using PTIOCLINUX to
return EJUSTRETURN, signalling that the return value is in
the 'data' field of the structure, which can then be put in 'retval'.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Fri Dec 22 22:58:57 2000 UTC (23 years, 11 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -4 lines
split off thread specific stuff from struct sigacts to struct sigctx, leaving
    only signal handler array sharable between threads
move other random signal stuff from struct proc to struct sigctx

This addresses kern/10981 by Matthew Orgass.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Mon Dec 18 14:47:38 2000 UTC (23 years, 11 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +12 -11 lines
For unknown ioctls, pass them through to a device using PTIOCLINUX,
so that it may deal with them if it knows them (i.e. LKMs which
deal with Linux binaries).

Revision 1.47.2.3: download - view: text, markup, annotated - select for diffs
Wed Dec 13 15:49:46 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.47.2.2: preferred, colored; branchpoint 1.47: preferred, colored
Changes since revision 1.47.2.2: +135 -5 lines
Sync with HEAD (for UBC fixes).

Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Dec 12 15:11:56 2000 UTC (24 years ago) by fvdl
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +18 -4 lines
Allow for passing through of certain ranges of ioctl command values
directly to a device. The device has to be aware of how to handle
with these special ioctls. Useful for LKMs that deal with Linux
binaries.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Sun Dec 10 17:34:25 2000 UTC (24 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +5 -7 lines
Fix previous:
- EBADF, not NULL when a file descriptor can't be found.
- Check FIF_WANTCLOSE properly.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Sun Dec 10 14:09:59 2000 UTC (24 years ago) by fvdl
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +122 -4 lines
Add i386-specific code for a few ioctl calls.

Revision 1.47.2.2: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:08:22 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.47.2.1: preferred, colored; branchpoint 1.47: preferred, colored
Changes since revision 1.47.2.1: +7 -1 lines
Sync with HEAD.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Wed Nov 29 22:05:36 2000 UTC (24 years ago) by jdolecek
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +7 -1 lines
LKMify

Revision 1.47.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:08:18 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +9 -26 lines
Update thorpej_scsipi to -current as of a month ago

Revision 1.49.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:05:47 2000 UTC (24 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +4 -19 lines
Sync w/ netbsd-1-5-base.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Jun 11 09:19:27 2000 UTC (24 years, 6 months ago) by veego
Branches: MAIN
CVS tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +4 -19 lines
Remove the pcvt support.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon May 15 01:12:07 2000 UTC (24 years, 7 months ago) by jhawk
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -5 lines
Remove conditionization upon XSERVER -- all the code
so conditionalized is already conditionalized on (NWSDISPLAY > 0),
so is wscons-specific. wscons has no conditionalization on XSERVER;
neither should the linux compatibility code.

Removing this is necessary to keep linux X server emulation functionining
after GENERIC rev 1.337 removing "options XSERVER" (relegating it
to the pccons/pcvt-specific, and therefore depricated).

Revision 1.48: download - view: text, markup, annotated - select for diffs
Thu Mar 30 11:27:17 2000 UTC (24 years, 8 months ago) by augustss
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +5 -5 lines
Kill register declarations.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Mon Oct 4 17:46:37 1999 UTC (25 years, 2 months ago) by fvdl
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase
Branch point for: thorpej_scsipi
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3 lines
Handle the newer, larger sigset_t Linux now uses.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Jan 8 11:59:38 1999 UTC (25 years, 11 months ago) by kleink
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc2-base, chs-ubc2
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -2 lines
Rearrange the emulation-specific setregs() entry to set up the FPU control
word *after* calling the native setregs(), which would clobber it again.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Oct 4 00:02:26 1998 UTC (26 years, 2 months ago) by fvdl
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +22 -17 lines
Assign my copyright to TNF. Merge with others were appropriate.
Regen syscall files after script change.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Oct 3 20:17:38 1998 UTC (26 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +8 -7 lines
Attempt to fix the mess.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Oct 1 02:17:31 1998 UTC (26 years, 2 months ago) by erh
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +12 -2 lines
Moved here from arch/i386/i386/linux_machdep.c.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Sep 11 12:50:06 1998 UTC (26 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +34 -35 lines
Substantial signal handling changes:
* Increase the size of sigset_t to accomodate 128 signals -- adding new
  versions of sys_setprocmask(), sys_sigaction(), sys_sigpending() and
  sys_sigsuspend() to handle the changed arguments.
* Abstract the guts of sys_sigaltstack(), sys_setprocmask(), sys_sigaction(),
  sys_sigpending() and sys_sigsuspend() into separate functions, and call them
  from all the emulations rather than hard-coding everything.  (Avoids uses
  the stackgap crap for these system calls.)
* Add a new flag (p_checksig) to indicate that a process may have signals
  pending and userret() needs to do the full (slow) check.
* Eliminate SAS_ALTSTACK; it's exactly the inverse of SS_DISABLE.
* Correct emulation bugs with restoring SS_ONSTACK.
* Make the signal mask in the sigcontext always use the emulated mask format.
* Store signals internally in sigaction structures, rather than maintaining a
  bunch of little sigsets for each SA_* bit.
* Keep track of where we put the signal trampoline, rather than figuring it out
  in *_sendsig().
* Issue a warning when a non-emulated sigaction bit is observed.
* Add missing emulated signals, and a native SIGPWR (currently not used).
* Implement the `not reset when caught' semantics for relevant signals.

Note: Only code touched by the i386 port has been modified.  Other ports and
emulations need to be updated.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Jun 11 22:26:13 1998 UTC (26 years, 6 months ago) by drochner
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +126 -5 lines
Since wscons can support VT_xxx ioctl()s, enable them if NWSDISPLAY > 0.
Implement KDGKBTYPE and KDGKBENT, this will make X servers happy.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri May 8 16:55:15 1998 UTC (26 years, 7 months ago) by kleink
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -2 lines
Fix some arithmetics lossage on typeless pointers.

Revision 1.34.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 29 11:46:27 1998 UTC (26 years, 10 months ago) by mellon
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +15 -3 lines
Pull up 1.37-1.39 (mycroft)

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat Jan 24 13:19:48 1998 UTC (26 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +4 -1 lines
Store the initial NPX control word appropriate for the emulation in the saved
FPU state, and use it when initializing the FPU on demand.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Jan 24 12:45:16 1998 UTC (26 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -1 lines
Need foo_exec.h.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Jan 24 12:42:24 1998 UTC (26 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +11 -3 lines
Add local versions of setregs(), so I can tweak some registers later.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Thu Jan 22 00:39:19 1998 UTC (26 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -1 lines
Generate dependencies on the USER_LDT option.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu Jan 15 22:25:54 1998 UTC (26 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -1 lines
Generate dependencies on the VM86 option.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Oct 16 04:23:38 1997 UTC (27 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -2 lines
Pull in vmparam.h as necessary.

Revision 1.33.12.1: download - view: text, markup, annotated - select for diffs
Mon Sep 8 23:35:26 1997 UTC (27 years, 3 months ago) by thorpej
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +8 -7 lines
Significantly restructure the way signal state for a process is stored.
Rather than using bitmasks to redundantly store the information kept
in the process's sigacts (because the sigacts was kept in the u-area),
hang sigacts directly off the process, and access it directly.

Simplify signal setup code tremendously by storing information in
the sigacts as an array of struct sigactions, rather than in a different
format, since userspace uses sigactions.

Make sigacts sharable by adding reference counting.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Oct 29 02:19:25 1996 UTC (28 years, 1 month ago) by sommerfe
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -1 lines
Workaround for building linux-emulation LKM.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun Oct 13 03:19:43 1996 UTC (28 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -3 lines
backout previous kprintf changes

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Oct 12 02:20:37 1996 UTC (28 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -1 lines
Need <sys/exec.h> for the PS_STRINGS definition.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Oct 11 00:26:40 1996 UTC (28 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3 lines
printf -> kprintf, sprintf -> ksprintf

Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri May 3 19:42:11 1996 UTC (28 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +21 -13 lines
Prototype and gcc -Wall cleanups

Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Apr 18 08:36:22 1996 UTC (28 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2 lines
Turn off the alignment check flag when entering a signal handler.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Apr 12 08:44:37 1996 UTC (28 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2 lines
Turn off the trace flag when delivering a signal.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Apr 11 07:47:45 1996 UTC (28 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +45 -41 lines
Export [gs]et_vflags(), and always use them when saving/restoring registers
in VM86 mode.
Allow changing of *all* PSL bits in VM86 mode; some applications don't work
right otherwise, and all the nasty bits are virtualized anyway.
Make sure PSL_VIF, PSL_VIP, and PSL_VM don't show up in the user's view of
the PSL.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Mar 8 06:00:53 1996 UTC (28 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -1 lines
Add a message to help us debug Linux compat.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Jan 4 22:21:57 1996 UTC (28 years, 11 months ago) by jtc
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
Changed name of sigaltstack's ss_base field to ss_sp to match XPG4.2 and
traditional usage.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Oct 10 04:54:25 1995 UTC (29 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +5 -5 lines
Switch to user code and data selectors in the GDT while handling signals.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Oct 10 04:45:16 1995 UTC (29 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2 lines
Add USERMODE() and KERNELMODE() macros, and use them.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Oct 8 22:45:20 1995 UTC (29 years, 2 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -7 lines
Implement the KDGKBMODE ioctl for Linux (possible with pcvt 3.32).

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Oct 7 06:25:34 1995 UTC (29 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +16 -15 lines
Prefix names of system call implementation functions with `sys_'.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Sep 19 22:56:37 1995 UTC (29 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +26 -21 lines
Make system calls conform to a standard prototype and bring those
prototypes into scope.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Sep 8 07:57:15 1995 UTC (29 years, 3 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -3 lines
Fix PR #1445 (incorrect ifdef/else/endif), from Bill Sommerfeld via
John Kohl.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Sep 7 21:55:43 1995 UTC (29 years, 3 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -3 lines
Get notion of VT number right.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Sep 1 20:06:10 1995 UTC (29 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -4 lines
SA_ONSTACK --> SS_ONSTACK

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Aug 31 09:33:10 1995 UTC (29 years, 3 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -2 lines
Only define some vars (one of pcvt-specific type) when pcvt is configured.
Fixes PR #1424 (from Mike Long)

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Aug 30 00:32:51 1995 UTC (29 years, 3 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -33 lines
Remove VT-switch disabling hack now that pcvt handles this.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Aug 27 20:56:38 1995 UTC (29 years, 3 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +206 -1 lines
Add some yucky code to emulate Linux VTs well enough to make svgalib
stuff work reasonably well.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Aug 14 02:19:54 1995 UTC (29 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
Export bsd_to_linux_sig[], and use it.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Aug 14 01:38:24 1995 UTC (29 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -1 lines
Rearrange #includes.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Jun 24 20:36:28 1995 UTC (29 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -4 lines
Stackgap_init() now takes an p->p_emul argument.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Jun 22 21:35:42 1995 UTC (29 years, 5 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -1 lines
Include file change.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun May 7 03:27:37 1995 UTC (29 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -1 lines
Turn off a debugging printf().

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun May 7 02:59:32 1995 UTC (29 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +164 -51 lines
Improve Linux signal emulation, and emulate the modify_ldt() call.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat May 6 18:17:15 1995 UTC (29 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +22 -1 lines
Add stub for linux_modify_ldt().

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon May 1 19:45:42 1995 UTC (29 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
Fix typos.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon May 1 14:15:09 1995 UTC (29 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +29 -7 lines
Save and restore %fs and %gs across signals.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon May 1 08:06:22 1995 UTC (29 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -4 lines
Update to match include files.  Eliminate _ucodesel, _udatasel, and IdlePTD.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Apr 22 20:26:25 1995 UTC (29 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +8 -9 lines
- added sunos_machdep.c for sun3, atari, amiga and mac68k.
- changed machdep.c and trap.c to use struct emul.
- remove ep_setup references.
- added struct emul to all emulations.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Apr 7 22:29:34 1995 UTC (29 years, 8 months ago) by fvdl
Branches: MAIN
Changes because of proper Linux signal stackframe building, and
seperate signal trampoline code. Ugly hack in trap.c no longer
needed.

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>