The NetBSD Project

CVS log for src/sys/compat/netbsd32/netbsd32_signal.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / compat / netbsd32

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.45.8.2 / (download) - annotate - [select for diffs], Wed Aug 3 11:11:31 2022 UTC (6 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE
Changes since 1.45.8.1: +5 -2 lines
Diff to previous 1.45.8.1 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

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.53 / (download) - annotate - [select for diffs], Sat Nov 6 20:42:56 2021 UTC (14 months, 4 weeks ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.52: +87 -4 lines
Diff to previous 1.52 (colored)

COMPAT_NETBSD32 is all about running the 32-bit flavor of native
binaries on a 64-bit platform[*], as such:
- Make the logic about which "sendsig" flavor to call MI (as it is in the
  native 64-bit environment) and follow the same rules as the native 32-bit
  environment.
- Make COMPAT_NETBSD32 x COMPAT_16 work the same as it would in the
  native 32-bit environment by providing a netbsd32_sendsig_sigcontext_16_hook,
  rather than overriding the entire sendsig logic with a netbsd32_sendsig_hook.
- In netbsd32___sigaction_sigtramp(), make sure the compat_netbsd32_16
  module is loaded if the trampoline version specifies a sigcontext style
  handler, otherwise return EINVAL so that libc can try again with siginfo
  style.

[*] ...except for arm32, which uses it to mean "run 32-bit OABI binaries
from the 32-bit EABI environment".  Doing it this way was arguably a mistake,
but we are stuck with it for now, so support it by providing a machine-
dependent override for netbsd32_sendsig() that also disables the corresponding
logic in netbsd32___sigaction_sigtramp().

Fixes PR kern/56487.

Revision 1.52 / (download) - annotate - [select for diffs], Tue Sep 7 11:43:05 2021 UTC (16 months, 4 weeks ago) by riastradh
Branch: MAIN
Changes since 1.51: +5 -2 lines
Diff to previous 1.51 (colored)

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.50.8.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:42 2021 UTC (22 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.50: +17 -17 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

Sync with HEAD.

Revision 1.51 / (download) - annotate - [select for diffs], Tue Jan 19 03:20:13 2021 UTC (2 years ago) by simonb
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.50: +17 -17 lines
Diff to previous 1.50 (colored)

KNF consistency: No parentheses are needed around the return value.

Revision 1.45.4.1 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:16 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.45: +108 -100 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.45.8.1 / (download) - annotate - [select for diffs], Tue Nov 19 13:33:21 2019 UTC (3 years, 2 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.45: +108 -100 lines
Diff to previous 1.45 (colored)

Pull up following revision(s) (requested by rin in ticket #456):

	sys/compat/netbsd32/netbsd32_signal.c: revision 1.46
	sys/compat/netbsd32/netbsd32_signal.c: revision 1.47
	sys/compat/netbsd32/netbsd32_signal.c: revision 1.48
	sys/compat/netbsd32/netbsd32_signal.c: revision 1.49
	sys/compat/netbsd32/netbsd32_signal.c: revision 1.50

Belatedly catch up with kern_sig.c rev 1.358:
Provide syscall information with SIGTRAP TRAP_SCE/TRAP_SCX so that
picotrace/truss, for example, works fine on COMPAT_NETBSD32.
With some minor changes:
- Centralize netbsd32_si{,32}_si{32,}() into netbsd32_ksi{,32}_ksi{32,}().
- Provide si_status with SIGCHLD.
- Remove the remaining of SA.

Sort by signal numbers as far as possible, adjust locations of functions.
No functional changes intended.

XXX
pullup to netbsd-9

Provide _ptrace_state for SIGTRAP with TRAP_EXEC, TRAP_CHLD, or TRAP_LWP.
Pointed out by kamil. Thanks!

XXX
pullup to netbsd-9

When converting siginfo, examine si_code at the beginning,
as explained in siginfo(2).
- If it is SI_NOINFO, there's no additional information.
- If it is non-positive, i.e., codes described in siginfo(2),
   we need to fill in _rt.

XXX
Description for SA_ASYNCIO in siginfo(2) seems outdated;
neither si_fd nor si_band are filled in with that code.

XXX
pullup to netbsd-9

TRAP_EXEC does not have extra fields to be filled in at the moment.
Explicitly ignore fields for now.
Pointed out by kamil. Thanks!

XXX
pullup to netbsd-9

Revision 1.50 / (download) - annotate - [select for diffs], Mon Nov 18 11:01:41 2019 UTC (3 years, 2 months ago) by rin
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, 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: thorpej-futex
Changes since 1.49: +4 -2 lines
Diff to previous 1.49 (colored)

TRAP_EXEC does not have extra fields to be filled in at the moment.
Explicitly ignore fields for now.

Pointed out by kamil. Thanks!

XXX
pullup to netbsd-9

Revision 1.49 / (download) - annotate - [select for diffs], Mon Nov 18 10:25:48 2019 UTC (3 years, 2 months ago) by rin
Branch: MAIN
Changes since 1.48: +12 -0 lines
Diff to previous 1.48 (colored)

When converting siginfo, examine si_code at the beginning,
as explained in siginfo(2).

- If it is SI_NOINFO, there's no additional information.
- If it is non-positive, i.e., codes described in siginfo(2),
  we need to fill in _rt.

XXX
Description for SA_ASYNCIO in siginfo(2) seems outdated;
neither si_fd nor si_band are filled in with that code.

XXX
pullup to netbsd-9

Revision 1.48 / (download) - annotate - [select for diffs], Mon Nov 18 10:14:52 2019 UTC (3 years, 2 months ago) by rin
Branch: MAIN
Changes since 1.47: +58 -22 lines
Diff to previous 1.47 (colored)

Provide _ptrace_state for SIGTRAP with TRAP_EXEC, TRAP_CHLD, or TRAP_LWP.

Pointed out by kamil. Thanks!

XXX
pullup to netbsd-9

Revision 1.47 / (download) - annotate - [select for diffs], Mon Nov 18 04:58:42 2019 UTC (3 years, 2 months ago) by rin
Branch: MAIN
Changes since 1.46: +22 -22 lines
Diff to previous 1.46 (colored)

Sort by signal numbers as far as possible, adjust locations of functions.
No functional changes intended.

XXX
pullup to netbsd-9

Revision 1.46 / (download) - annotate - [select for diffs], Mon Nov 18 04:09:53 2019 UTC (3 years, 2 months ago) by rin
Branch: MAIN
Changes since 1.45: +40 -82 lines
Diff to previous 1.45 (colored)

Belatedly catch up with kern_sig.c rev 1.358:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/kern/kern_sig.c#rev1.358

Provide syscall information with SIGTRAP TRAP_SCE/TRAP_SCX so that
picotrace/truss, for example, works fine on COMPAT_NETBSD32.

With some minor changes:

- Centralize netbsd32_si{,32}_si{32,}() into netbsd32_ksi{,32}_ksi{32,}().
- Provide si_status with SIGCHLD.
- Remove the remaining of SA.

XXX
pullup to netbsd-9

Revision 1.43.8.1 / (download) - annotate - [select for diffs], Thu Apr 12 13:42:49 2018 UTC (4 years, 9 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.43: +45 -2 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

Pull up following revision(s) (requested by kamil in ticket #713):

	sys/modules/procfs/Makefile: revision 1.4
	sys/miscfs/procfs/procfs_vfsops.c: revision 1.98
	bin/ps/ps.1: revision 1.108
	sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.32
	sys/miscfs/procfs/procfs_vnops.c: revision 1.198
	sys/kern/sys_ptrace_common.c: revision 1.23
	sys/kern/sys_ptrace_common.c: revision 1.24
	sbin/mount_procfs/mount_procfs.8: revision 1.36
	sys/kern/sys_ptrace_common.c: revision 1.25
	sys/kern/sys_ptrace.c: revision 1.5
	sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.30
	sys/sys/proc.h: revision 1.342
	sys/kern/sys_ptrace_common.c: revision 1.26
	sys/miscfs/procfs/procfs_ctl.c: file removal
	sys/kern/sys_ptrace_common.c: revision 1.27
	sys/miscfs/procfs/procfs_subr.c: revision 1.109
	sys/kern/sys_ptrace_common.c: revision 1.28
	sys/secmodel/extensions/secmodel_extensions.c: revision 1.8
	sys/kern/sys_ptrace_common.c: revision 1.29
	sys/sys/ptrace.h: revision 1.62
	sys/compat/netbsd32/netbsd32_signal.c: revision 1.45
	share/man/man9/kauth.9: revision 1.109
	sys/miscfs/procfs/files.procfs: revision 1.12
	sys/compat/netbsd32/netbsd32.h: revision 1.115
	sys/miscfs/procfs/procfs.h: revision 1.72
	sys/compat/netbsd32/netbsd32_ptrace.c: revision 1.5
	sys/kern/kern_sig.c: revision 1.337
	sys/sys/kauth.h: revision 1.75
	sys/sys/sysctl.h: revision 1.224
	sys/kern/sys_ptrace_common.c: revision 1.30
	sys/kern/sys_ptrace_common.c: revision 1.31
	sys/kern/sys_ptrace_common.c: revision 1.32
	sys/kern/sys_ptrace_common.c: revision 1.33
	sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.20
	sys/kern/sys_ptrace_common.c: revision 1.34
	sys/kern/sys_ptrace_common.c: revision 1.36
	sys/kern/kern_proc.c: revision 1.207
	sys/kern/kern_exit.c: revision 1.269
	doc/TODO.ptrace: revision 1.29

Make {s,g}et{db,fp,}regs work again for PK_32 processes
XXX: pullup-8

add disgusting magic to handle compat_netbsd32 as a module.

use process_*reg32 instead of struct *reg32.

Remove the filesystem tracing feature

This is a legacy interface from 4.4BSD, and it was
introduced to overcome shortcomings of ptrace(2) at that time, which are
no longer relevant (performance). Today /proc/#/ctl offers a narrow
subset of ptrace(2) commands and is not applicable for modern
applications use beyond simplistic tracing scenarios.

This removal will simplify kernel internals. Users will still be able to
use all the other /proc files.

This change won't affect other procfs files neither Linux compat
features within mount_procfs(8). /proc/#/ctl isn't available on Linux.

Remove:
 - /proc/#/ctl from mount_procfs(8)
 - P_FSTRACE note from the documentation of ps(1)
 - /proc/#/ctl and filesystem tracing documentation from mount_procfs(8)
 - KAUTH_REQ_PROCESS_PROCFS_CTL documentation from kauth(9)
 - source code file miscfs/procfs/procfs_ctl.c
 - PFSctl and procfs_doctl() from sys/miscfs/procfs/procfs.h
 - KAUTH_REQ_PROCESS_PROCFS_CTL from sys/sys/kauth.h
 - PSL_FSTRACE (0x00010000) from sys/sys/proc.h
 - P_FSTRACE (0x00010000) from sys/sys/sysctl.h

Reduce code complexity after removal of this functionality.

Update TODO.ptrace accordingly: remove two entries about /proc tracing.

Do not keep legacy notes as comments in the headers about removed

PSL_FSTRACE / P_FSTRACE, as this interface had little number of users
(close or equal to zero).
Proposed on tech-kern@.

All filesystem tracing utility users are encouraged to switch to ptrace(2).

Sponsored by <The NetBSD Foundation>

untangle the mess:
- factor out common code
- break each ptrace subcall to its own sub-function
  .. more to come ...
- reduce ifdef ugliness by moving it up top.
- factor out PT_IO and make PT_{READ,WRITE}_{I,D} use it
- factor out PT_DUMPCORE
- factor out sendsig code
  .. more to come ...

handle siginfo requests for ptrace32

ptrace: Partially undo PT_{READ,WRITE}_{I,D} and unbreak these commands

The refactored code did not work and was generating EFAULT.

Sponsored by <The NetBSD Foundation>

Merge the code back; the problem was that since we are reading/writing
to a kernel address for PT_{READ,WRITE}_{I,D} we need the kernel vmspace.
provide separate read and write functions to accomodate register functions
that need a size argument.

don't ignore error from copyout_piod

Use the proper process (the tracee) to get information about lwps and
registers and the tracer for vmspace.

Add new sysctl(3) entry: security.models.extensions.user_set_dbregs

Model this new sysctl(3) entry after "user_set_cpu_affinity" in the same
level of sysctl(3) switches.

Allow to read unconditionally Debug Registers (no change here). This is
convenient as even if a user of a debugger does not use hardware assisted
watchpoints/breakpoints, a debugger can still prompt these values to store
in an internal cache with context of registers. Reading them should have
no security concerns.

Add a paranoid MI switch that prohibits by default setting these registers
by a regular user (non-superuser). Make this switch disabled by default.
There are enough reserved bits out there to allow using them
unconditionally on hardened hosts.

Features shipped with Debug Registers are optional features in debuggers.
There is no reduction in elementary functionality.

Reviewed by <christos>

Sponsored by <The NetBSD Foundation>

Revision 1.45 / (download) - annotate - [select for diffs], Sun Dec 17 20:59:27 2017 UTC (5 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20190609, 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, netbsd-9-base, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi, netbsd-9
Changes since 1.44: +45 -2 lines
Diff to previous 1.44 (colored)

handle siginfo requests for ptrace32

Revision 1.44 / (download) - annotate - [select for diffs], Wed Dec 6 19:15:27 2017 UTC (5 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.43: +6 -4 lines
Diff to previous 1.43 (colored)

disable 32 bit signal ktrace records; 32 bit traced process produce 64 bit
trace records, the only record that we can't parse is that one :-)
XXX: pullup-8

Revision 1.37.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:56 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.37.2.1: +136 -29 lines
Diff to previous 1.37.2.1 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)

update from HEAD

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:07 2016 UTC (6 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.39: +99 -5 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

Sync with HEAD

Revision 1.38.6.2 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:39 2016 UTC (6 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.38.6.1: +100 -5 lines
Diff to previous 1.38.6.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

Sync with HEAD

Revision 1.43 / (download) - annotate - [select for diffs], Sun Sep 18 05:16:21 2016 UTC (6 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Changes since 1.42: +2 -6 lines
Diff to previous 1.42 (colored)

remove multiple default.

Revision 1.42 / (download) - annotate - [select for diffs], Sun Sep 18 01:56:42 2016 UTC (6 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.41: +14 -5 lines
Diff to previous 1.41 (colored)

more ifdef KTRACE
fix wraps

Revision 1.41 / (download) - annotate - [select for diffs], Sat Sep 17 02:44:38 2016 UTC (6 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.40: +8 -4 lines
Diff to previous 1.40 (colored)

deal with not having KTRACE

Revision 1.40 / (download) - annotate - [select for diffs], Tue Sep 13 07:39:45 2016 UTC (6 years, 4 months ago) by martin
Branch: MAIN
CVS Tags: localcount-20160914
Changes since 1.39: +88 -2 lines
Diff to previous 1.39 (colored)

Allow emulations to override the creation of ktrace records for posting
signals. In compat_netbsd32 use this to write the 32bit version of
the records, so a 32bit userland kdump is happy.

Revision 1.38.6.1 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:55 2015 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.38: +43 -31 lines
Diff to previous 1.38 (colored)

Sync with HEAD

Revision 1.39 / (download) - annotate - [select for diffs], Sat Jun 20 19:58:40 2015 UTC (7 years, 7 months ago) by martin
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921
Branch point for: pgoyette-localcount
Changes since 1.38: +43 -31 lines
Diff to previous 1.38 (colored)

Implement modctl, sigqueinfo and mq_*

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:33 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.37: +6 -5 lines
Diff to previous 1.37 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.35.4.2 / (download) - annotate - [select for diffs], Thu May 22 11:40:17 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.35.4.1: +6 -5 lines
Diff to previous 1.35.4.1 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

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.37.4.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:33 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.37: +6 -5 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

sync with head

Revision 1.38 / (download) - annotate - [select for diffs], Fri Jan 24 22:10:47 2014 UTC (9 years ago) by christos
Branch: 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, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Branch point for: nick-nhusb
Changes since 1.37: +6 -5 lines
Diff to previous 1.37 (colored)

sigaction until 1.4 had an int sigmask, don't trash the stack.

Revision 1.35.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:21 2012 UTC (10 years, 9 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.35: +4 -49 lines
Diff to previous 1.35 (colored)

sync with head

Revision 1.36.4.1 / (download) - annotate - [select for diffs], Fri Feb 24 09:11:39 2012 UTC (10 years, 11 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.36: +3 -49 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

sync to -current.

Revision 1.37 / (download) - annotate - [select for diffs], Sun Feb 19 21:06:41 2012 UTC (10 years, 11 months ago) by rmind
Branch: 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, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.36: +3 -49 lines
Diff to previous 1.36 (colored)

Remove COMPAT_SA / KERN_SA.  Welcome to 6.99.3!
Approved by core@.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Nov 18 03:34:13 2011 UTC (11 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: 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, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: jmcneill-usbmp
Changes since 1.35: +3 -2 lines
Diff to previous 1.35 (colored)

add a copyin function for sigset so that we can use sigtimedwait1 from
emulations.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:07:33 2011 UTC (11 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.34: +4 -2 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

Sync with HEAD.

Revision 1.33.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:52:55 2011 UTC (11 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.33.4.1: +4 -2 lines
Diff to previous 1.33.4.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

sync with head

Revision 1.31.4.1 / (download) - annotate - [select for diffs], Wed Feb 16 21:22:45 2011 UTC (11 years, 11 months ago) by bouyer
Branch: 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
Changes since 1.31: +4 -2 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Pull up following revision(s) (requested by joerg in ticket #1556):
	sys/compat/irix/irix_signal.c: revision 1.56
	sys/compat/svr4/svr4_signal.c: revision 1.65
	sys/compat/netbsd32/netbsd32_signal.c: revision 1.35
	sys/kern/sys_sig.c: revision 1.31
Explicitly initialize ucontext before calling getmcontext.

Revision 1.34.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:47 2011 UTC (11 years, 11 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.34: +4 -2 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

Sync with HEAD

Revision 1.35 / (download) - annotate - [select for diffs], Thu Feb 3 21:45:31 2011 UTC (12 years ago) by joerg
Branch: 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, bouyer-quota2-base
Branch point for: yamt-pagecache
Changes since 1.34: +4 -2 lines
Diff to previous 1.34 (colored)

Explicitly initialize ucontext before calling getmcontext.

Revision 1.29.2.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:11 2010 UTC (12 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.29.2.2: +2 -3 lines
Diff to previous 1.29.2.2 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

sync with head.

Revision 1.33.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:15 2010 UTC (12 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.33: +2 -3 lines
Diff to previous 1.33 (colored)

sync with head

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:00 2010 UTC (12 years, 9 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.33: +2 -3 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync with HEAD.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Apr 23 15:19:20 2010 UTC (12 years, 9 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.33: +2 -3 lines
Diff to previous 1.33 (colored)

Replace M_IOV and some malloc(9)s with kmem(9), and while there:
- Fix invalid free (M_TEMP vs M_IOV) in do_sys_recvmsg(), spotted by jakllsch@.
  Also, same fix in osf1_sys_sendmsg_xopen().
- Fix attempt to free non-allocated memory in error path in netbsd32___getfh30().
- Plug a memory leak in compat_43_netbsd32_orecvmsg().

Revision 1.29.2.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:18 2010 UTC (12 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.29.2.1: +3 -3 lines
Diff to previous 1.29.2.1 (colored) to branchpoint 1.29 (colored)

sync with head

Revision 1.33 / (download) - annotate - [select for diffs], Tue Jan 19 23:15:50 2010 UTC (13 years ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

A few more instances of __sigtimedwait1 -> sigtimedwait1

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:25 2009 UTC (13 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.29: +52 -9 lines
Diff to previous 1.29 (colored)

sync with head.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:17:36 2009 UTC (14 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.31: +7 -6 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Sync with HEAD.

Revision 1.28.6.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:46 2009 UTC (14 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.28.6.1: +50 -5 lines
Diff to previous 1.28.6.1 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

Sync with HEAD.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Jan 11 02:45:49 2009 UTC (14 years ago) by christos
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Changes since 1.31: +7 -6 lines
Diff to previous 1.31 (colored)

merge christos-time_t

Revision 1.31.8.2 / (download) - annotate - [select for diffs], Sun Jan 4 01:56:02 2009 UTC (14 years, 1 month ago) by christos
Branch: christos-time_t
Changes since 1.31.8.1: +488 -0 lines
Diff to previous 1.31.8.1 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

add new syscalls.

Revision 1.30.4.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:16:17 2008 UTC (14 years, 3 months ago) by haad
Branch: haad-dm
Changes since 1.30: +47 -3 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Sync with HEAD.

Revision 1.31.8.1, Wed Oct 15 06:51:19 2008 UTC (14 years, 3 months ago) by christos
Branch: christos-time_t
Changes since 1.31: +0 -487 lines
FILE REMOVED

file netbsd32_signal.c was added on branch christos-time_t on 2009-01-04 01:56:02 +0000

Revision 1.31 / (download) - annotate - [select for diffs], Wed Oct 15 06:51:19 2008 UTC (14 years, 3 months ago) by wrstuden
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, 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
Changes since 1.30: +47 -3 lines
Diff to previous 1.30 (colored)

Merge wrstuden-revivesa into HEAD.

Revision 1.29.4.6 / (download) - annotate - [select for diffs], Sun Sep 28 21:23:32 2008 UTC (14 years, 4 months ago) by skrll
Branch: wrstuden-revivesa
Changes since 1.29.4.5: +5 -2 lines
Diff to previous 1.29.4.5 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

Adapt the SA COMPAT_NETBSD32 stuff to this branch.

Revision 1.29.4.5 / (download) - annotate - [select for diffs], Thu Sep 25 19:26:01 2008 UTC (14 years, 4 months ago) by skrll
Branch: wrstuden-revivesa
Changes since 1.29.4.4: +5 -3 lines
Diff to previous 1.29.4.4 (colored) to branchpoint 1.29 (colored)

Typo in comment and define 'p' in getucontext32_sa.

Revision 1.29.4.4 / (download) - annotate - [select for diffs], Fri Jun 27 01:34:26 2008 UTC (14 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.29.4.3: +42 -3 lines
Diff to previous 1.29.4.3 (colored) to branchpoint 1.29 (colored)

Add getucontext32_sa() and getucontext_sa(), and use them. They
are sa-specific versions of getucontext{,32}(). The main difference
is that they do NOT require the p_lock be held. We report an empty
signal mask, both to avoid needing p_lock and because the process
signal mask is almost always 0 for SA.

Revision 1.29.4.3 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:55 2008 UTC (14 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.29.4.2: +2 -4 lines
Diff to previous 1.29.4.2 (colored) to branchpoint 1.29 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.28.8.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:05:05 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.28.8.1: +2 -4 lines
Diff to previous 1.28.8.1 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

sync with head

Revision 1.28.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:07 2008 UTC (14 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.28: +12 -14 lines
Diff to previous 1.28 (colored)

Sync with HEAD.

Revision 1.30 / (download) - annotate - [select for diffs], Thu May 29 14:51:26 2008 UTC (14 years, 8 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl
Branch point for: haad-dm
Changes since 1.29: +2 -4 lines
Diff to previous 1.29 (colored)

remove clause #3 from my license where there are no other
copyright holders involved.

Revision 1.28.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:24 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.28: +12 -12 lines
Diff to previous 1.28 (colored)

sync with head.

Revision 1.29.4.2 / (download) - annotate - [select for diffs], Wed May 14 19:54:12 2008 UTC (14 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.29.4.1: +8 -8 lines
Diff to previous 1.29.4.1 (colored) to branchpoint 1.29 (colored)

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.29.4.1 / (download) - annotate - [select for diffs], Sat May 10 23:48:58 2008 UTC (14 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.29: +8 -8 lines
Diff to previous 1.29 (colored)

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.29 / (download) - annotate - [select for diffs], Thu Apr 24 18:39:23 2008 UTC (14 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2, yamt-nfs-mp-base, hpcarm-cleanup-nbase
Branch point for: yamt-nfs-mp, wrstuden-revivesa
Changes since 1.28: +12 -12 lines
Diff to previous 1.28 (colored)

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.9.2.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:41:52 2008 UTC (15 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.2.5: +23 -35 lines
Diff to previous 1.9.2.5 (colored) next main 1.10 (colored)

sync with head

Revision 1.25.8.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:51:38 2008 UTC (15 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.25.8.1: +23 -35 lines
Diff to previous 1.25.8.1 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

sync with HEAD

Revision 1.27.4.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:53:11 2008 UTC (15 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.27: +23 -23 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Sync with HEAD

Revision 1.26.6.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:49:33 2007 UTC (15 years, 1 month ago) by ad
Branch: vmlocking2
Changes since 1.26: +23 -35 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Sync with head.

Revision 1.28 / (download) - annotate - [select for diffs], Thu Dec 20 23:03:02 2007 UTC (15 years, 1 month ago) by dsl
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, 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, ad-socklock-base1
Branch point for: yamt-pf42, mjf-devfs2
Changes since 1.27: +23 -23 lines
Diff to previous 1.27 (colored)

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.25.6.2 / (download) - annotate - [select for diffs], Sun Dec 9 19:37:20 2007 UTC (15 years, 2 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.25.6.1: +6 -18 lines
Diff to previous 1.25.6.1 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

Sync with HEAD.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Dec 8 18:36:19 2007 UTC (15 years, 2 months ago) by dsl
Branch: 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
Changes since 1.26: +6 -18 lines
Diff to previous 1.26 (colored)

ANSIfy most of the function definitions in sys/compat (but not ndis).
All by the magic of sed ...

Revision 1.25.8.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:25:12 2007 UTC (15 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored)

sync with HEAD

Revision 1.9.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:29:47 2007 UTC (15 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.2.4: +4 -4 lines
Diff to previous 1.9.2.4 (colored)

sync with head.

Revision 1.25.6.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:44:02 2007 UTC (15 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored)

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.25.10.1 / (download) - annotate - [select for diffs], Sun Oct 14 11:47:55 2007 UTC (15 years, 3 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

sync with head.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Oct 8 18:07:24 2007 UTC (15 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, mjf-devfs, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: vmlocking2
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored)

LOCK_ASSERT -> KASSERT

Revision 1.9.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:32:40 2007 UTC (15 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.2.3: +35 -65 lines
Diff to previous 1.9.2.3 (colored)

sync with head.

Revision 1.21.2.4 / (download) - annotate - [select for diffs], Wed Aug 22 20:26:31 2007 UTC (15 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.21.2.3: +4 -4 lines
Diff to previous 1.21.2.3 (colored) next main 1.22 (colored)

Make it compile.

Revision 1.21.2.3 / (download) - annotate - [select for diffs], Sun Jul 15 13:27:14 2007 UTC (15 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.21.2.2: +4 -27 lines
Diff to previous 1.21.2.2 (colored)

Sync with head.

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:04:32 2007 UTC (15 years, 6 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.21: +35 -65 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Jun 16 20:04:28 2007 UTC (15 years, 7 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-x86pmap-base2, yamt-x86pmap-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: yamt-x86pmap, matt-armv6, jmcneill-pm
Changes since 1.24: +4 -27 lines
Diff to previous 1.24 (colored)

Modify the (recently added) compat_sigaltstack() #define to take the
values of the SS_ONSTACK and SS_DISABLE constants.
Use it to shorten the source files when this action is replicated.
Actually, given the monstrous complexity of sigaltstack1() there is
probably a much better way to do this...

Revision 1.21.2.2 / (download) - annotate - [select for diffs], Sun May 27 14:35:20 2007 UTC (15 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.21.2.1: +5 -5 lines
Diff to previous 1.21.2.1 (colored)

Sync with head.

Revision 1.24 / (download) - annotate - [select for diffs], Mon May 21 15:35:48 2007 UTC (15 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.23: +5 -5 lines
Diff to previous 1.23 (colored)

rename si_sigval -> si_value to match POSIX RTS.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Tue Apr 10 13:26:30 2007 UTC (15 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.21: +38 -45 lines
Diff to previous 1.21 (colored)

Sync with head.

Revision 1.21.6.2 / (download) - annotate - [select for diffs], Thu Mar 29 19:27:42 2007 UTC (15 years, 10 months ago) by reinoud
Branch: reinoud-bufcleanup
Changes since 1.21.6.1: +29 -36 lines
Diff to previous 1.21.6.1 (colored) next main 1.22 (colored)

Pullup to -current

Revision 1.19.2.3 / (download) - annotate - [select for diffs], Sat Mar 24 14:55:15 2007 UTC (15 years, 10 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.19.2.2: +38 -45 lines
Diff to previous 1.19.2.2 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Mar 18 21:38:34 2007 UTC (15 years, 10 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic
Changes since 1.22: +29 -36 lines
Diff to previous 1.22 (colored)

Change all the NETBSD32PTR64(SCARG(uap, xxx))) to SCARG_P32(uap, xxx).

Revision 1.21.6.1 / (download) - annotate - [select for diffs], Sun Mar 18 00:06:37 2007 UTC (15 years, 10 months ago) by reinoud
Branch: reinoud-bufcleanup
Changes since 1.21: +35 -35 lines
Diff to previous 1.21 (colored)

First attempt to bring branch in sync with HEAD

Revision 1.22 / (download) - annotate - [select for diffs], Fri Mar 16 22:21:42 2007 UTC (15 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.21: +35 -35 lines
Diff to previous 1.21 (colored)

remove all the double (and triple) casts used to convert 32bit userspace
pointers to and from 64bit kernel pointers.  Instead use the defines
NETBSD32PTR64(p32) to read a 32bit pointer and (the new) NETBSD32PTR32(p32,p64)
to write a 32bit pointer throughout.
The 32bit pointer is now a struct to enforce the above.
amd64 (with linux emul) and sparc64 will both compile (when the arch stuff
goes in soon), and amd64 still runs some i386 binaries.

Revision 1.19.2.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:52:32 2007 UTC (15 years, 10 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.19.2.1: +8 -8 lines
Diff to previous 1.19.2.1 (colored) to branchpoint 1.19 (colored)

Sync with HEAD.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Mar 4 06:01:27 2007 UTC (15 years, 11 months ago) by christos
Branch: MAIN
Branch point for: vmlocking, reinoud-bufcleanup, mjf-ufs-trans
Changes since 1.20: +8 -8 lines
Diff to previous 1.20 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:53:39 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.19: +38 -16 lines
Diff to previous 1.19 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.9.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:09:32 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.2.2: +46 -27 lines
Diff to previous 1.9.2.2 (colored)

sync with head.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Feb 19 14:39:43 2007 UTC (15 years, 11 months ago) by cube
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.19: +38 -16 lines
Diff to previous 1.19 (colored)

Make netbsd32_{get,set}ucontext and associated functions
{get,set}ucontext32 look like their native counterparts again after
newlock2 merge.  This avoids entering sigprocmask1 without the proc mutex
held...

Revision 1.19 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:22 2007 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Branch point for: yamt-idlelwp
Changes since 1.18: +13 -16 lines
Diff to previous 1.18 (colored)

Merge newlock2 to head.

Revision 1.17.10.4 / (download) - annotate - [select for diffs], Tue Jan 30 13:51:35 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.17.10.3: +6 -6 lines
Diff to previous 1.17.10.3 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)

Remove support for SA. Ok core@.

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:42 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.2.1: +9 -6 lines
Diff to previous 1.9.2.1 (colored)

sync with head.

Revision 1.17.12.1 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:49 2006 UTC (16 years, 2 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.17: +9 -6 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

sync with head.

Revision 1.17.10.3 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:12 2006 UTC (16 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.17.10.2: +9 -6 lines
Diff to previous 1.17.10.2 (colored) to branchpoint 1.17 (colored)

Sync with head.

Revision 1.17.10.2 / (download) - annotate - [select for diffs], Fri Nov 17 16:34:35 2006 UTC (16 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.17.10.1: +7 -7 lines
Diff to previous 1.17.10.1 (colored) to branchpoint 1.17 (colored)

Checkpoint work in progress.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Nov 8 20:18:32 2006 UTC (16 years, 3 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.17: +9 -6 lines
Diff to previous 1.17 (colored)

-SUS says that a successful call to setcontext(2) does not return. This
 implies that _UC_CPU must be set in the context passed. Check for this
 and return EINVAL if not; this gives a cheap test for corrupted
 ucontexts eg on a signal handler stack which would go unnoticed otherwise.
-Don't ckeck for NULL ucontext pointers explicitely. This is an error,
 except in the swapcontext() case where it can be easily caught in
 userland.

Revision 1.17.10.1 / (download) - annotate - [select for diffs], Sat Oct 21 15:20:48 2006 UTC (16 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.17: +8 -11 lines
Diff to previous 1.17 (colored)

Checkpoint work in progress on locking and per-LWP signals. Very much a
a work in progress and there is still a lot to do.

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:46:12 2006 UTC (16 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.16: +5 -2 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

sync with head

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:59:35 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9: +76 -3 lines
Diff to previous 1.9 (colored)

sync with head.

Revision 1.16.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:38:17 2006 UTC (16 years, 9 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.16: +5 -2 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with head.

Revision 1.16.10.1 / (download) - annotate - [select for diffs], Wed Apr 19 04:01:22 2006 UTC (16 years, 9 months ago) by elad
Branch: elad-kernelauth
Changes since 1.16: +5 -2 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

sync with head.

Revision 1.16.8.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:06:41 2006 UTC (16 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.16: +5 -2 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

sync with head.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Mar 15 09:09:47 2006 UTC (16 years, 10 months ago) by cube
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.16: +5 -2 lines
Diff to previous 1.16 (colored)

SA introduce a new case of siginfo structure.  Be ready for it when the
time comes to support SA in COMPAT_NETBSD32 (which is soon).

Revision 1.16 / (download) - annotate - [select for diffs], Sun Dec 11 12:20:22 2005 UTC (17 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base2, yamt-pdpolicy-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, elad-kernelauth
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

merge ktrace-lwp.

Revision 1.6.2.5 / (download) - annotate - [select for diffs], Thu Nov 10 14:01:21 2005 UTC (17 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6.2.4: +75 -5 lines
Diff to previous 1.6.2.4 (colored) next main 1.7 (colored)

Sync with HEAD. Here we go again...

Revision 1.15 / (download) - annotate - [select for diffs], Tue Sep 27 14:37:06 2005 UTC (17 years, 4 months ago) by chs
Branch: 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
Changes since 1.14: +3 -4 lines
Diff to previous 1.14 (colored)

make this compile again.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Sep 24 21:34:18 2005 UTC (17 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.13: +12 -4 lines
Diff to previous 1.13 (colored)

make the siginfo converters static and comment out the one that is not used.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Sep 24 17:29:47 2005 UTC (17 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)

include new compat siginfo header.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Sep 13 03:23:09 2005 UTC (17 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.11: +6 -2 lines
Diff to previous 1.11 (colored)

make this compile again.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Aug 19 04:24:38 2005 UTC (17 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.10: +3 -2 lines
Diff to previous 1.10 (colored)

Fix lossage I created with the 64 bit ino_t change.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Jul 23 22:03:45 2005 UTC (17 years, 6 months ago) by cube
Branch: MAIN
Changes since 1.9: +59 -2 lines
Diff to previous 1.9 (colored)

Implement __sigtimedwait(2).

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jun 2 10:27:43 2005 UTC (17 years, 8 months ago) by drochner
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

in siginfo conversion functions, declare the source operand as "const"

Revision 1.7.8.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:41 2005 UTC (17 years, 9 months ago) by kent
Branch: kent-audio2
Changes since 1.7: +5 -5 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

sync with -current

Revision 1.7.10.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:33:43 2005 UTC (17 years, 10 months ago) by yamt
Branch: yamt-km
Changes since 1.7: +5 -5 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.6.2.4 / (download) - annotate - [select for diffs], Fri Mar 4 16:40:20 2005 UTC (17 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6.2.3: +5 -5 lines
Diff to previous 1.6.2.3 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.8 / (download) - annotate - [select for diffs], Sat Feb 26 23:10:21 2005 UTC (17 years, 11 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, 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, netbsd-3, kent-audio2-base
Changes since 1.7: +5 -5 lines
Diff to previous 1.7 (colored)

nuke trailing whitespace

Revision 1.6.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:25:54 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6.2.2: +2 -2 lines
Diff to previous 1.6.2.2 (colored)

Fix the sync with head I botched.

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:43:58 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6.2.1: +0 -0 lines
Diff to previous 1.6.2.1 (colored)

Sync with HEAD.

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:44:21 2004 UTC (18 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6: +179 -2 lines
Diff to previous 1.6 (colored)

Sync with HEAD

Revision 1.7 / (download) - annotate - [select for diffs], Mon Oct 13 18:55:30 2003 UTC (19 years, 3 months ago) by fvdl
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, 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, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.6: +179 -2 lines
Diff to previous 1.6 (colored)

Implement 32bit get/setcontext entry points.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Jan 18 08:28:26 2003 UTC (20 years ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.5: +14 -13 lines
Diff to previous 1.5 (colored)

Merge the nathanw_sa branch.

Revision 1.1.4.6 / (download) - annotate - [select for diffs], Wed Dec 11 06:37:38 2002 UTC (20 years, 2 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.1.4.5: +20 -20 lines
Diff to previous 1.1.4.5 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Nov 27 16:44:03 2002 UTC (20 years, 2 months ago) by atatat
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.4: +20 -20 lines
Diff to previous 1.4 (colored)

Complete the rename: s/sa_/<compat>_sa_/g

Also tweak the darwin siginfo stuff to avoid the same type of collision.

Revision 1.1.4.5 / (download) - annotate - [select for diffs], Wed Nov 20 20:58:58 2002 UTC (20 years, 2 months ago) by petrov
Branch: nathanw_sa
Changes since 1.1.4.4: +5 -4 lines
Diff to previous 1.1.4.4 (colored) to branchpoint 1.1 (colored)

lwpify netbsd32___sigaction_sigtramp.

Revision 1.1.4.4 / (download) - annotate - [select for diffs], Mon Nov 11 22:07:55 2002 UTC (20 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.4.3: +61 -12 lines
Diff to previous 1.1.4.3 (colored) to branchpoint 1.1 (colored)

Catch up to -current

Revision 1.4 / (download) - annotate - [select for diffs], Wed Oct 23 13:16:45 2002 UTC (20 years, 3 months ago) by scw
Branch: MAIN
Changes since 1.3: +61 -12 lines
Diff to previous 1.3 (colored)

In preparation for COMPAT_NETBSD32 on SH-5:

 - The MD netbsd32_machdep.h header now defines the 32-bit pointer type
   instead of using u_int32_t everywhere,
 - The MD netbsd32_machdep.h header now defines a macro (at least on
   current implementations) which converts a 32-bit pointer to its 64-bit
   equivalent,
 - Change the MI code to utilise the above two items in all the right places,
 - Implement netbsd32___sigaction_sigtramp().

Tested on Sparc64 by Matt Green.

Revision 1.1.6.2 / (download) - annotate - [select for diffs], Fri Sep 6 08:43:24 2002 UTC (20 years, 5 months ago) by jdolecek
Branch: kqueue
Changes since 1.1.6.1: +6 -4 lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync kqueue branch with HEAD

Revision 1.1.4.3 / (download) - annotate - [select for diffs], Fri Aug 23 02:37:11 2002 UTC (20 years, 5 months ago) by petrov
Branch: nathanw_sa
Changes since 1.1.4.2: +11 -11 lines
Diff to previous 1.1.4.2 (colored) to branchpoint 1.1 (colored)

lwpification.

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Thu Aug 1 02:44:20 2002 UTC (20 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.4.1: +5 -3 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored)

Catch up to -current.

Revision 1.2.8.1 / (download) - annotate - [select for diffs], Mon Jul 15 10:34:59 2002 UTC (20 years, 6 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.2: +6 -4 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

catch up with -current.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jul 4 23:32:12 2002 UTC (20 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gehenna-devsw-base
Changes since 1.2: +6 -4 lines
Diff to previous 1.2 (colored)

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.1.6.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:51:57 2002 UTC (21 years, 1 month ago) by thorpej
Branch: kqueue
Changes since 1.1: +4 -1 lines
Diff to previous 1.1 (colored)

Sync kqueue branch with -current.

Revision 1.1.4.1 / (download) - annotate - [select for diffs], Wed Nov 14 19:13:17 2001 UTC (21 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1: +4 -1 lines
Diff to previous 1.1 (colored)

Catch up to -current.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Nov 13 02:09:07 2001 UTC (21 years, 2 months ago) by lukem
Branch: MAIN
CVS Tags: newlock-base, newlock, 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, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.1: +4 -1 lines
Diff to previous 1.1 (colored)

add RCSIDs (including regeneration of files as appropriate)

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sun Feb 11 19:14:16 2001 UTC (21 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.1.2.1: +160 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.1.2.1, Thu Feb 8 13:19:34 2001 UTC (22 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.1: +0 -160 lines
FILE REMOVED

file netbsd32_signal.c was added on branch thorpej_scsipi on 2001-02-11 19:14:16 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Thu Feb 8 13:19:34 2001 UTC (22 years ago) by mrg
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej_scsipi, nathanw_sa, kqueue

split up netbsd32_netbsd.c into 9 new files, leaving only those syscalls that
have no special interpretations besides simple syscall args conversion.

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




CVSweb <webmaster@jp.NetBSD.org>