The NetBSD Project

CVS log for src/sys/compat/linux/common/linux_misc_notalpha.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.115.10.1: download - view: text, markup, annotated - select for diffs
Wed Nov 4 23:21:39 2026 UTC (11 days, 7 hours ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.115: preferred, colored; next MAIN 1.116: preferred, colored
Changes since revision 1.115: +5 -2 lines
Sync with HEAD

Revision 1.116: download - view: text, markup, annotated - select for diffs
Sun Sep 20 13:43:51 2026 UTC (8 weeks ago) by riastradh
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102, HEAD
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +5 -2 lines
compat_linux, compat_linux32: Always zero syscall args on stack.

This is an attempt to systematically eliminate a class of stack
garbage bugs:

PR kern/60750: compat_linux: stack garbage mistakes

Revision 1.115: download - view: text, markup, annotated - select for diffs
Sun May 22 11:27:34 2022 UTC (4 years, 5 months ago) by andvar
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20250801, perseant-exfatfs-base-20240630, perseant-exfatfs-base, netbsd-11-base, netbsd-11-1-RELEASE, netbsd-11-0-RELEASE, netbsd-11-0-RC7, netbsd-11-0-RC6, netbsd-11-0-RC5, netbsd-11-0-RC4, netbsd-11-0-RC3, netbsd-11-0-RC2, netbsd-11-0-RC1, netbsd-11, netbsd-10-base, netbsd-10-2-RELEASE, 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
Branch point for: perseant-exfatfs
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +3 -3 lines
fix various small typos, mainly in comments.

Revision 1.114: download - view: text, markup, annotated - select for diffs
Thu Nov 25 03:08:04 2021 UTC (4 years, 11 months ago) by ryo
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +2 -4 lines
add support COMPAT_LINUX32 for aarch64

Revision 1.113: download - view: text, markup, annotated - select for diffs
Thu Sep 23 11:28:47 2021 UTC (5 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +3 -3 lines
remove stray char.

Revision 1.112: download - view: text, markup, annotated - select for diffs
Thu Sep 23 06:56:27 2021 UTC (5 years, 1 month ago) by ryo
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +18 -13 lines
add support COMPAT_LINUX for aarch64

Revision 1.110.12.1: download - view: text, markup, annotated - select for diffs
Mon Dec 14 14:38:04 2020 UTC (5 years, 11 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.110: preferred, colored; next MAIN 1.111: preferred, colored
Changes since revision 1.110: +18 -90 lines
Sync w/ HEAD.

Revision 1.111: download - view: text, markup, annotated - select for diffs
Fri Dec 4 00:26:16 2020 UTC (5 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-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
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +18 -90 lines
Rewrite linux_sys_alarm() to use dogetitimer() / dosetitimer(), rather
than fiddling with process timers directly.

Revision 1.109.20.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:00 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.109: preferred, colored; next MAIN 1.110: preferred, colored
Changes since revision 1.109: +3 -2 lines
Sync with HEAD

Revision 1.109.18.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:01:46 2018 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.109: preferred, colored; next MAIN 1.110: preferred, colored
Changes since revision 1.109: +3 -2 lines
Sync with HEAD, resolve a few conflicts

Revision 1.108.34.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Dec 14 12:07:54 2018 UTC (7 years, 11 months ago) by martin
Branches: netbsd-7-0
Diff to: previous 1.108.34.1: preferred, colored; next MAIN 1.108.34.2: preferred, colored
Changes since revision 1.108.34.1: +3 -2 lines
Additionally pull up following revision(s) (requested by maxv in ticket #1660):

	sys/compat/linux/common/linux_misc_notalpha.c: revision 1.110
	sys/kern/kern_time.c: revision 1.193

Improve my kern_time.c::rev1.192, systematically clear the buffers we get
from 'ptimer_pool' to prevent more leaks.

Revision 1.108.34.1.6.1: download - view: text, markup, annotated - select for diffs
Fri Dec 14 12:06:43 2018 UTC (7 years, 11 months ago) by martin
Branches: netbsd-7-1
Diff to: previous 1.108.34.1: preferred, colored; next MAIN 1.108.34.2: preferred, colored
Changes since revision 1.108.34.1: +3 -2 lines
Additionally pull up following revision(s) (requested by maxv in ticket #1660):

	sys/compat/linux/common/linux_misc_notalpha.c: revision 1.110
	sys/kern/kern_time.c: revision 1.193

Improve my kern_time.c::rev1.192, systematically clear the buffers we get
from 'ptimer_pool' to prevent more leaks.

Revision 1.108.34.2: download - view: text, markup, annotated - select for diffs
Fri Dec 14 12:04:26 2018 UTC (7 years, 11 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.108.34.1: preferred, colored; branchpoint 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108.34.1: +3 -2 lines
Additionally pull up following revision(s) (requested by maxv in ticket #1660):

	sys/compat/linux/common/linux_misc_notalpha.c: revision 1.110
	sys/kern/kern_time.c: revision 1.193

Improve my kern_time.c::rev1.192, systematically clear the buffers we get
from 'ptimer_pool' to prevent more leaks.

Revision 1.109.12.1: download - view: text, markup, annotated - select for diffs
Fri Nov 30 10:28:46 2018 UTC (7 years, 11 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Diff to: previous 1.109: preferred, colored; next MAIN 1.110: preferred, colored
Changes since revision 1.109: +3 -2 lines
Additionally pull up following revision(s) (requested by maxv in ticket #1110):

	sys/compat/linux/common/linux_misc_notalpha.c: revision 1.110
	sys/kern/kern_time.c: revision 1.193

Improve my kern_time.c::rev1.192, systematically clear the buffers we get
from 'ptimer_pool' to prevent more leaks.

Revision 1.110: download - view: text, markup, annotated - select for diffs
Thu Nov 29 17:40:12 2018 UTC (7 years, 11 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, netbsd-9-base, netbsd-9-5-RELEASE, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-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
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +3 -2 lines
Improve my kern_time.c::rev1.192, systematically clear the buffers we get
from 'ptimer_pool' to prevent more leaks.

Revision 1.108.18.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:55 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108: +2 -3 lines
update from HEAD

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

Revision 1.109: download - view: text, markup, annotated - select for diffs
Sun Nov 9 17:48:08 2014 UTC (12 years ago) by maxv
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, 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-base, 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, 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-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat, netbsd-8
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +2 -3 lines
Do not uselessly include <sys/malloc.h>.

Revision 1.106.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:52:49 2011 UTC (15 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.106: preferred, colored; next MAIN 1.107: preferred, colored
Changes since revision 1.106: +10 -50 lines
sync with head

Revision 1.106.2.2: download - view: text, markup, annotated - select for diffs
Sat Nov 6 08:08:25 2010 UTC (16 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.106.2.1: preferred, colored; branchpoint 1.106: preferred, colored; next MAIN 1.107: preferred, colored
Changes since revision 1.106.2.1: +10 -50 lines
Sync with HEAD.

Revision 1.108: download - view: text, markup, annotated - select for diffs
Tue Nov 2 18:14:05 2010 UTC (16 years ago) by chs
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, uebayasi-xip-base4, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-uvmplock-nbase, rmind-uvmplock-base, 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, netbsd-7-base, 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, matt-mips64-premerge-20101231, khorben-n900, jruoho-x86intr-base, jruoho-x86intr, 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, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: tls-maxphys, netbsd-7
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +10 -50 lines
implement the following syscalls for linux32:
  truncate64
  ftruncate64
  profil
  ioperm
  iopl
  setdomainname
  modify_ldt
  statfs64
  fstatfs64

note that iopl(), ioperm() and modify_ldt() just call
the respective 64-bit handlers, which don't do anything yet.

Revision 1.106.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:45:49 2010 UTC (16 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +4 -4 lines
Sync with HEAD.

Revision 1.101.2.4: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:08 2010 UTC (16 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.101.2.3: preferred, colored; branchpoint 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101.2.3: +4 -4 lines
sync with head.

Revision 1.107: download - view: text, markup, annotated - select for diffs
Wed Jul 7 01:30:35 2010 UTC (16 years, 4 months ago) by chs
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base3, uebayasi-xip-base2
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +4 -4 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.105.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:31:41 2009 UTC (17 years, 3 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.105: preferred, colored; next MAIN 1.106: preferred, colored
Changes since revision 1.105: +8 -6 lines
Sync with HEAD.

Revision 1.101.2.3: download - view: text, markup, annotated - select for diffs
Sat Jun 20 07:20:16 2009 UTC (17 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.101.2.2: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.2.2: +8 -6 lines
sync with head

Revision 1.106: download - view: text, markup, annotated - select for diffs
Tue Jun 2 13:00:23 2009 UTC (17 years, 5 months ago) by njoly
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +8 -6 lines
Make nice(2) return EPERM on error, not EACCES (from sys_setpriority).

Revision 1.101.2.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:22 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.101.2.1: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.2.1: +23 -21 lines
sync with head.

Revision 1.104.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:17:31 2009 UTC (17 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104: +3 -3 lines
Sync with HEAD.

Revision 1.100.6.4: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:44 2009 UTC (17 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.100.6.3: preferred, colored; branchpoint 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100.6.3: +1 -1 lines
Sync with HEAD.

Revision 1.105: download - view: text, markup, annotated - select for diffs
Mon Dec 29 22:21:49 2008 UTC (17 years, 10 months ago) by njoly
Branches: MAIN
CVS tags: 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.104: preferred, colored
Changes since revision 1.104: +3 -3 lines
Fix stime(2) inverted copyin arguments.

Revision 1.102.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:16:13 2008 UTC (18 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.102: preferred, colored; next MAIN 1.103: preferred, colored
Changes since revision 1.102: +22 -20 lines
Sync with HEAD.

Revision 1.102.2.4: download - view: text, markup, annotated - select for diffs
Fri Oct 10 22:29:46 2008 UTC (18 years, 1 month ago) by skrll
Branches: wrstuden-revivesa
Diff to: previous 1.102.2.3: preferred, colored; branchpoint 1.102: preferred, colored; next MAIN 1.103: preferred, colored
Changes since revision 1.102.2.3: +5 -3 lines
Sync with HEAD.

Revision 1.100.6.3: download - view: text, markup, annotated - select for diffs
Sun Oct 5 20:11:27 2008 UTC (18 years, 1 month ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.100.6.2: preferred, colored; branchpoint 1.100: preferred, colored
Changes since revision 1.100.6.2: +3 -1 lines
Sync with HEAD.

Revision 1.104: download - view: text, markup, annotated - select for diffs
Fri Oct 3 22:39:36 2008 UTC (18 years, 1 month ago) by njoly
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4, netbsd-5-base, 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, netbsd-5, 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, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +5 -3 lines
Compat linux/linux32 nice(2) fix. The syscall argument is an increment
to be added to the current nice value, not an absolute value to be
set.

Revision 1.100.6.2: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:40:15 2008 UTC (18 years, 1 month ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.100.6.1: preferred, colored; branchpoint 1.100: preferred, colored
Changes since revision 1.100.6.1: +17 -17 lines
Sync with HEAD.

Revision 1.102.2.3: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:36:45 2008 UTC (18 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.102.2.2: preferred, colored; branchpoint 1.102: preferred, colored
Changes since revision 1.102.2.2: +19 -19 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.102.4.1: download - view: text, markup, annotated - select for diffs
Fri Jul 18 16:37:31 2008 UTC (18 years, 4 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.102: preferred, colored; next MAIN 1.103: preferred, colored
Changes since revision 1.102: +19 -19 lines
Sync with head.

Revision 1.103: download - view: text, markup, annotated - select for diffs
Tue Jul 15 16:18:08 2008 UTC (18 years, 4 months ago) by christos
Branches: MAIN
CVS tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +19 -19 lines
Use more timespecs internally. From Alexander Shishkin and me.
Welcome to 4.99.70, 30 more to go for 100.

Revision 1.100.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:03 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +33 -26 lines
Sync with HEAD.

Revision 1.100.8.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:33:19 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100: +33 -26 lines
sync with head.

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

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

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

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

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

I think this reduction is very good thing.

Revision 1.102.2.1: download - view: text, markup, annotated - select for diffs
Sat May 10 23:48:56 2008 UTC (18 years, 6 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +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.102: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:43 2008 UTC (18 years, 6 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, simonb-wapbl, haad-dm
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.101: download - view: text, markup, annotated - select for diffs
Mon Apr 21 00:13:46 2008 UTC (18 years, 7 months ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +33 -19 lines
timer fixes for PR 37093:

- Fix serious concurrency problems, making the code MT and MP safe in
  the process.
- Don't allocate memory or inspect process state from hardclock().

Revision 1.95.2.4: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:27 2008 UTC (18 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.95.2.3: preferred, colored; branchpoint 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95.2.3: +9 -3 lines
Sync with HEAD.

Revision 1.74.2.8: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:41:25 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.74.2.7: preferred, colored; branchpoint 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74.2.7: +49 -63 lines
sync with head

Revision 1.94.8.3: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:51:12 2008 UTC (18 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.94.8.2: preferred, colored; branchpoint 1.94: preferred, colored; next MAIN 1.95: preferred, colored
Changes since revision 1.94.8.2: +49 -68 lines
sync with HEAD

Revision 1.98.4.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:52:37 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.98: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98: +48 -39 lines
Sync with HEAD

Revision 1.95.2.3: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:44:09 2007 UTC (18 years, 10 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.95.2.2: preferred, colored; branchpoint 1.95: preferred, colored
Changes since revision 1.95.2.2: +43 -63 lines
Sync with HEAD.

Revision 1.97.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:49:17 2007 UTC (18 years, 10 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.97: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97: +49 -63 lines
Sync with head.

Revision 1.100: download - view: text, markup, annotated - select for diffs
Wed Dec 26 13:48:53 2007 UTC (18 years, 10 months ago) by njoly
Branches: 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
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +9 -3 lines
Fix readdir syscall retval to return 1 (instead of getdents number of
byte read) on success.

Revision 1.99: download - view: text, markup, annotated - select for diffs
Thu Dec 20 23:02:55 2007 UTC (18 years, 11 months ago) by dsl
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +42 -39 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.94.6.4: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:37:02 2007 UTC (18 years, 11 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.94.6.3: preferred, colored; branchpoint 1.94: preferred, colored; next MAIN 1.95: preferred, colored
Changes since revision 1.94.6.3: +10 -33 lines
Sync with HEAD.

Revision 1.98: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:36:08 2007 UTC (18 years, 11 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.97: preferred, colored
Changes since revision 1.97: +10 -33 lines
ANSIfy most of the function definitions in sys/compat (but not ndis).
All by the magic of sed ...

Revision 1.95.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:18:49 2007 UTC (18 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.95.2.1: preferred, colored; branchpoint 1.95: preferred, colored
Changes since revision 1.95.2.1: +2 -7 lines
Sync with HEAD.

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

Revision 1.94.6.3: download - view: text, markup, annotated - select for diffs
Tue Nov 27 19:36:46 2007 UTC (18 years, 11 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.94.6.2: preferred, colored; branchpoint 1.94: preferred, colored
Changes since revision 1.94.6.2: +2 -7 lines
Sync with HEAD. amd64 Xen support needs testing.

Revision 1.97: download - view: text, markup, annotated - select for diffs
Sun Nov 25 00:35:26 2007 UTC (18 years, 11 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.96: preferred, colored
Changes since revision 1.96: +2 -7 lines
Refactor time modification checks and place them in the secmodel code.

okay christos@

Revision 1.95.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 19 00:47:28 2007 UTC (19 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +4 -4 lines
Sync with HEAD.

Revision 1.74.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 15 11:43:51 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.74.2.5: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.5: +4 -4 lines
sync with head.

Revision 1.94.12.2: download - view: text, markup, annotated - select for diffs
Tue Nov 13 16:00:37 2007 UTC (19 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.94.12.1: preferred, colored; branchpoint 1.94: preferred, colored; next MAIN 1.95: preferred, colored
Changes since revision 1.94.12.1: +2 -2 lines
Sync with HEAD

Revision 1.94.6.2: download - view: text, markup, annotated - select for diffs
Sun Nov 11 16:47:13 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.94.6.1: preferred, colored; branchpoint 1.94: preferred, colored
Changes since revision 1.94.6.1: +4 -4 lines
Sync with HEAD.

Revision 1.94.8.2: download - view: text, markup, annotated - select for diffs
Thu Nov 8 10:59:45 2007 UTC (19 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.94.8.1: preferred, colored; branchpoint 1.94: preferred, colored
Changes since revision 1.94.8.1: +4 -4 lines
sync with -HEAD

Revision 1.96: download - view: text, markup, annotated - select for diffs
Wed Nov 7 00:24:30 2007 UTC (19 years ago) by njoly
Branches: MAIN
CVS tags: bouyer-xenamd64-base2, bouyer-xenamd64-base
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +4 -4 lines
Remove remaining 64-bit compat linux syscalls linux_sys_xxx() (except
for ones without arguments), and replace them by their 32-bit
equivalent linux32_sys_xxxx().

Revision 1.94.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:24:58 2007 UTC (19 years ago) by matt
Branches: matt-armv6
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +4 -2 lines
sync with HEAD

Revision 1.84.2.1.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 29 00:45:12 2007 UTC (19 years ago) by wrstuden
Branches: wrstuden-fixsa
Diff to: previous 1.84.2.1: preferred, colored; next MAIN 1.84.2.2: preferred, colored
Changes since revision 1.84.2.1: +5 -3 lines
Catch up with 4.0 RC3

Revision 1.74.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:29:38 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.74.2.4: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.4: +4 -2 lines
sync with head.

Revision 1.94.6.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:43:58 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +4 -2 lines
Sync with HEAD.

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

Revision 1.94.12.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:36:58 2007 UTC (19 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +4 -2 lines
Sync with HEAD.

Revision 1.95: download - view: text, markup, annotated - select for diffs
Fri Oct 19 18:52:11 2007 UTC (19 years, 1 month ago) by njoly
Branches: MAIN
CVS tags: jmcneill-base
Branch point for: mjf-devfs
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +4 -2 lines
Add compat_linux and exec_linux_elf lkm support for amd64:
- Add needed COMPAT_OSSAUDIO to GENERIC.
- Add missing includes needed by linux_syscallargs.h.
- Add lkm building.

Revision 1.84.2.2: download - view: text, markup, annotated - select for diffs
Sun Oct 7 14:22:53 2007 UTC (19 years, 1 month ago) by pavel
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Diff to: previous 1.84.2.1: preferred, colored; branchpoint 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.2.1: +3 -1 lines
Pull up following revision(s) (requested by hauke in ticket #919):
	sys/compat/linux/common/linux_misc_notalpha.c: revision 1.89
avoid zerodivide.

Revision 1.74.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:32:24 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.74.2.3: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.3: +30 -69 lines
sync with head.

Revision 1.86.2.4: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:27:11 2007 UTC (19 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.86.2.3: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86.2.3: +3 -2 lines
Sync with head.

Revision 1.86.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:04:17 2007 UTC (19 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86: +30 -69 lines
Sync with head.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Mon Jul 9 21:10:46 2007 UTC (19 years, 4 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: matt-armv6, jmcneill-pm, bouyer-xenamd64
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +3 -3 lines
Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.86.2.3: download - view: text, markup, annotated - select for diffs
Sun Jul 1 21:50:37 2007 UTC (19 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.86.2.2: preferred, colored
Changes since revision 1.86.2.2: +3 -3 lines
Adapt to callout API change.

Revision 1.93: download - view: text, markup, annotated - select for diffs
Sat Jun 23 09:09:56 2007 UTC (19 years, 4 months ago) by dsl
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +3 -2 lines
These now need sys/prot.h

Revision 1.86.2.2: download - view: text, markup, annotated - select for diffs
Sun May 27 14:35:07 2007 UTC (19 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.86.2.1: preferred, colored
Changes since revision 1.86.2.1: +25 -65 lines
Sync with head.

Revision 1.85.2.4: download - view: text, markup, annotated - select for diffs
Thu May 17 13:41:14 2007 UTC (19 years, 6 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.85.2.3: preferred, colored; branchpoint 1.85: preferred, colored; next MAIN 1.86: preferred, colored
Changes since revision 1.85.2.3: +7 -17 lines
sync with head.

Revision 1.92: download - view: text, markup, annotated - select for diffs
Sat May 12 17:28:19 2007 UTC (19 years, 6 months ago) by dsl
Branches: MAIN
CVS tags: yamt-idlelwp-base8
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +7 -17 lines
Change the compat sys_[fl]utime code to not use the stackgap.

Revision 1.85.2.3: download - view: text, markup, annotated - select for diffs
Mon May 7 10:55:13 2007 UTC (19 years, 6 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.85.2.2: preferred, colored; branchpoint 1.85: preferred, colored
Changes since revision 1.85.2.2: +20 -50 lines
sync with head.

Revision 1.91: download - view: text, markup, annotated - select for diffs
Mon Apr 30 20:20:28 2007 UTC (19 years, 6 months ago) by dsl
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +3 -2 lines
Include extra header (vfs_syscalls.h).

Revision 1.90: download - view: text, markup, annotated - select for diffs
Mon Apr 30 14:05:47 2007 UTC (19 years, 6 months ago) by dsl
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +16 -46 lines
Rework compat stat() and statvfs() code so that it no longer uses the stackgap.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Mon Apr 23 00:13:14 2007 UTC (19 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +5 -3 lines
avoid zerodivide.

Revision 1.88: download - view: text, markup, annotated - select for diffs
Sun Apr 22 08:29:57 2007 UTC (19 years, 7 months ago) by dsl
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +2 -5 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.84.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 20 20:14:12 2007 UTC (19 years, 7 months ago) by bouyer
Branches: netbsd-4
CVS tags: netbsd-4-0-RC2, netbsd-4-0-RC1
Branch point for: wrstuden-fixsa
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +5 -5 lines
Pull up following revision(s) (requested by njoly in ticket #581):
	sys/compat/linux/common/linux_misc.c: revision 1.168
	sys/compat/linux/arch/amd64/syscalls.master: revision 1.18
	sys/compat/linux/common/linux_types.h: revision 1.25
	sys/compat/linux/arch/amd64/linux_machdep.h: revision 1.6
	sys/compat/linux/common/linux_misc_notalpha.c: revision 1.87
Fix compat linux statfs/fstatfs syscalls on amd64.
- Do not use statfs64/fstatfs64 as they have an extra size argument.
- Add full 64bit linux struct statfs support.

Revision 1.86.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 10 13:26:23 2007 UTC (19 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +5 -5 lines
Sync with head.

Revision 1.85.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 24 14:55:09 2007 UTC (19 years, 7 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.85.2.1: preferred, colored; branchpoint 1.85: preferred, colored
Changes since revision 1.85.2.1: +5 -5 lines
sync with head.

Revision 1.87: download - view: text, markup, annotated - select for diffs
Wed Mar 14 12:44:40 2007 UTC (19 years, 8 months ago) by njoly
Branches: MAIN
CVS tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +5 -5 lines
Fix compat linux statfs/fstatfs syscalls on amd64.
- Do not use statfs64/fstatfs64 as they have an extra size argument.
- Add full 64bit linux struct statfs support.

ok by manu

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

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

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

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

Revision 1.81.4.2: download - view: text, markup, annotated - select for diffs
Tue Jan 30 13:51:33 2007 UTC (19 years, 9 months ago) by ad
Branches: newlock2
Diff to: previous 1.81.4.1: preferred, colored; branchpoint 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81.4.1: +2 -3 lines
Remove support for SA. Ok core@.

Revision 1.74.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:38 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.74.2.1: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.1: +11 -23 lines
sync with head.

Revision 1.81.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:16:47 2006 UTC (19 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.81.6.1: preferred, colored; branchpoint 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81.6.1: +9 -8 lines
sync with head.

Revision 1.81.4.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:07 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +9 -20 lines
Sync with head.

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

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

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

Revision 1.82: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:30:48 2006 UTC (20 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +6 -18 lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.76.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:45:52 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +52 -34 lines
sync with head

Revision 1.77.2.3: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:43:29 2006 UTC (20 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.77.2.2: preferred, colored; branchpoint 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77.2.2: +6 -7 lines
sync with head

Revision 1.81: download - view: text, markup, annotated - select for diffs
Sun Jul 23 22:06:09 2006 UTC (20 years, 3 months ago) by ad
Branches: MAIN
CVS tags: 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, newlock2
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +6 -7 lines
Use the LWP cached credentials where sane.

Revision 1.77.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:46:18 2006 UTC (20 years, 4 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.77.2.1: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.2.1: +9 -6 lines
sync with head.

Revision 1.74.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:59:12 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +56 -37 lines
sync with head.

Revision 1.79.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 03:45:52 2006 UTC (20 years, 5 months ago) by chap
Branches: chap-midi
Diff to: previous 1.79: preferred, colored; next MAIN 1.80: preferred, colored
Changes since revision 1.79: +9 -6 lines
Sync with head.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Wed Jun 7 22:33:33 2006 UTC (20 years, 5 months ago) by kardel
Branches: MAIN
CVS tags: yamt-pdpolicy-base6, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +9 -6 lines
merge FreeBSD timecounters from branch simonb-timecounters
- struct timeval time is gone
  time.tv_sec -> time_second
- struct timeval mono_time is gone
  mono_time.tv_sec -> time_uptime
- access to time via
	{get,}{micro,nano,bin}time()
	get* versions are fast but less precise
- support NTP nanokernel implementation (NTP API 4)
- further reading:
  Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf
  NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html

Revision 1.76.6.3: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:35:51 2006 UTC (20 years, 5 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.76.6.2: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76.6.2: +37 -25 lines
Sync with head.

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

Revision 1.77.2.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:57:28 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +37 -25 lines
sync with head.

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

Revision 1.77.4.4: download - view: text, markup, annotated - select for diffs
Thu May 11 23:27:31 2006 UTC (20 years, 6 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.77.4.3: preferred, colored; branchpoint 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77.4.3: +26 -18 lines
sync with head

Revision 1.78: download - view: text, markup, annotated - select for diffs
Wed May 10 11:05:34 2006 UTC (20 years, 6 months ago) by yamt
Branches: MAIN
CVS tags: elad-kernelauth-base
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +26 -18 lines
don't allocate struct statvfs on stack as it's too large.
while i'm here, remove some unnecessary casts.

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

Approved by core.

Revision 1.76.6.2: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:38:13 2006 UTC (20 years, 6 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.76.6.1: preferred, colored
Changes since revision 1.76.6.1: +8 -4 lines
Sync with head.

Revision 1.77.4.2: download - view: text, markup, annotated - select for diffs
Fri Mar 10 14:28:52 2006 UTC (20 years, 8 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.77.4.1: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.4.1: +3 -3 lines
generic_authorize() -> kauth_authorize_generic().

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

Revision 1.76.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 15:38:59 2006 UTC (20 years, 9 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +8 -4 lines
sync with head.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Thu Feb 9 19:18:56 2006 UTC (20 years, 9 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
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +8 -4 lines
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

Revision 1.76.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 4 14:03:58 2006 UTC (20 years, 9 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +9 -6 lines
Adapt for timecounters: mostly use get*time() and use "time_second"
instead of "time.tv_sec".

Revision 1.76: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:20:19 2005 UTC (20 years, 11 months ago) by christos
Branches: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +4 -4 lines
merge ktrace-lwp.

Revision 1.69.2.8: download - view: text, markup, annotated - select for diffs
Sun Dec 11 10:28:46 2005 UTC (20 years, 11 months ago) by christos
Branches: ktrace-lwp
Diff to: previous 1.69.2.7: preferred, colored; branchpoint 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69.2.7: +6 -6 lines
Sync with head.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Mon Dec 5 00:16:34 2005 UTC (20 years, 11 months ago) by christos
Branches: MAIN
CVS tags: ktrace-lwp-base
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +6 -6 lines
- make settime take timespec.
- avoid wrapping of time in settime.
- pass struct proc down so that we can log a detailed message.

Revision 1.69.2.7: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:01:07 2005 UTC (21 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.69.2.6: preferred, colored; branchpoint 1.69: preferred, colored
Changes since revision 1.69.2.6: +12 -4 lines
Sync with HEAD. Here we go again...

Revision 1.74: download - view: text, markup, annotated - select for diffs
Tue May 3 16:26:28 2005 UTC (21 years, 6 months ago) by manu
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-lazymbuf
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +12 -4 lines
First work on COMPAT_LINUX/amd64
Process startup and dynamiclinking work, but processes hang due to
Linux arch_prctl(2) not being really supported yet.

Revision 1.72.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:40 2005 UTC (21 years, 6 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +4 -4 lines
sync with -current

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

Revision 1.69.2.6: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:40:02 2005 UTC (21 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.69.2.5: preferred, colored; branchpoint 1.69: preferred, colored
Changes since revision 1.69.2.5: +4 -4 lines
Sync with HEAD.

Hi Perry!

Revision 1.73: download - view: text, markup, annotated - select for diffs
Sat Feb 26 23:10:19 2005 UTC (21 years, 8 months ago) by perry
Branches: 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
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +4 -4 lines
nuke trailing whitespace

Revision 1.69.4.1: download - view: text, markup, annotated - select for diffs
Fri Nov 12 06:18:53 2004 UTC (22 years ago) by jmc
Branches: netbsd-2-0
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +9 -33 lines
Pullup rev 1.72 (requested by christos in ticket #950)

Prevent linux processes from losing their children and creating
tons of zombie processes.

Revision 1.69.2.5: download - view: text, markup, annotated - select for diffs
Tue Oct 19 15:56:43 2004 UTC (22 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.69.2.4: preferred, colored; branchpoint 1.69: preferred, colored
Changes since revision 1.69.2.4: +11 -33 lines
Sync with HEAD

Revision 1.72: download - view: text, markup, annotated - select for diffs
Thu Oct 7 19:30:28 2004 UTC (22 years, 1 month ago) by erh
Branches: MAIN
CVS tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +9 -33 lines
PR kern/27184: Have linux_sys_waitpid() call linux_sys_wait4() so the
  supported options can't get out of sync.  This add support for the
  linux __WCLONE and __WALL options (NetBSD version: WALTSIG and WALLSIG)
Add a diagnostic check to see if the one unhandled option (__WNOTHREAD) is
  specified.
This should prevent linux processes from losing their children and creating
  tons of zombie processes.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Fri Sep 24 13:10:46 2004 UTC (22 years, 1 month ago) by he
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +4 -2 lines
Since the implementation of bsd_to_linux_statfs64() is conditional,
also make the forward declaration conditional.  Fixes compile
problem for m68k ports.

Revision 1.69.2.4: download - view: text, markup, annotated - select for diffs
Fri Sep 24 10:53:18 2004 UTC (22 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.69.2.3: preferred, colored; branchpoint 1.69: preferred, colored
Changes since revision 1.69.2.3: +137 -2 lines
Sync with HEAD.

Revision 1.69.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:25:39 2004 UTC (22 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.69.2.2: preferred, colored; branchpoint 1.69: preferred, colored
Changes since revision 1.69.2.2: +3 -3 lines
Fix the sync with head I botched.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Mon Sep 20 18:41:07 2004 UTC (22 years, 2 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +137 -2 lines
implement support for Linux statfs64() syscall - 64bit variant of statfs()

Revision 1.69.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:43:43 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.69.2.1: preferred, colored; branchpoint 1.69: preferred, colored
Changes since revision 1.69.2.1: +1 -1 lines
Sync with HEAD.

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

Revision 1.69: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:29:31 2003 UTC (23 years, 4 months ago) by fvdl
Branches: MAIN
CVS tags: netbsd-2-0-base, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1
Branch point for: netbsd-2-0, ktrace-lwp
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +1 -1 lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

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

Bump the kernel rev up to 1.6V

Revision 1.67: download - view: text, markup, annotated - select for diffs
Wed Mar 5 18:46:11 2003 UTC (23 years, 8 months ago) by dsl
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +7 -51 lines
Reimplement linux_sys_setresgid() in terms of do_setresgid()

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sun Feb 23 23:36:35 2003 UTC (23 years, 8 months ago) by enami
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -2 lines
Remember the allocated ptimer object so that it won't leak.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Wed Feb 19 11:23:54 2003 UTC (23 years, 9 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +5 -2 lines
update emul alarm syscalls to recent timer changes

problem encountered by Luke Mewburn for linux emul, problem spot
found by Enami Tsugutomo

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sat Jan 18 08:02:54 2003 UTC (23 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +68 -40 lines
Merge the nathanw_sa branch.

Revision 1.63.6.1: download - view: text, markup, annotated - select for diffs
Wed Dec 18 01:05:51 2002 UTC (23 years, 11 months ago) by gmcgarry
Branches: gmcgarry_ucred
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +22 -23 lines
Merge pcred and ucred, and poolify.  TBD: check backward compatibility
and factor-out some higher-level functionality.

Revision 1.60.2.9: download - view: text, markup, annotated - select for diffs
Sat Oct 5 04:53:31 2002 UTC (24 years, 1 month ago) by gmcgarry
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.60.2.8: preferred, colored; branchpoint 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60.2.8: +16 -14 lines
Rework for new struct ptimers.

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

Revision 1.60.4.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:44:24 2002 UTC (24 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.60.4.1: preferred, colored; branchpoint 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60.4.1: +7 -7 lines
catch up with -current on kqueue branch

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

(Behold the Power of Ed)

Revision 1.60.2.6: download - view: text, markup, annotated - select for diffs
Wed Apr 17 00:05:10 2002 UTC (24 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.60.2.5: preferred, colored; branchpoint 1.60: preferred, colored
Changes since revision 1.60.2.5: +1 -1 lines
Catch up to -current.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Wed Apr 3 14:28:36 2002 UTC (24 years, 7 months ago) by tron
Branches: MAIN
CVS tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base
Branch point for: gmcgarry_ucred
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +3 -3 lines
Fix a cut and paste error in the emulation of getresgid(2): it returned
the effective user id as effective group id.

Revision 1.60.2.5: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:44:27 2002 UTC (24 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.60.2.4: preferred, colored; branchpoint 1.60: preferred, colored
Changes since revision 1.60.2.4: +6 -6 lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

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

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

Revision 1.60.2.4: download - view: text, markup, annotated - select for diffs
Thu Dec 6 09:32:54 2001 UTC (24 years, 11 months ago) by wdk
Branches: nathanw_sa
Diff to: previous 1.60.2.3: preferred, colored; branchpoint 1.60: preferred, colored
Changes since revision 1.60.2.3: +3 -2 lines
#include <sys/lwp.h> for Mips architectures.

Revision 1.60.2.3: download - view: text, markup, annotated - select for diffs
Sat Nov 17 01:16:09 2001 UTC (25 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.60.2.2: preferred, colored; branchpoint 1.60: preferred, colored
Changes since revision 1.60.2.2: +37 -18 lines
Reimplement linux_sys_alarm() in terms of the new timers.

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

Revision 1.61: download - view: text, markup, annotated - select for diffs
Tue Nov 13 02:08:55 2001 UTC (25 years ago) by lukem
Branches: MAIN
CVS tags: newlock-base, newlock, ifpoll-base
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +4 -1 lines
add RCSIDs (including regeneration of files as appropriate)

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

Revision 1.52.2.3: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:35:26 2001 UTC (25 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.52.2.2: preferred, colored; branchpoint 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.2.2: +1 -1 lines
Sync with HEAD

Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri Dec 22 22:58:58 2000 UTC (25 years, 10 months ago) by jdolecek
Branches: 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: nathanw_sa, kqueue
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +2 -2 lines
split off thread specific stuff from struct sigacts to struct sigctx, leaving
    only signal handler array sharable between threads
move other random signal stuff from struct proc to struct sigctx

This addresses kern/10981 by Matthew Orgass.

Revision 1.52.2.2: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:08:30 2000 UTC (25 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.52.2.1: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.2.1: +2 -2 lines
Sync with HEAD.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Fri Dec 1 12:28:33 2000 UTC (25 years, 11 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +2 -2 lines
add e_path (emulation path) to struct emul, which replaces emulation-specific
*_emul_path variables

change macros CHECK_ALT_{CREAT|EXIST} to use that, 'root' doesn't need
to be passed explicitly any more and *_CHECK_ALT_{CREAT|EXIST} are removed
change explicit emul_find() calls in probe functions to get the emulation
path from the checked exec switch entry's emulation

remove no longer needed header files

add e_flags and e_syscall to struct emul; these are unsed and empty for now

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

Revision 1.50.2.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 15:54:59 2000 UTC (26 years, 2 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +2 -2 lines
Pull up revision 1.58 (requested by simonb):
  More carefully check length of user-supplied data, in particular
  make sure we don't overrun the available stack gap in stack gap
  allocations.

Revision 1.53.4.2: download - view: text, markup, annotated - select for diffs
Wed Aug 30 03:59:20 2000 UTC (26 years, 2 months ago) by sommerfeld
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA
Diff to: previous 1.53.4.1: preferred, colored; branchpoint 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53.4.1: +2 -2 lines
Pull up:
syssrc/sys/compat/common/compat_util.c                  1.16
syssrc/sys/compat/hpux/hpux_file.c                      1.14
syssrc/sys/compat/ibcs2/ibcs2_misc.c                    1.52
syssrc/sys/compat/ibcs2/ibcs2_stat.c                    1.16
syssrc/sys/compat/linux/common/linux_file.c             1.29
syssrc/sys/compat/linux/common/linux_misc_notalpha.c    1.58
syssrc/sys/compat/svr4/svr4_stat.c                      1.40
syssrc/sys/compat/svr4/svr4_stream.c                   1.40,1.41

Approved by thorpej and jhawk.

Emulation stackgap sanity checks, based partly on fixes from
FreeBSD-SA00:42.

Change stackgap_alloc to bounds-check the allocation vs. the stack
gap, returning NULL if there isn't room for the allocation.

Change emul_find() to check for a NULL return from stackgap_alloc()
and convert that into ENAMETOOLONG.

Reorder various emulation syscalls so that all *_CHECK_ALT_{EXIST,CREAT}
calls (which turn into emul_find() under the covers come *after* small,
fixed-size stackgap_alloc() calls.

Clean up ibcs2 {get,set}groups.

Add range checks to svr4_stream.c

Revision 1.58: download - view: text, markup, annotated - select for diffs
Tue Aug 29 14:33:27 2000 UTC (26 years, 2 months ago) by sommerfeld
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -2 lines
Emulation stackgap sanity checks, based partly on fixes from
FreeBSD-SA00:42.

Change stackgap_alloc to bounds-check the allocation vs. the stack
gap, returning NULL if there isn't room for the allocation.

Change emul_find() to check for a NULL return from stackgap_alloc()
and convert that into ENAMETOOLONG.

Reorder various emulation syscalls so that all *_CHECK_ALT_{EXIST,CREAT}
calls (which turn into emul_find() under the covers come *after* small,
fixed-size stackgap_alloc() calls.

Clean up ibcs2 {get,set}groups.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Mon Aug 7 02:51:04 2000 UTC (26 years, 3 months ago) by itohy
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +2 -1 lines
Add #include <sys/proc.h>, since this file touches members of struct proc.

Revision 1.53.4.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 20:16:28 2000 UTC (26 years, 4 months ago) by thorpej
Branches: netbsd-1-5
CVS tags: netbsd-1-5-ALPHA2
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +5 -1 lines
Pull up rev. 1.56:
Add a comment about the hzto() return value.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:32:51 2000 UTC (26 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +5 -1 lines
Add a comment about the hzto() return value.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu Jun 29 02:40:39 2000 UTC (26 years, 4 months ago) by mrg
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +1 -3 lines
remove include of <vm/vm.h>

Revision 1.54: download - view: text, markup, annotated - select for diffs
Mon Jun 26 15:26:35 2000 UTC (26 years, 4 months ago) by mrg
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +1 -2 lines
remove redundant vm includes

Revision 1.53: download - view: text, markup, annotated - select for diffs
Thu Mar 23 06:48:17 2000 UTC (26 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +4 -3 lines
New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Aug 16 19:06:29 1999 UTC (27 years, 3 months ago) by tron
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase
Branch point for: thorpej_scsipi
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +33 -1 lines
Add emulation for Linux stime(2) required for MuPAD's X11 interface.

Revision 1.50.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 01:07:38 1999 UTC (27 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +102 -2 lines
Sync w/ -current.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Fri May 14 18:45:31 1999 UTC (27 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +102 -2 lines
Emulate the Linux {get,set}resgid(2) system calls.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue Feb 9 20:37:19 1999 UTC (27 years, 9 months ago) by christos
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: netbsd-1-4, chs-ubc2
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -2 lines
const poisoning.

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

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Oct 3 20:17:42 1998 UTC (28 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +8 -7 lines
Attempt to fix the mess.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Oct 1 04:05:55 1998 UTC (28 years, 1 month ago) by erh
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +164 -1061 lines
Wheeee!: 8-way split of compat/linux/linux_misc.c into common code and multi-architechture functions.

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

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

Revision 1.45: download - view: text, markup, annotated - select for diffs
Tue Sep 8 20:02:52 1998 UTC (28 years, 2 months ago) by rvb
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -1 lines
ufs_readdir no longer checks if vp->v_type != VDIR so
the individual emulated readdirs must check.
Since netbsd and freebsd return EINVAL for the error
and I don't know what the other platforms do, return
EINVAL for them too.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Aug 18 18:30:08 1998 UTC (28 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +13 -7 lines
Add some braces to make egcs happy.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Jul 7 00:40:27 1998 UTC (28 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -2 lines
Oops, fix typo, pointed out by Urban Boquist <boquist@cs.chalmers.se>.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Jul 2 23:26:58 1998 UTC (28 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +38 -4 lines
Implement the shrinking and no-change bits of the Linux mremap(2) system
call, provided by Urban Boquist <boquist@cs.chalmers.se> in PR #5693.

Add a comment about how one might implement the growing bit of mremap(2).

Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Fri May 8 08:43:58 1998 UTC (28 years, 6 months ago) by mycroft
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +2 -2 lines
Pull up 1.41, per request of mycroft.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Mar 24 09:47:30 1998 UTC (28 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -2 lines
Fix typo in utime().

Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Mar 3 13:44:48 1998 UTC (28 years, 8 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -3 lines
Only free cookiebuf when sure that the vop actually allocated it.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:23:03 1998 UTC (28 years, 8 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +5 -10 lines
Merge with Lite2 + local changes

Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Feb 20 18:09:04 1998 UTC (28 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +1 -34 lines
Linux's getsid(2) does in fact return a pid, not a pointer.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Feb 14 01:28:15 1998 UTC (28 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +10 -4 lines
Add a comment clearly describing that Linux's getsid(2) differs from
the XPG4.2 definition in that it returns the kernel virtual address
of the session structure, rather than the process group ID of the
session leader.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Oct 21 00:57:38 1997 UTC (29 years, 1 month ago) by fvdl
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +4 -3 lines
msync -> __msync13

Revision 1.31.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 14 10:21:35 1997 UTC (29 years, 1 month ago) by thorpej
Diff to: previous 1.31.2.1: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.2.1: +28 -2 lines
Update marc-pcmcia branch from trunk.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri Oct 10 22:16:10 1997 UTC (29 years, 1 month ago) by fvdl
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2 lines
Fix braino in my interpretation of the eof flag to VOP_READDIR.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri Oct 10 06:25:34 1997 UTC (29 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +19 -1 lines
Emulate mremap(2) by returning ENOMEM for now.  This should be sufficient for
realloc(3) and other uses.  From Matthias Scheler in PR 3920.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Oct 10 01:44:01 1997 UTC (29 years, 1 month ago) by fvdl
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +11 -3 lines
Signal error when getting a 64 bit offset cookie that can't be stored
in 32 bits. Provide an error message to the user, and return EINVAL.
Also, pay attention to the EOF flag from VOP_READDIR. Correct a
misspell in a panic message.

Revision 1.31.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 23 07:12:30 1997 UTC (29 years, 3 months ago) by thorpej
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +1 -2 lines
Update marc-pcmcia branch from trunk.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Aug 4 09:48:08 1997 UTC (29 years, 3 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +1 -2 lines
Fix "missing entries" bug when reading large directories: When reading a
directory and running out of space in the dest buffer, off should point to the
current entry (which was not saved) and not to the next.
I discovered this bug using linux and SunOS emulation over NFS, but seems to
affect other emulations as well.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Jul 27 01:16:39 1997 UTC (29 years, 3 months ago) by augustss
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -1 lines
Changes to the sudio system:
  - It is now possible to handle devices that want "looping" DMA,
    e.g. the SoundBlaster correctly.  The WSS and SB drivers use this.
    To do this several new methods were introduced in audio_hw_if.
  - Different silence handling (forced by previous change).
  - The audio driver can now be mmap()-ed, but due to problems in
    the VM system only for writing for now.
  - The OSS (Linux) audio emulation takes advantage of some of the
    new features.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Apr 7 14:13:16 1997 UTC (29 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +18 -1 lines
Add Linux nice() syscall.

Revision 1.27.4.2: download - view: text, markup, annotated - select for diffs
Tue Dec 10 08:24:49 1996 UTC (29 years, 11 months ago) by mycroft
Diff to: previous 1.27.4.1: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.4.1: +2 -2 lines
From trunk:
sys/dir.h -> sys/dirent.h

Revision 1.27.4.1: download - view: text, markup, annotated - select for diffs
Tue Dec 10 08:09:37 1996 UTC (29 years, 11 months ago) by mycroft
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +5 -5 lines
From trunk:
Implement setre[ug]id() for real.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat Aug 10 09:09:25 1996 UTC (30 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2 lines
sys/dir.h -> sys/dirent.h

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Jun 23 11:13:32 1996 UTC (30 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +5 -5 lines
Catch up with setre[ug]id() changes.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon May 20 01:59:21 1996 UTC (30 years, 6 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +53 -1 lines
Update list of Linux syscalls and implement the ones that are likely to be
used and doable.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Apr 4 23:56:01 1996 UTC (30 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +17 -9 lines
- Prototyping changes
- Fix bug that gcc -Wall found in linux_sys_getpgid()

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Apr 3 09:02:40 1996 UTC (30 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -3 lines
Add explicit return types.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Dec 18 14:35:08 1995 UTC (30 years, 11 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +22 -1 lines
msync, readv and writev were recently added to the Linux kernel; add them
to the emulation as well.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Dec 9 04:01:42 1995 UTC (30 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +1 -22 lines
We don't need a private version of fork() here any more.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Oct 9 11:24:05 1995 UTC (31 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +20 -7 lines
Use cookies for directory offset, mostly from Greg Hudson.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Oct 7 06:27:10 1995 UTC (31 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +89 -89 lines
Prefix names of system call implementation functions with `sys_'.

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

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Sep 13 21:51:14 1995 UTC (31 years, 2 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -4 lines
Update offset elsewhere in linux_getdents(); still emulate a bug in
Linux, but avoid endless loops.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Sep 7 21:49:01 1995 UTC (31 years, 2 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +47 -2 lines
Fix some bugs & typing problems.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Aug 23 20:17:28 1995 UTC (31 years, 3 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +100 -29 lines
Emulate some syscalls that appear in Linux 1.3: a select() with normal args,
getdents() and flock().

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Aug 21 23:15:51 1995 UTC (31 years, 3 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +27 -13 lines
Check for status NULL argument in wait4 and waitpid. From PR #1392
by Thomas EberHardt.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Aug 21 03:42:09 1995 UTC (31 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +75 -13 lines
Implement the old and older uname(2) calls.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Aug 16 04:50:17 1995 UTC (31 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -6 lines
If updating the timeval would make it negative, zero it instead.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Aug 16 04:29:49 1995 UTC (31 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +30 -10 lines
Allow bogus timevals, per Linux.

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

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

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Aug 13 17:51:40 1995 UTC (31 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +10 -2 lines
Linux doesn't allow select(2) to be restarted.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Jun 24 20:20:26 1995 UTC (31 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +9 -10 lines
Use compat_util.[ch].

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Jun 22 21:34:38 1995 UTC (31 years, 5 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -0 lines
* Changed to use generic ELF code from kern/exec_elf.c (which was taken
  from the svr4 exec code plus the linux compat mods)
* Include file change
* Add multicast sockopts (from John Brezak)

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Jun 11 21:51:38 1995 UTC (31 years, 5 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +38 -4 lines
Linux select() returns the amount of time left before a timeout would have
occured in the timeval structure. Emulate this behavior. Reported by
Theo de Raadt.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Jun 11 14:56:59 1995 UTC (31 years, 5 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +21 -1 lines
* Make Linux ELF binaries work. Lots of code duplication, but it will have to do
  for now.
* Add a sanity check in linux_uselib

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Jun 10 22:19:14 1995 UTC (31 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +13 -13 lines
Rename the dirent fields to match Linux.  Make sure the requested buffer
is no larger than MAXBSIZE.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Mar 22 05:24:47 1995 UTC (31 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -3 lines
Emulate the return value of times() better.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Mar 21 13:34:30 1995 UTC (31 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3 lines
Update to use timer{add,sub}().

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Mar 5 23:23:41 1995 UTC (31 years, 8 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +71 -8 lines
Added a few more system calls.
More consistent alternate root file semantics throughout.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Feb 28 23:25:07 1995 UTC (31 years, 8 months ago) by fvdl
Branches: MAIN
Added Linux compat code.

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>