The NetBSD Project

CVS log for src/sys/compat/linux32/common/linux32_time.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.37.30.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 21:04:02 2023 UTC (22 months, 3 weeks ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +8 -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.37.42.1: download - view: text, markup, annotated - select for diffs
Wed Aug 3 11:11:33 2022 UTC (2 years, 9 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +8 -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.40: download - view: text, markup, annotated - select for diffs
Sun Sep 19 23:51:37 2021 UTC (3 years, 7 months 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-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +69 -2 lines
Add the timerfd syscalls to COMPAT_LINUX and COMPAT_LINUX32.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Sep 19 23:01:50 2021 UTC (3 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +115 -7 lines
Add the POSIX timer syscalls (timer_create(), timer_settime(), timer_gettime(),
timer_getoverrun(), and timer_delete()) to COMPAT_LINUX and COMPAT_LINUX32.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Sep 7 11:43:04 2021 UTC (3 years, 8 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +8 -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.37.50.1: download - view: text, markup, annotated - select for diffs
Thu Dec 17 03:05:32 2020 UTC (4 years, 4 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +180 -7 lines
Add POSIX timer and timerfd support to COMPAT_LINUX32.

Revision 1.36.10.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:01:56 2012 UTC (12 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +8 -7 lines
Resync to 2012-11-19 00:00:00 UTC

Revision 1.35.8.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:20:45 2012 UTC (12 years, 6 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.35.8.1: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.8.1: +8 -7 lines
sync with head

Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Oct 2 01:44:28 2012 UTC (12 years, 7 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-base-20171202, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, 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, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-9-base, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, 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, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, khorben-n900, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, 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, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-futex, netbsd-9, netbsd-8
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +8 -7 lines
kernel portion of clock_nanosleep()

Revision 1.35.8.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:19 2012 UTC (13 years, 1 month ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -2 lines
sync with head

Revision 1.36: download - view: text, markup, annotated - select for diffs
Fri Nov 18 04:08:56 2011 UTC (13 years, 5 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base5, yamt-pagecache-base4, 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-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
Branch point for: tls-maxphys
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -2 lines
add sigtimedwait support

Revision 1.29.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:52:53 2011 UTC (14 years, 2 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.29.4.1: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.4.1: +11 -10 lines
sync with head

Revision 1.29.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:45:52 2010 UTC (14 years, 9 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.29.2.1: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.2.1: +9 -8 lines
Sync with HEAD.

Revision 1.19.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:09 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.19.2.2: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.2.2: +30 -31 lines
sync with head.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Jul 12 12:01:53 2010 UTC (14 years, 10 months ago) by njoly
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +7 -4 lines
Add CLOCK_MONOTONIC support for compat linux/linux32
clock_nanosleep(2).

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Jul 7 01:30:36 2010 UTC (14 years, 10 months ago) by chs
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +6 -8 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.29.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:15 2010 UTC (14 years, 11 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +21 -23 lines
sync with head

Revision 1.29.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:42:59 2010 UTC (15 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +21 -23 lines
Sync with HEAD.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Apr 8 15:59:37 2010 UTC (15 years, 1 month ago) by njoly
Branches: MAIN
CVS tags: uebayasi-xip-base1
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3 lines
Do not use 0 for pointers, but NULL.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Apr 8 11:51:13 2010 UTC (15 years, 1 month ago) by njoly
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +11 -12 lines
Add a new clock_gettime1() function that holds most of the
clock_gettime syscall code (except for the copyout). Adjust all
corresponding syscalls to make use of it.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Apr 3 17:20:05 2010 UTC (15 years, 1 month ago) by njoly
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +6 -5 lines
Move most clock_getres syscall code, except for coypout call, to a new
clock_getres1() function which can be used by emulations. Adjust all
clock_getres syscalls to now make of use it.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Mar 29 15:34:07 2010 UTC (15 years, 1 month ago) by njoly
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +7 -9 lines
Convert linux/linux32/netbsd32 clock_settime syscalls, to use the
common clock_settime1() function.

Revision 1.19.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:46:59 2009 UTC (15 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.19.2.1: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.2.1: +2 -4 lines
sync with head.

Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:31:42 2009 UTC (15 years, 9 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +2 -4 lines
Sync with HEAD.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Jul 21 18:50:43 2009 UTC (15 years, 9 months ago) by njoly
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, uebayasi-xip-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -4 lines
Kill unreachable return statement.

Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:24 2009 UTC (16 years ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +94 -33 lines
sync with head.

Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:17:32 2009 UTC (16 years, 3 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +70 -15 lines
Sync with HEAD.

Revision 1.16.6.4: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:45 2009 UTC (16 years, 3 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.16.6.3: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.6.3: +68 -13 lines
Sync with HEAD.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Jan 16 13:10:47 2009 UTC (16 years, 4 months ago) by njoly
Branches: MAIN
CVS tags: 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, jym-xensuspend-base
Branch point for: jym-xensuspend
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +7 -7 lines
Update some syscalls that now needs compat50 timeval structure.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Dec 29 22:21:49 2008 UTC (16 years, 4 months ago) by njoly
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -3 lines
Fix stime(2) inverted copyin arguments.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Dec 29 14:33:40 2008 UTC (16 years, 4 months ago) by njoly
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -3 lines
s/syscallcarg/syscallarg/ in comments.

Revision 1.19.8.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:13:57 2008 UTC (16 years, 5 months ago) by haad
Branches: haad-dm
Diff to: previous 1.19.8.1: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.8.1: +30 -8 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Dec 12 23:36:18 2008 UTC (16 years, 5 months ago) by njoly
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +35 -2 lines
Add clock_nanosleep syscall.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Dec 8 11:52:35 2008 UTC (16 years, 5 months ago) by njoly
Branches: MAIN
CVS tags: haad-nbase2, haad-dm-base2, haad-dm-base
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -8 lines
Remove unused timeval_to_clock_t function, superseeded by CONVTCK
macro.

Revision 1.21.4.1: download - view: text, markup, annotated - select for diffs
Thu Nov 20 03:03:05 2008 UTC (16 years, 5 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-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
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +28 -2 lines
Pull up following revision(s) (requested by njoly in ticket #81):
	sys/compat/linux/arch/mips/syscalls.master: revision 1.30
	sys/compat/linux/arch/m68k/syscalls.master: revision 1.63
	sys/compat/linux32/arch/amd64/syscalls.master: revision 1.39
	sys/compat/linux/arch/alpha/syscalls.master: revision 1.63
	sys/compat/linux/arch/powerpc/syscalls.master: revision 1.38
	sys/compat/linux32/common/linux32_time.c: revision 1.22
	sys/compat/linux/arch/amd64/syscalls.master: revision 1.25
	sys/compat/linux/arch/i386/syscalls.master: revision 1.94
	sys/compat/linux/arch/arm/syscalls.master: revision 1.36
	sys/compat/linux/common/linux_time.c: revision 1.26
Fix nanosleep(2) on 64-bit archs. Do not call native nanosleep
syscall, but rather a modified version the will take care of `struct
timespec' conversions.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Nov 19 18:36:04 2008 UTC (16 years, 5 months ago) by ad
Branches: MAIN
CVS tags: ad-audiomp2-base, ad-audiomp2
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -2 lines
Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Nov 12 18:07:41 2008 UTC (16 years, 6 months ago) by njoly
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +28 -2 lines
Fix nanosleep(2) on 64-bit archs. Do not call native nanosleep
syscall, but rather a modified version the will take care of `struct
timespec' conversions.

Revision 1.19.8.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:16:16 2008 UTC (16 years, 6 months ago) by haad
Branches: haad-dm
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +27 -21 lines
Sync with HEAD.

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

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

Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Sep 8 15:31:19 2008 UTC (16 years, 8 months ago) by christos
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, netbsd-5-base, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -3 lines
make this compile again.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Sep 8 11:29:42 2008 UTC (16 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +26 -21 lines
fix broken linux32_sys_times, copied from linux_sys_times.

Revision 1.16.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:04 2008 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.16.6.1: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.6.1: +102 -3 lines
Sync with HEAD.

Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:33:23 2008 UTC (17 years ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +4 -4 lines
sync with head.

Revision 1.19.4.2: download - view: text, markup, annotated - select for diffs
Wed May 14 01:35:08 2008 UTC (17 years ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.19.4.1: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.4.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.19.4.1: download - view: text, markup, annotated - select for diffs
Sat May 10 23:48:56 2008 UTC (17 years ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -2 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.19: download - view: text, markup, annotated - select for diffs
Thu Apr 24 18:39:23 2008 UTC (17 years ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, yamt-nfs-mp-base, 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: yamt-nfs-mp, wrstuden-revivesa, haad-dm
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -4 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.18: download - view: text, markup, annotated - select for diffs
Thu Apr 17 17:47:23 2008 UTC (17 years, 1 month ago) by njoly
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base
Branch point for: yamt-pf42
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +102 -3 lines
Add compat linux32 sys_clock_{getres,gettime,settime} syscalls.

Revision 1.16.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:33 2008 UTC (17 years, 1 month ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +11 -10 lines
Sync with HEAD.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Mar 27 19:06:51 2008 UTC (17 years, 1 month ago) by ad
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +11 -10 lines
Make rusage collection per-LWP and collate in the appropriate places.
cloned threads need a little bit more work but the locking needs to
be fixed first.

Revision 1.4.4.7: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:41:37 2008 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.4.6: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.4.6: +20 -38 lines
sync with head

Revision 1.13.8.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:51:23 2008 UTC (17 years, 4 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +20 -43 lines
sync with HEAD

Revision 1.15.4.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:52:53 2008 UTC (17 years, 4 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +20 -20 lines
Sync with HEAD

Revision 1.13.14.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:44:17 2007 UTC (17 years, 4 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.13.14.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.14.1: +20 -38 lines
Sync with HEAD.

Revision 1.14.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:49:24 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +20 -38 lines
Sync with head.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Dec 20 23:02:59 2007 UTC (17 years, 4 months ago) by dsl
Branches: MAIN
CVS tags: 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: mjf-devfs2
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +20 -20 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.13.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:37:10 2007 UTC (17 years, 5 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.13.6.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.6.1: +8 -26 lines
Sync with HEAD.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:36:12 2007 UTC (17 years, 5 months 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.14: preferred, colored
Changes since revision 1.14: +8 -26 lines
ANSIfy most of the function definitions in sys/compat (but not ndis).
All by the magic of sed ...

Revision 1.13.14.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:18:53 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -7 lines
Sync with HEAD.

Revision 1.4.4.6: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:28:43 2007 UTC (17 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.4.5: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.4.5: +2 -7 lines
sync with head

Revision 1.13.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 27 19:36:48 2007 UTC (17 years, 5 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -7 lines
Sync with HEAD. amd64 Xen support needs testing.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Nov 25 00:35:27 2007 UTC (17 years, 5 months ago) by elad
Branches: MAIN
CVS tags: vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base
Branch point for: vmlocking2
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -7 lines
Refactor time modification checks and place them in the secmodel code.

okay christos@

Revision 1.4.4.5: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:32:31 2007 UTC (17 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.4.4: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.4.4: +43 -53 lines
sync with head.

Revision 1.8.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:04:24 2007 UTC (17 years, 10 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +43 -53 lines
Sync with head.

Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Sun May 27 14:35:13 2007 UTC (17 years, 11 months ago) by ad
Branches: vmlocking
Diff to: previous 1.8.2.1: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.1: +33 -39 lines
Sync with head.

Revision 1.7.2.4: download - view: text, markup, annotated - select for diffs
Thu May 17 13:41:16 2007 UTC (18 years ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.7.2.3: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.2.3: +33 -37 lines
sync with head.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat May 12 20:24:54 2007 UTC (18 years ago) by dsl
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, vmlocking-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs, matt-armv6, jmcneill-pm
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +27 -24 lines
Get rusage directly, not via 64bit linux call and stackgap.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat May 12 17:28:19 2007 UTC (18 years ago) by dsl
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +8 -15 lines
Change the compat sys_[fl]utime code to not use the stackgap.

Revision 1.7.2.3: download - view: text, markup, annotated - select for diffs
Mon May 7 10:55:14 2007 UTC (18 years ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.7.2.2: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.2.2: +2 -4 lines
sync with head.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Apr 22 08:29:58 2007 UTC (18 years ago) by dsl
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -4 lines
Change the way that emulations locate files within the emulation root to
  avoid having to allocate space in the 'stackgap'
  - which is very LWP unfriendly.
The additional code for non-emulation namei() is trivial, the reduction for
  the emulations is massive.
The vnode for a processes emulation root is saved in the cwdi structure
  during process exec.
If the emulation root the TRYEMULROOT flag are set, namei() will do an initial
  search for absolute pathnames in the emulation root, if that fails it will
  retry from the normal root.
".." at the emulation root will always go to the real root, even in the middle
  of paths and when expanding symlinks.
Absolute symlinks found using absolute paths in the emulation root will be
  relative to the emulation root (so /usr/lib/xxx.so -> /lib/xxx.so links
  inside the emulation root don't need changing).
If the root of the emulation would be returned (for an emulation lookup), then
  the real root is returned instead (matching the behaviour of emul_lookup,
  but being a cheap comparison here) so that programs that scan "../.."
  looking for the root dircetory don't loop forever.
The target for symbolic links is no longer mangled (it used to get the
  CHECK_ALT_xxx() treatment, so could get /emul/xxx prepended).
CHECK_ALT_xxx() are no more. Most of the change is deleting them, and adding
  TRYEMULROOT to the flags to NDINIT().
A lot of the emulation system call stubs could now be deleted.

Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 10 13:26:25 2007 UTC (18 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +13 -17 lines
Sync with head.

Revision 1.8.6.2: download - view: text, markup, annotated - select for diffs
Thu Mar 29 19:27:39 2007 UTC (18 years, 1 month ago) by reinoud
Branches: reinoud-bufcleanup
Diff to: previous 1.8.6.1: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.6.1: +13 -17 lines
Pullup to -current

Revision 1.7.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 24 14:55:11 2007 UTC (18 years, 1 month ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.7.2.1: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.2.1: +13 -17 lines
sync with head.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Mar 18 21:38:32 2007 UTC (18 years, 2 months ago) by dsl
Branches: MAIN
CVS tags: thorpej-atomic-base, thorpej-atomic
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +13 -17 lines
Change all the NETBSD32PTR64(SCARG(uap, xxx))) to SCARG_P32(uap, xxx).

Revision 1.8.6.1: download - view: text, markup, annotated - select for diffs
Sun Mar 18 00:06:35 2007 UTC (18 years, 2 months ago) by reinoud
Branches: reinoud-bufcleanup
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
First attempt to bring branch in sync with HEAD

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Mar 16 22:21:41 2007 UTC (18 years, 2 months ago) by dsl
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
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.7.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:52:30 2007 UTC (18 years, 2 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +6 -6 lines
Sync with HEAD.

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

Revision 1.4.4.4: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:09:26 2007 UTC (18 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.4.3: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.4.3: +2 -3 lines
sync with head.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:21 2007 UTC (18 years, 3 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.6: preferred, colored
Changes since revision 1.6: +2 -3 lines
Merge newlock2 to head.

Revision 1.5.4.2: download - view: text, markup, annotated - select for diffs
Tue Jan 30 13:51:34 2007 UTC (18 years, 3 months ago) by ad
Branches: newlock2
Diff to: previous 1.5.4.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.4.1: +2 -3 lines
Remove support for SA. Ok core@.

Revision 1.4.4.3: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:42 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.4.2: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.4.2: +6 -5 lines
sync with head.

Revision 1.5.8.1: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:16:48 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +5 -4 lines
sync with head.

Revision 1.5.4.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:11 2006 UTC (18 years, 5 months ago) by ad
Branches: newlock2
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +5 -4 lines
Sync with head.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Nov 14 13:34:29 2006 UTC (18 years, 6 months ago) by elad
Branches: 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
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +5 -4 lines
Clean some KAUTH_GENERIC_ISSUSER usage in compat code.

Revision 1.5.6.2: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:46:04 2006 UTC (18 years, 8 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.5.6.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.6.1: +259 -0 lines
sync with head

Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:43:29 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.2: +5 -5 lines
sync with head

Revision 1.5.6.1
Sun Jul 23 22:06:09 2006 UTC (18 years, 9 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
FILE REMOVED
Changes since revision 1.5: +0 -259 lines
file linux32_time.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:46:04 +0000

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

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:46:18 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +3 -2 lines
sync with head.

Revision 1.4.4.2: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:59:27 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.4.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.4.1: +259 -0 lines
sync with head.

Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 03:46:29 2006 UTC (18 years, 11 months ago) by chap
Branches: chap-midi
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +3 -2 lines
Sync with head.

Revision 1.4.4.1
Tue Jun 13 16:23:57 2006 UTC (18 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
FILE REMOVED
Changes since revision 1.4: +0 -259 lines
file linux32_time.c was added on branch yamt-lazymbuf on 2006-06-21 14:59:27 +0000

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Jun 13 16:23:57 2006 UTC (18 years, 11 months ago) by skd
Branches: MAIN
CVS tags: yamt-pdpolicy-base6, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -2 lines
include kauth.h
workaround a gcc4 warning.

Revision 1.2.8.3: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:35:51 2006 UTC (18 years, 11 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.2.8.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.8.2: +3 -3 lines
Sync with head.

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

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

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun May 14 21:24:50 2006 UTC (19 years ago) by elad
Branches: MAIN
CVS tags: yamt-pdpolicy-base5, simonb-timecounters-base
Branch point for: chap-midi
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -1 lines
integrate kauth.

Revision 1.2.8.2: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:38:14 2006 UTC (19 years ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.2.8.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.8.1: +258 -0 lines
Sync with head.

Revision 1.2.4.2: download - view: text, markup, annotated - select for diffs
Fri Mar 10 14:28:52 2006 UTC (19 years, 2 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.2.4.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.4.1: +3 -3 lines
generic_authorize() -> kauth_authorize_generic().

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

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Wed Mar 1 09:28:10 2006 UTC (19 years, 2 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.1.2.2: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.2: +15 -5 lines
sync with head.

Revision 1.2.8.1
Fri Feb 24 06:39:47 2006 UTC (19 years, 2 months ago) by simonb
Branches: simonb-timecounters
FILE REMOVED
Changes since revision 1.2: +0 -258 lines
file linux32_time.c was added on branch simonb-timecounters on 2006-04-22 11:38:14 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Feb 24 06:39:47 2006 UTC (19 years, 2 months ago) by manu
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, 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, peter-altq, elad-kernelauth
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +13 -3 lines
Fix compat_linux32 time(2) emulation

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Sat Feb 18 15:39:02 2006 UTC (19 years, 2 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.1.2.1: preferred, colored
Changes since revision 1.1.2.1: +248 -0 lines
sync with head.

Revision 1.1.2.1
Thu Feb 9 19:18:57 2006 UTC (19 years, 3 months ago) by yamt
Branches: yamt-uio_vmspace
FILE REMOVED
Changes since revision 1.1: +0 -248 lines
file linux32_time.c was added on branch yamt-uio_vmspace on 2006-02-18 15:39:02 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Feb 9 19:18:57 2006 UTC (19 years, 3 months ago) by manu
Branches: MAIN
Branch point for: yamt-uio_vmspace
Add initial (but unfinished) COMPAT_LINUX32 for amd64. This is good enough so
that the i386 license manager part of amd64 version of Fluent works.

While I'm here, add SysV IPC to COMPAT_LINUX/amd64

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>