The NetBSD Project

CVS log for src/sys/compat/linux/common/linux_exec.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.124: download - view: text, markup, annotated - select for diffs
Sun May 3 01:06:56 2020 UTC (6 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20261102, perseant-exfatfs-base-20250801, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, 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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +4 -3 lines
Always clear FUTEX_PRIVATE_FLAG for Linux processes.  NetBSD-native futexes
exist in different namespace depending on FUTEX_PRIVATE_FLAG.  This appears
not to be the case in Linux, and some futex users will mix private and non-
private ops on the same futex object.  Provide a convenience wrapper that
puts this logic in one place witn a comment explaining why.

While here, move the Linux futex wrapper out of its own file and plop
it in linux_misc.c, which is where it lives in the linux32 module.

Revision 1.123: download - view: text, markup, annotated - select for diffs
Sun Apr 26 18:53:33 2020 UTC (6 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +13 -21 lines
Add a NetBSD native futex implementation, mostly written by riastradh@.
Map the COMPAT_LINUX futex calls to the native ones.

Revision 1.121.4.1: download - view: text, markup, annotated - select for diffs
Sat Apr 25 11:23:58 2020 UTC (6 years, 6 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.121: preferred, colored; next MAIN 1.122: preferred, colored
Changes since revision 1.121: +2 -5 lines
Sync with bouyer-xenpvh-base2 (HEAD)

Revision 1.122: download - view: text, markup, annotated - select for diffs
Fri Apr 24 03:22:06 2020 UTC (6 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: bouyer-xenpvh-base2
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +2 -5 lines
Overhaul the way LWP IDs are allocated.  Instead of each LWP having it's
own LWP ID space, LWP IDs came from the same number space as PIDs.  The
lead LWP of a process gets the PID as its LID.  If a multi-LWP process's
lead LWP exits, the PID persists for the process.

In addition to providing system-wide unique thread IDs, this also lets us
eliminate the per-process LWP radix tree, and some associated locks.

Remove the separate "global thread ID" map added previously; it is no longer
needed to provide this functionality.

Nudged in this direction by ad@ and chs@.

Revision 1.119.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:00 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.119.2.1: preferred, colored; branchpoint 1.119: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119.2.1: +7 -7 lines
Merge changes from current as of 20200406

Revision 1.120.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:21:00 2020 UTC (6 years, 8 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.120: preferred, colored; next MAIN 1.121: preferred, colored
Changes since revision 1.120: +7 -7 lines
Sync with head.

Revision 1.121: download - view: text, markup, annotated - select for diffs
Sat Feb 15 17:13:55 2020 UTC (6 years, 9 months ago) by ad
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base1, bouyer-xenpvh-base, ad-namecache-base3
Branch point for: bouyer-xenpvh
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +7 -7 lines
PR kern/54922: 9.99.45@20200202 panic: diagnostic assertion linux ldconfig triggers vpp != NULL in exit1()->radixtree.c line 674

Create an lwp_renumber() from the code in emulexec() and use in
linux_e_proc_exec() and linux_e_proc_fork() too.

Revision 1.119.2.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.119: preferred, colored
Changes since revision 1.119: +4 -2 lines
Sync with HEAD

Revision 1.118.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:46 2018 UTC (8 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.118.2.1: preferred, colored; branchpoint 1.118: preferred, colored; next MAIN 1.119: preferred, colored
Changes since revision 1.118.2.1: +4 -2 lines
Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.120: download - view: text, markup, annotated - select for diffs
Fri Aug 10 21:44:58 2018 UTC (8 years, 3 months ago) by pgoyette
Branches: MAIN
CVS tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, 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, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +4 -2 lines
Allow syscall_establish() to install new syscalls when the existing
entry-point is either sys_nomodule or sys_nosys.  Update the
makesyscalls.sh script to create a const array of bits to allow
syscall_disestablish() to properly restore the original entry-point.
Update all the initializers of struct emul to initialize the pointer
to the bit array struct emul.

XXX Regen of all files created by makesyscalls.sh will come soon,
XXX followed by a kernel version bump (since struct emul is being
XXX modified).

This commit should address PR kern/45781 and also removes the need
for the work-around for that PR in file

	sys/arch/usermode/modules/syscallemu/syscallemu.c

Revision 1.118.2.1: download - view: text, markup, annotated - select for diffs
Mon May 21 04:36:03 2018 UTC (8 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +2 -3 lines
Sync with HEAD

Revision 1.119: download - view: text, markup, annotated - select for diffs
Sun May 6 13:40:51 2018 UTC (8 years, 6 months ago) by kamil
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521
Branch point for: phil-wifi
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +2 -3 lines
Remove an element from struct emul: e_tracesig

e_tracesig used to be implemented for Darwin compat. Nowadays the Darwin
compatiblity layer is gone and there are no other users.

This functionality isn't used where it shall be used in the existing
codebase.

If we want to emulate debugging interfaces in compat layers we would need
to implement that from scratch anyway. We would need to be bug compatible
with other OSes too.

Proposed on tech-kern@.

Welcome to NetBSD 8.99.16!

Sponsored by <The NetBSD Foundation>

Revision 1.118: download - view: text, markup, annotated - select for diffs
Tue Jan 9 20:55:42 2018 UTC (8 years, 10 months ago) by maya
Branches: MAIN
CVS tags: pgoyette-compat-base, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +2 -3 lines
remove struct emul's e_fault.

It used to be used by COMPAT_IRIX for the purpose of overriding
uvm_fault (only implemented in MIPS), now removed.

Ride 8.99.12 version bump.

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

Revision 1.116.14.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-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Diff to: previous 1.116: preferred, colored; next MAIN 1.117: preferred, colored
Changes since revision 1.116: +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.117: 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, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, 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-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +2 -3 lines
Do not uselessly include <sys/malloc.h>.

Revision 1.115.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:17 2012 UTC (14 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.115: preferred, colored; next MAIN 1.116: preferred, colored
Changes since revision 1.115: +2 -3 lines
sync with head

Revision 1.115.6.1: download - view: text, markup, annotated - select for diffs
Fri Feb 24 09:11:38 2012 UTC (14 years, 8 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.115: preferred, colored; next MAIN 1.116: preferred, colored
Changes since revision 1.115: +2 -3 lines
sync to -current.

Revision 1.116: download - view: text, markup, annotated - select for diffs
Sun Feb 19 21:06:37 2012 UTC (14 years, 8 months ago) by rmind
Branches: MAIN
CVS tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, 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, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, netbsd-7
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +2 -3 lines
Remove COMPAT_SA / KERN_SA.  Welcome to 6.99.3!
Approved by core@.

Revision 1.115: download - view: text, markup, annotated - select for diffs
Thu Aug 18 02:21:02 2011 UTC (15 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-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, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +4 -4 lines
sizeof type -> sizeof *var

Revision 1.113.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:52:47 2011 UTC (15 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113: +62 -274 lines
sync with head

Revision 1.113.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:45:48 2010 UTC (16 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113: +62 -274 lines
Sync with HEAD.

Revision 1.104.2.4: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:07 2010 UTC (16 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.104.2.3: preferred, colored; branchpoint 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104.2.3: +62 -274 lines
sync with head.

Revision 1.114: 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-base4, uebayasi-xip-base3, uebayasi-xip-base2, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +62 -274 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.104.2.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:16 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.104.2.2: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.2: +30 -32 lines
sync with head

Revision 1.113: download - view: text, markup, annotated - select for diffs
Sun Oct 25 01:14:03 2009 UTC (17 years ago) by rmind
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +30 -32 lines
Initialise struct emul members by name (it is readable now and one can search
them in the tree).

Revision 1.110.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:18:56 2009 UTC (17 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.110: preferred, colored; next MAIN 1.111: preferred, colored
Changes since revision 1.110: +5 -12 lines
Sync with HEAD.

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

Revision 1.104.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.104.2.1: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.1: +15 -19 lines
sync with head.

Revision 1.107.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:35:07 2009 UTC (17 years, 6 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.107.2.1: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107.2.1: +5 -12 lines
Sync with HEAD.

Revision 1.112: download - view: text, markup, annotated - select for diffs
Sun Mar 15 15:55:51 2009 UTC (17 years, 8 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jymxensuspend-base, jym-xensuspend-base
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +3 -6 lines
ansify function definitions

Revision 1.111: download - view: text, markup, annotated - select for diffs
Sat Mar 14 21:04:18 2009 UTC (17 years, 8 months ago) by dsl
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +4 -8 lines
ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.

Revision 1.107.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.107: preferred, colored
Changes since revision 1.107: +10 -11 lines
Sync with HEAD.

Revision 1.100.12.2: 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.12.1: preferred, colored; branchpoint 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100.12.1: +10 -7 lines
Sync with HEAD.

Revision 1.110: download - view: text, markup, annotated - select for diffs
Wed Dec 17 20:51:33 2008 UTC (17 years, 11 months ago) by cegger
Branches: MAIN
CVS tags: nick-hppapmap-base2, mjf-devfs2-base
Branch point for: jym-xensuspend
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +8 -8 lines
kill MALLOC and FREE macros.

Revision 1.105.6.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:13:56 2008 UTC (17 years, 11 months ago) by haad
Branches: haad-dm
Diff to: previous 1.105.6.1: preferred, colored; branchpoint 1.105: preferred, colored; next MAIN 1.106: preferred, colored
Changes since revision 1.105.6.1: +5 -3 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.109: download - view: text, markup, annotated - select for diffs
Wed Nov 19 18:36:03 2008 UTC (18 years ago) by ad
Branches: MAIN
CVS tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +3 -3 lines
Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

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

Revision 1.108: download - view: text, markup, annotated - select for diffs
Tue Oct 28 11:42:30 2008 UTC (18 years ago) by jmcneill
Branches: MAIN
CVS tags: 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
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +3 -4 lines
Only call release_futexes if LINUX_NPTL

Revision 1.107: download - view: text, markup, annotated - select for diffs
Sun Oct 26 16:38:22 2008 UTC (18 years ago) by christos
Branches: MAIN
Branch point for: nick-hppapmap
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +5 -2 lines
futex support fixes from FreeBSD via cube+pengo.

Revision 1.105.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.105: preferred, colored
Changes since revision 1.105: +3 -2 lines
Sync with HEAD.

Revision 1.106: download - view: text, markup, annotated - select for diffs
Wed Oct 15 06:51:19 2008 UTC (18 years, 1 month ago) by wrstuden
Branches: MAIN
CVS tags: matt-mips64-base2, haad-dm-base1
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +3 -2 lines
Merge wrstuden-revivesa into HEAD.

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

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

Revision 1.104.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.104: preferred, colored
Changes since revision 1.104: +2 -9 lines
sync with head.

Revision 1.105.2.2: download - view: text, markup, annotated - select for diffs
Wed May 14 01:35:04 2008 UTC (18 years, 6 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.105.2.1: preferred, colored; branchpoint 1.105: preferred, colored; next MAIN 1.106: preferred, colored
Changes since revision 1.105.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.105.2.1: download - view: text, markup, annotated - select for diffs
Sat May 10 23:48:55 2008 UTC (18 years, 6 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +4 -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.105: 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-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, haad-dm
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.104: download - view: text, markup, annotated - select for diffs
Thu Apr 24 15:35:27 2008 UTC (18 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +12 -11 lines
Network protocol interrupts can now block on locks, so merge the globals
proclist_mutex and proclist_lock into a single adaptive mutex (proc_lock).
Implications:

- Inspecting process state requires thread context, so signals can no longer
  be sent from a hardware interrupt handler. Signal activity must be
  deferred to a soft interrupt or kthread.

- As the proc state locking is simplified, it's now safe to take exit()
  and wait() out from under kernel_lock.

- The system spends less time at IPL_SCHED, and there is less lock activity.

Revision 1.103: download - view: text, markup, annotated - select for diffs
Wed Apr 23 12:50:53 2008 UTC (18 years, 6 months ago) by ad
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +14 -4 lines
Sprinkle locking.

Revision 1.102: download - view: text, markup, annotated - select for diffs
Fri Apr 11 16:47:50 2008 UTC (18 years, 7 months ago) by njoly
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base
Branch point for: yamt-pf42
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +4 -3 lines
Under NPTL emulation, do not reparent all members of a thread group,
but only the processes that emulate threads (with LINUX_CLONE_THREAD
set).

This fix a problem for child processes that share address space with
the parent. At exit, the child will die silently, leaving the parent
waiting indefinitely for its end ...

Revision 1.101: download - view: text, markup, annotated - select for diffs
Tue Apr 8 20:25:00 2008 UTC (18 years, 7 months ago) by njoly
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +3 -9 lines
Cleanup unneeded LINUX_NPTL ifdef/endif.

Revision 1.77.2.7: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:41:22 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.77.2.6: preferred, colored; branchpoint 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77.2.6: +5 -9 lines
sync with head

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

Revision 1.97.2.3: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:44:05 2007 UTC (18 years, 10 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.97.2.2: preferred, colored; branchpoint 1.97: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97.2.2: +5 -9 lines
Sync with HEAD.

Revision 1.98.2.2: download - view: text, markup, annotated - select for diffs
Wed Dec 26 21:38:59 2007 UTC (18 years, 10 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.98.2.1: preferred, colored; branchpoint 1.98: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98.2.1: +5 -9 lines
Sync with head.

Revision 1.95.6.3: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:36:58 2007 UTC (18 years, 11 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.95.6.2: preferred, colored; branchpoint 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95.6.2: +9 -13 lines
Sync with HEAD.

Revision 1.100: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:36:06 2007 UTC (18 years, 11 months ago) by dsl
Branches: MAIN
CVS tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, 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, jmcneill-pm-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, ad-socklock-base1
Branch point for: mjf-devfs2
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +5 -9 lines
ANSIfy most of the function definitions in sys/compat (but not ndis).
All by the magic of sed ...

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

Revision 1.98.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 17:56:47 2007 UTC (18 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +6 -6 lines
Sync with head.

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

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

Revision 1.95.6.2: download - view: text, markup, annotated - select for diffs
Wed Nov 21 21:53:54 2007 UTC (18 years, 11 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.95.6.1: preferred, colored; branchpoint 1.95: preferred, colored
Changes since revision 1.95.6.1: +2 -26 lines
Sync with HEAD.

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

Revision 1.95.12.2: download - view: text, markup, annotated - select for diffs
Sun Nov 18 19:35:11 2007 UTC (19 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.95.12.1: preferred, colored; branchpoint 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95.12.1: +0 -24 lines
Sync with HEAD

Revision 1.98: download - view: text, markup, annotated - select for diffs
Fri Nov 16 12:51:56 2007 UTC (19 years ago) by njoly
Branches: MAIN
CVS tags: vmlocking2-base1, vmlocking-nbase, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +2 -26 lines
Cleanup. Remove a few linux syscalls definitions, now identical to
native ones (with stackgap and ALT_CHECK_xxx removal). No functional
changes expected.

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

Revision 1.77.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:29:35 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.77.2.4: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.2.4: +5 -3 lines
sync with head.

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

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

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

Revision 1.94.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:16:59 2007 UTC (19 years ago) by ad
Branches: vmlocking
Diff to: previous 1.94.2.1: preferred, colored; branchpoint 1.94: preferred, colored; next MAIN 1.95: preferred, colored
Changes since revision 1.94.2.1: +3 -3 lines
Sync with head.

Revision 1.97: download - view: text, markup, annotated - select for diffs
Fri Oct 19 18:52:10 2007 UTC (19 years, 1 month ago) by njoly
Branches: MAIN
CVS tags: jmcneill-base
Branch point for: mjf-devfs
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +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.96: download - view: text, markup, annotated - select for diffs
Fri Oct 19 12:16:38 2007 UTC (19 years, 1 month ago) by ad
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +3 -3 lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.77.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:32:21 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.77.2.3: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.2.3: +5 -10 lines
sync with head.

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

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

Revision 1.91.2.3: download - view: text, markup, annotated - select for diffs
Mon May 7 10:55:12 2007 UTC (19 years, 6 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.91.2.2: preferred, colored; next MAIN 1.92: preferred, colored
Changes since revision 1.91.2.2: +2 -7 lines
sync with head.

Revision 1.95: 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
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, vmlocking-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: matt-armv6, jmcneill-pm, bouyer-xenamd64
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +2 -7 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.91.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:52:26 2007 UTC (19 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.91.2.1: preferred, colored
Changes since revision 1.91.2.1: +6 -6 lines
Sync with HEAD.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Fri Mar 9 14:11:28 2007 UTC (19 years, 8 months ago) by ad
Branches: MAIN
CVS tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +4 -4 lines
- Make the proclist_lock a mutex. The write:read ratio is unfavourable,
  and mutexes are cheaper use than RW locks.
- LOCK_ASSERT -> KASSERT in some places.
- Hold proclist_lock/kernel_lock longer in a couple of places.

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

Revision 1.91.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:53:37 2007 UTC (19 years, 8 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +3 -2 lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

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

Revision 1.92: download - view: text, markup, annotated - select for diffs
Mon Feb 19 15:10:03 2007 UTC (19 years, 9 months ago) by cube
Branches: MAIN
CVS tags: ad-audiomp-base, ad-audiomp
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +3 -2 lines
Introduce a new member to struct emul, e_startlwp, to be used by
sys__lwp_create.  It allows using the said syscall under COMPAT_NETBSD32.

The libpthread regression tests now pass on amd64 and sparc64.

Revision 1.91: download - view: text, markup, annotated - select for diffs
Thu Feb 15 15:13:33 2007 UTC (19 years, 9 months ago) by ad
Branches: MAIN
Branch point for: yamt-idlelwp
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +16 -19 lines
Fix Linux compat on amd64.

Revision 1.90: 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
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +3 -4 lines
Merge newlock2 to head.

Revision 1.86.2.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.86.2.1: preferred, colored; branchpoint 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86.2.1: +3 -4 lines
Remove support for SA. Ok core@.

Revision 1.77.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.77.2.1: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.2.1: +164 -69 lines
sync with head.

Revision 1.86.4.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.86.4.1: preferred, colored; branchpoint 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86.4.1: +3 -3 lines
sync with head.

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

Revision 1.89: 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, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +3 -3 lines
__unused removal on arguments; approved by core.

Revision 1.86.4.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.86: preferred, colored
Changes since revision 1.86: +4 -5 lines
sync with head

Revision 1.88: 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.87: preferred, colored
Changes since revision 1.87: +3 -5 lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.87: download - view: text, markup, annotated - select for diffs
Fri Sep 29 14:24:55 2006 UTC (20 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +3 -2 lines
Coverity CID 2990: fix memory leak (from Arnaud Lacombe)

Revision 1.83.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.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83: +162 -66 lines
sync with head

Revision 1.83.8.2: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:23:41 2006 UTC (20 years, 2 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.83.8.1: preferred, colored; branchpoint 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83.8.1: +147 -67 lines
sync with head.

Revision 1.86: download - view: text, markup, annotated - select for diffs
Sat Sep 2 06:52:13 2006 UTC (20 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +3 -2 lines
fix incomplete initializer

Revision 1.85: download - view: text, markup, annotated - select for diffs
Wed Aug 23 19:49:09 2006 UTC (20 years, 2 months ago) by manu
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +146 -67 lines
1) Complete Linux exit_group() emulation
Members of the thread group must die without reporting to the parent and
without going to zombie stage. We do that by reparenting to init before
catching a SIGKILL. The parent will not see the child death.

The thread group leader must report the exit status, even if it exits
because of another thread calling exit_group(). We do that by storing the
exit status in struct linux_emuldata_shared, and the exit hook has the
duty of setting struct proc's p_xstat for the thread group leader.

2) For exit/fork/exec hooks, move the NPTL specific code to separate functions
that are shared between COMPAT_LINUX and COMPAT_LINUX32

3) Fix LINUX_CLONE_PARENT_SETTID semantics

Revision 1.83.16.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:49:13 2006 UTC (20 years, 4 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83: +21 -5 lines
Merge from HEAD.

Revision 1.83.8.1: 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.83: preferred, colored
Changes since revision 1.83: +21 -5 lines
sync with head.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Sun Jun 25 16:15:39 2006 UTC (20 years, 4 months ago) by manu
Branches: MAIN
CVS tags: yamt-pdpolicy-base7, yamt-pdpolicy-base6, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +21 -5 lines
- Complete exit_group() implementation. We now maintain a list of Linux
threads in a processes and kill them properly. The code is a bit too
complicated, but I could not find a simplier way of dealing with it

- Change getpid() and getppid() semantics to match what Linux does,
and implement gettid(). In the Linux kernel, threads are implemnted
as plain old processes. A thread group is just a set of processes,
with the parent called leader. Thread ID, which are returned by gettid(),
are just the PID of the plain old processes, and getpid() returns the
PID of the thread group leader.

- Remove struct linux32_emuldata. COMPAT_LINUX32 uses a lot of COMPAT_LINUX
code, where a struct linux_emuldata is assumed. By having distinct emuldata
structure with different sizes and layouts, we caused kernel memory
corruptions.

- Fix setprioriry() and getpriority()

Thanks to Nicolas Joly for tracking down the problem and providing me the
hardware to fix them.

Revision 1.77.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.77: preferred, colored
Changes since revision 1.77: +44 -15 lines
sync with head.

Revision 1.83: 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
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, peter-altq-base, peter-altq, gdamore-uart-base, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb, gdamore-uart
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +3 -3 lines
merge ktrace-lwp.

Revision 1.64.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.64.2.7: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64.2.7: +3 -3 lines
Sync with head.

Revision 1.81.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 29 21:23:05 2005 UTC (20 years, 11 months ago) by yamt
Branches: yamt-readahead
Diff to: previous 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81: +3 -3 lines
sync with head.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Wed Nov 23 22:38:46 2005 UTC (20 years, 11 months ago) by manu
Branches: MAIN
CVS tags: yamt-readahead-base3, ktrace-lwp-base
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +3 -3 lines
To awake all processes sleeping on a futex, set maximum value to 0x7fffffff
instead of -1 (0xffffffff): the value is signed...

Revision 1.64.2.7: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:01:06 2005 UTC (21 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.64.2.6: preferred, colored
Changes since revision 1.64.2.6: +122 -5 lines
Sync with HEAD. Here we go again...

Revision 1.81: download - view: text, markup, annotated - select for diffs
Sat Nov 5 08:07:44 2005 UTC (21 years ago) by manu
Branches: MAIN
CVS tags: yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base2, yamt-readahead-base
Branch point for: yamt-readahead
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +3 -3 lines
Implement more of Linux futex(2)

Revision 1.80: download - view: text, markup, annotated - select for diffs
Sat Nov 5 07:26:45 2005 UTC (21 years ago) by manu
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +4 -2 lines
Fix build when LINUX_NPTL is not defined

Revision 1.79: download - view: text, markup, annotated - select for diffs
Sat Nov 5 00:47:26 2005 UTC (21 years ago) by manu
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +29 -10 lines
Instead of ifdef'ing __amd64__ all the Linux NPTL stuff, introduce an
ifdef LINUX_NPTL.
Also implement SETTLS flag to Linux clone()

Revision 1.78: download - view: text, markup, annotated - select for diffs
Fri Nov 4 16:54:11 2005 UTC (21 years ago) by manu
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +14 -6 lines
Implement Linux futex ang gettid

Revision 1.72.10.2: download - view: text, markup, annotated - select for diffs
Sun Sep 18 20:12:28 2005 UTC (21 years, 2 months ago) by tron
Branches: netbsd-3
CVS tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Diff to: previous 1.72.10.1: preferred, colored; branchpoint 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.10.1: +1 -1 lines
Pull up following revision(s) (requested by fvdl in ticket #798):
	sys/compat/linux/common/linux_exec.c: revision 1.74
	sys/compat/hpux/hpux_exec.c: revision 1.47
s/uvm_map_defaultaddr/uvm_default_mapaddr/ HI FRANK!

Revision 1.72.10.1: download - view: text, markup, annotated - select for diffs
Sun Sep 18 20:09:51 2005 UTC (21 years, 2 months ago) by tron
Branches: netbsd-3
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +6 -2 lines
Pull up following revision(s) (requested by fvdl in ticket #798):
	sys/compat/sunos/sunos_exec.c: revision 1.47
	sys/compat/pecoff/pecoff_emul.c: revision 1.11
	sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.45
	sys/arch/amd64/amd64/netbsd32_machdep.c: revision 1.12
	sys/sys/proc.h: revision 1.198
	sys/compat/mach/mach_exec.c: revision 1.56
	sys/compat/freebsd/freebsd_exec.c: revision 1.27
	sys/arch/sparc64/include/vmparam.h: revision 1.27
	sys/kern/kern_resource.c: revision 1.91
	sys/compat/netbsd32/netbsd32_netbsd.c: revision 1.88
	sys/compat/osf1/osf1_exec.c: revision 1.39
	sys/compat/svr4_32/svr4_32_resource.c: revision 1.5
	sys/compat/ultrix/ultrix_misc.c: revision 1.99
	sys/compat/svr4_32/svr4_32_exec.h: revision 1.9
	sys/kern/exec_elf32.c: revision 1.103
	sys/compat/aoutm68k/aoutm68k_exec.c: revision 1.19
	sys/compat/sunos32/sunos32_exec.c: revision 1.20
	sys/compat/hpux/hpux_exec.c: revision 1.46
	sys/compat/darwin/darwin_exec.c: revision 1.40
	sys/kern/sysv_shm.c: revision 1.83
	sys/uvm/uvm_extern.h: revision 1.99
	sys/uvm/uvm_mmap.c: revision 1.89
	sys/kern/kern_exec.c: revision 1.195
	sys/compat/netbsd32/netbsd32.h: revision 1.31
	sys/arch/sparc64/sparc64/svr4_32_machdep.c: revision 1.20
	sys/compat/svr4/svr4_exec.c: revision 1.56
	sys/compat/irix/irix_exec.c: revision 1.41
	sys/compat/ibcs2/ibcs2_exec.c: revision 1.63
	sys/compat/svr4_32/svr4_32_exec.c: revision 1.16
	sys/arch/amd64/include/vmparam.h: revision 1.8
	sys/compat/linux/common/linux_exec.c: revision 1.73
Fix some things regarding COMPAT_NETBSD32 and limits/VM addresses.
* For sparc64 and amd64, define *SIZ32 VM constants.
* Add a new function pointer to struct emul, pointing at a function
  that will return the default VM map address. The default function
  is uvm_map_defaultaddr, which just uses the VM_DEFAULT_ADDRESS
  macro. This gives emulations control over the default map address,
  and allows things to be mapped at the right address (in 32bit range)
  for COMPAT_NETBSD32.
* Add code to adjust the data and stack limits when a COMPAT_NETBSD32
  or COMPAT_SVR4_32 binary is executed.
* Don't use USRSTACK in kern_resource.c, use p_vmspace->vm_minsaddr
  instead (emulations might have set it differently)
* Since this changes struct emul, bump kernel version to 3.99.2
Tested on amd64, compile-tested on sparc64.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Wed Jun 22 15:10:51 2005 UTC (21 years, 4 months ago) by manu
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-lazymbuf
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +90 -4 lines
Implent CLONE_PARENT_SETTID, CLONE_CHILD_CLEARTID, and CLONE_CHILD_SETTID
options to clone(). This makes fork() work on amd64.

clone() prototype has changed and the changes is probably revelant on some
other arches.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Thu Jun 2 16:54:52 2005 UTC (21 years, 5 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +3 -3 lines
Add a const.

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

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

Revision 1.72.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:33 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: +6 -2 lines
sync with -current

Revision 1.64.2.6: download - view: text, markup, annotated - select for diffs
Fri Apr 1 14:29:36 2005 UTC (21 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.64.2.5: preferred, colored
Changes since revision 1.64.2.5: +6 -2 lines
Sync with HEAD.

Revision 1.72.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 26 18:19:18 2005 UTC (21 years, 7 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: +6 -2 lines
sync with head.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Sat Mar 26 17:10:43 2005 UTC (21 years, 7 months ago) by christos
Branches: MAIN
CVS tags: yamt-km-base4, kent-audio2-base
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +3 -3 lines
s/uvm_map_defaultaddr/uvm_default_mapaddr/ HI FRANK!

Revision 1.73: download - view: text, markup, annotated - select for diffs
Sat Mar 26 05:12:35 2005 UTC (21 years, 7 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +6 -2 lines
Fix some things regarding COMPAT_NETBSD32 and limits/VM addresses.

* For sparc64 and amd64, define *SIZ32 VM constants.
* Add a new function pointer to struct emul, pointing at a function
  that will return the default VM map address. The default function
  is uvm_map_defaultaddr, which just uses the VM_DEFAULT_ADDRESS
  macro. This gives emulations control over the default map address,
  and allows things to be mapped at the right address (in 32bit range)
  for COMPAT_NETBSD32.
* Add code to adjust the data and stack limits when a COMPAT_NETBSD32
  or COMPAT_SVR4_32 binary is executed.
* Don't use USRSTACK in kern_resource.c, use p_vmspace->vm_minsaddr
  instead (emulations might have set it differently)
* Since this changes struct emul, bump kernel version to 3.99.2

Tested on amd64, compile-tested on sparc64.

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

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

Revision 1.70.2.2: download - view: text, markup, annotated - select for diffs
Sun Aug 15 14:07:39 2004 UTC (22 years, 3 months ago) by tron
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-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Diff to: previous 1.70.2.1: preferred, colored; branchpoint 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70.2.1: +4 -4 lines
Pull up revision 1.72 (requested by jdolecek in ticket #762):
fix two bugs in previous:
* flags passed from fork1() are FORK_*, not CLONE_*; thus, correct is to check
  for FORK_SHAREVM, not CLONE_VM
* fix a reference counting bug

Revision 1.70.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 15 13:59:18 2004 UTC (22 years, 3 months ago) by tron
Branches: netbsd-2-0
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +58 -24 lines
Pull up revision 1.71 (requested by jdolecek in ticket #762):
linux processes sharing VM space (via clone() call) must also
share same 'break' value used for brk()/sbrk(), otherwise application SIGSEGVs
quickly once different threads try to adjust data segment size
this fixes linux Mozilla crashes with SuSE 9.1 libraries, and possibly
other linux applications using real threads

Revision 1.64.2.3: download - view: text, markup, annotated - select for diffs
Thu Aug 12 11:41:14 2004 UTC (22 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.64.2.2: preferred, colored
Changes since revision 1.64.2.2: +58 -24 lines
Sync with HEAD.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Sun Aug 8 19:52:37 2004 UTC (22 years, 3 months ago) by jdolecek
Branches: MAIN
CVS tags: yamt-km-base3, yamt-km-base2, yamt-km-base, netbsd-3-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, netbsd-3, kent-audio2
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +4 -4 lines
fix two bugs in previous:
* flags passed from fork1() are FORK_*, not CLONE_*; thus, correct is to check
  for FORK_SHAREVM, not CLONE_VM
* fix a reference counting bug

Revision 1.71: download - view: text, markup, annotated - select for diffs
Sun Aug 8 09:40:50 2004 UTC (22 years, 3 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +58 -24 lines
linux processes sharing VM space (via clone() call) must also
share same 'break' value used for brk()/sbrk(), otherwise application SIGSEGVs
quickly once different threads try to adjust data segment size

this fixes linux Mozilla crashes with SuSE 9.1 libraries, and possibly
other linux applications using real threads

Revision 1.64.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:44:03 2004 UTC (22 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.64.2.1: preferred, colored
Changes since revision 1.64.2.1: +10 -3 lines
Sync with HEAD

Revision 1.70: download - view: text, markup, annotated - select for diffs
Sat Dec 20 19:01:30 2003 UTC (22 years, 11 months ago) by fvdl
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -2 lines
Put back Emmanuel's sigfilter hooks, as decided by Core.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Sat Dec 20 18:22:18 2003 UTC (22 years, 11 months ago) by manu
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +4 -2 lines
Introduce lwp_emuldata and the associated hooks. No hook is provided for the
exec case, as the emulation already has the ability to intercept that
with the e_proc_exec hook. It is the responsability of the emulation to
take appropriaye action about lwp_emuldata in e_proc_exec.

Patch reviewed by Christos.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Fri Dec 5 21:12:43 2003 UTC (22 years, 11 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +2 -3 lines
back the sigfilter emulation hook change off

Revision 1.67: download - view: text, markup, annotated - select for diffs
Thu Dec 4 19:38:23 2003 UTC (22 years, 11 months ago) by atatat
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -3 lines
Dynamic sysctl.

Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(),
vfs_sysctl(), etc, routines, along with sysctl_int() et al.  Now all
nodes are registered with the tree, and nodes can be added (or
removed) easily, and I/O to and from the tree is handled generically.

Since the nodes are registered with the tree, the mapping from name to
number (and back again) can now be discovered, instead of having to be
hard coded.  Adding new nodes to the tree is likewise much simpler --
the new infrastructure handles almost all the work for simple types,
and just about anything else can be done with a small helper function.

All existing nodes are where they were before (numerically speaking),
so all existing consumers of sysctl information should notice no
difference.

PS - I'm sorry, but there's a distinct lack of documentation at the
moment.  I'm working on sysctl(3/8/9) right now, and I promise to
watch out for buses.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Wed Dec 3 20:24:51 2003 UTC (22 years, 11 months ago) by manu
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -2 lines
Add a sigfilter emulation hook. It is used at the beginning of kpsignal2()
so that a specific emulation has the oportunity to filter out some signals.

if sigfilter returns 0, then no signal is sent by kpsignal2().

There is another place where signals can be generated: trapsignal. Since this
function is already an emulation hook, no call to the sigfilter hook was
introduced in trapsignal.

This is needed to emulate the softsignal feature in COMPAT_DARWIN (signals
sent as Mach exception messages)

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

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

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

originally from openbsd, adapted for netbsd by me.

Revision 1.64.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:25:46 2003 UTC (23 years, 4 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +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.64: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:29:26 2003 UTC (23 years, 4 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +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.63: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:21:20 2003 UTC (23 years, 4 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +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.62: download - view: text, markup, annotated - select for diffs
Sat Mar 1 04:36:39 2003 UTC (23 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -6 lines
Do the syscall_plain/syscall_fancy dance on ARM.  Shaves a fair number
of cycles off the syscall overhead.

Since all COMPAT_LINUX platforms now support __HAVE_SYSCALL_INTERN,
garbage-collect the LINUX_SYSCALL_FUNCTION stuff.

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

Revision 1.45.2.11: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:07:13 2002 UTC (24 years ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.45.2.10: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.2.10: +1 -1 lines
Catch up to -current

Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri Nov 1 19:26:22 2002 UTC (24 years ago) by jdolecek
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -3 lines
set struct emul's nsysent to compat SYS_NSYSENT, not SYS_MAXSYSCALL

Revision 1.45.2.10: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:41:11 2002 UTC (24 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.45.2.9: preferred, colored
Changes since revision 1.45.2.9: +3 -2 lines
Catch up to -current.

Revision 1.52.2.4: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:38:02 2002 UTC (24 years, 1 month ago) by jdolecek
Branches: kqueue
Diff to: previous 1.52.2.3: preferred, colored; branchpoint 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.2.3: +3 -2 lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Sep 21 21:15:03 2002 UTC (24 years, 2 months ago) by manu
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -2 lines
- Introduce a e_fault field in struct proc to provide emulation specific
memory fault handler. IRIX uses irix_vm_fault, and all other emulation
use NULL, which means to use uvm_fault.

- While we are there, explicitely set to NULL the uninitialized fields in
struct emul: e_fault and e_sysctl on most ports

- e_fault is used by the trap handler, for now only on mips. In order to avoid
intrusive modifications in UVM, the function pointed by e_fault does not
has exactly the same protoype as uvm_fault:
int uvm_fault __P((struct vm_map *, vaddr_t, vm_fault_t, vm_prot_t));
int e_fault __P((struct proc *, vaddr_t, vm_fault_t, vm_prot_t));

- In IRIX share groups, all the VM space is shared, except one page.
This bounds us to have different VM spaces and synchronize modifications
to the VM space accross share group members. We need an IRIX specific hook
to the page fault handler in order to propagate VM space modifications
caused by page faults.

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

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

(Behold the Power of Ed)

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

Revision 1.58: download - view: text, markup, annotated - select for diffs
Tue Apr 2 20:23:43 2002 UTC (24 years, 7 months ago) by jdolecek
Branches: MAIN
CVS tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, gehenna-devsw-base, gehenna-devsw
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -2 lines
rename sysctl_linux() to linux_sysctl() and hook it into emul_linux

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

Revision 1.57: 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.56: preferred, colored
Changes since revision 1.56: +3 -3 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.45.2.6: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:12:55 2002 UTC (24 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.45.2.5: preferred, colored
Changes since revision 1.45.2.5: +4 -4 lines
Catch up to -current.

Revision 1.52.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 11 20:09:33 2002 UTC (24 years, 9 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.52.2.1: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.2.1: +4 -4 lines
Sync w/ -current.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Thu Jan 17 21:19:22 2002 UTC (24 years, 10 months ago) by bjh21
Branches: MAIN
CVS tags: newlock-base, newlock, ifpoll-base
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -3 lines
Fix typo in last commit.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu Jan 17 17:19:04 2002 UTC (24 years, 10 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +4 -4 lines
On platforms that don't __HAVE_SYSCALL_INTERN, define LINUX_SYSCALL_FUNCTION
to be the value of emul_linux.e_syscall that we want.  This allows it to differ
between machines, so I can have a separate linux_syscall() on arm.

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

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

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

Revision 1.52.4.1: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:43:44 2001 UTC (25 years, 1 month ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +2 -1 lines
Catch up with -current.

Revision 1.45.2.4: download - view: text, markup, annotated - select for diffs
Fri Sep 21 22:35:18 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.45.2.3: preferred, colored
Changes since revision 1.45.2.3: +2 -1 lines
Catch up to -current.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Tue Sep 18 19:36:39 2001 UTC (25 years, 2 months ago) by jdolecek
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +2 -1 lines
Make the setregs hook emulation-specific, rather than executable
format specific.
Struct emul has a e_setregs hook back, which points to emulation-specific
setregs function. es_setregs of struct execsw now only points to
optional executable-specific setup function (this is only used for
ECOFF).

Revision 1.45.2.3: download - view: text, markup, annotated - select for diffs
Thu Jun 21 19:59:45 2001 UTC (25 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.45.2.2: preferred, colored
Changes since revision 1.45.2.2: +2 -1 lines
Catch up to -current.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Jun 18 02:00:53 2001 UTC (25 years, 5 months ago) by christos
Branches: MAIN
CVS tags: thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp, kqueue
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +2 -1 lines
Add an e_trapsignal member to struct emul, so that emulated processes can
send the appropriate signal depending on the trap type.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sat Jun 16 21:44:29 2001 UTC (25 years, 5 months ago) by manu
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -2 lines
Removed obsoletes EMUL_NO_BSD_ASYNCIO_PIPE and EMUL_NO_SIGIO_ON_READ flags.
Async I/O OS specifities should now handled in OS specific code. Linux
has been done, but other emulation should be handled. See case LINUX_F_SETFL
in sys/compat/linux/common/linux_file.c:linux_sys_fcntl() for more details.

The data that has been collected yet:

                                  Net Free Open Linux SunOS AIX OSF1 Darwin
send SIGIO to write end of pipe		Y  N    N     N     N    N   Y     Y
send SIGIO to read end of pipe      Y  Y    N     N     N    ?   Y     ?
send SIGIO to write end of socket   Y  Y    Y     N     N    Y   Y     Y
send SIGIO to read end of socket    Y  Y    Y     Y     Y    ?   Y     ?

Revision 1.50: download - view: text, markup, annotated - select for diffs
Mon May 7 09:55:13 2001 UTC (25 years, 6 months ago) by manu
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -2 lines
Changed EMUL_BSD_ASYNCIO_PIPE to EMUL_NO_BSD_ASYNCIO_PIPE, so that
the native emulation (NetBSD) does not have a flag.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun May 6 19:09:52 2001 UTC (25 years, 6 months ago) by manu
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -2 lines
Added two flags to emulation packages:

EMUL_BSD_ASYNCIO_PIPE notes that the emulated binaries expect the original
BSD pipe behavior for asynchronous I/O, which is to fire SIGIO on read() and
write(). OSes without this flag do not expect any SIGIO to be fired on
read() and write() for pipes, even when async I/O was requested. As far as
we know, the OSes that need EMUL_BSD_ASYNCIO_PIPE are NetBSD, OSF/1 and
Darwin.

EMUL_NO_SIGIO_ON_READ notes that the emulated binaries that requested
asynchrnous I/O expect the reader process to be notified by a SIGIO, but
not the writer process. OSes without this flag expect the reader and the
writer to be notified when some data has arrived or when some data have been
read. As far as we know, the OSes that need EMUL_NO_SIGIO_ON_READ are Linux
and SunOS.

Revision 1.45.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 9 01:55:41 2001 UTC (25 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.45.2.1: preferred, colored
Changes since revision 1.45.2.1: +25 -9 lines
Catch up with -current.

Revision 1.35.8.6: download - view: text, markup, annotated - select for diffs
Tue Mar 27 15:31:46 2001 UTC (25 years, 7 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.35.8.5: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.8.5: +25 -9 lines
Sync with HEAD.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Mar 24 11:13:04 2001 UTC (25 years, 7 months ago) by jdolecek
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +24 -14 lines
Use parent's vmspace in linux_e_proc_fork() hook, the child does not
have vmspace setup yet. This fixes lossage discussed on current-users,
thread "hard lockups with -current and Netscape", and should fix
kern/12433 by <kawamoto@tenjin.org>, maybe also kern/12455.

XXX Threads forked via linux_sys_clone() should share the brk value
XXX if they share vmspace. This needs to be implemented.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Mar 22 08:26:14 2001 UTC (25 years, 8 months ago) by itojun
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +6 -4 lines
do not dereference p_vmspace, if it is not initialized yet (NULL).

Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu Mar 15 19:18:20 2001 UTC (25 years, 8 months ago) by manu
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +5 -1 lines
Fixed brk() emulation. We now keep track of the processes' idea of the
break value. See http://mail-index.netbsd.org/tech-kern/2001/03/15/0000.html
for more details.

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

Revision 1.35.8.5: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:14:00 2001 UTC (25 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.35.8.4: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.8.4: +2 -2 lines
Sync with HEAD.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Fri Jan 19 01:44:46 2001 UTC (25 years, 10 months ago) by manu
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -2 lines
Added support for powerpc Linux compatibility

Revision 1.35.8.4: download - view: text, markup, annotated - select for diffs
Wed Dec 13 15:49:49 2000 UTC (25 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.35.8.3: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.8.3: +11 -10 lines
Sync with HEAD (for UBC fixes).

Revision 1.44: download - view: text, markup, annotated - select for diffs
Mon Dec 11 05:29:01 2000 UTC (25 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +10 -11 lines
Introduce 2 new flags in types.h:
* __HAVE_SYSCALL_INTERN.  If this is defined, e_syscall is replaced by
  e_syscall_intern, which is called at key places in the kernel.  This can be
  used to set a MD syscall handler pointer.  This obsoletes and replaces the
  *_HAS_SEPARATED_SYSCALL flags.
* __HAVE_MINIMAL_EMUL.  If this is defined, certain (deprecated) elements in
  struct emul are omitted.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Dec 9 12:38:24 2000 UTC (25 years, 11 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +4 -2 lines
always fill in e_syscall in respective emul_*; if the emulation doesn't
have it's own separated *_syscall() function, use syscall()

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

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Dec 2 16:05:04 2000 UTC (25 years, 11 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +6 -1 lines
if machdep define LINUX_MACHDEP_HAS_SEPARATED_SYSCALL is defined, put
linux_syscall() to emul_linux
define LINUX_MACHDEP_HAS_SEPARATED_SYSCALL for i386

Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Dec 1 20:31:13 2000 UTC (25 years, 11 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +6 -1 lines
if LINUX_MACHDEP_PASS_PPID_AND_EUID is defined for given arch, add
flags EMUL_GETPID_PASS_PPID|EMUL_GETID_PASS_EID to emul_linux
define this option for alpha

Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Dec 1 12:28:32 2000 UTC (25 years, 11 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -4 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.35.8.2: download - view: text, markup, annotated - select for diffs
Wed Nov 22 16:02:43 2000 UTC (25 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.35.8.1: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.8.1: +77 -2 lines
Sync with HEAD.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Nov 21 12:23:29 2000 UTC (26 years ago) by jdolecek
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +56 -1 lines
(de)allocate linux emuldata on fork/exec/exit as needed

Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Nov 21 00:37:53 2000 UTC (26 years ago) by jdolecek
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +22 -2 lines
restructure struct emul and execsw, in preparation to make emulations LKMable:
* move all exec-type specific information from struct emul to execsw[] and
  provide single struct emul per emulation
* elf:
  - kern/exec_elf32.c:probe_funcs[] is gone, execsw[] how has one entry
    per emulation and contains pointer to respective probe function
  - interp is allocated via MALLOC() rather than on stack
  - elf_args structure is allocated via MALLOC() rather than malloc()
* ecoff: the per-emulation hooks moved from alpha and mips specific code
  to OSF1 and Ultrix compat code as appropriate, execsw[] has one entry per
  emulation supporting ecoff with appropriate probe function
* the makecmds/probe functions don't set emulation, pointer to emulation is
  part of appropriate execsw[] entry
* constify couple of structures

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

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

Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Jun 26 14:38:56 2000 UTC (26 years, 4 months ago) by mrg
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +1 -3 lines
remove redundant vm includes.

Revision 1.35: 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: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, minoura-xpg4dl-base, minoura-xpg4dl, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base, chs-ubc2
Branch point for: thorpej_scsipi
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2 lines
const poisoning.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Oct 7 22:17:57 1998 UTC (28 years, 1 month ago) by erh
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +1 -2 lines
The siginfo include line is not needed here anymore.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Oct 4 00:02:31 1998 UTC (28 years, 1 month ago) by fvdl
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +4 -35 lines
Assign my copyright to TNF. Merge with others were appropriate.
Regen syscall files after script change.

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

Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Oct 1 03:11:33 1998 UTC (28 years, 1 month ago) by erh
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +7 -493 lines
Split compat/linux/linux_exec.c into common, elf and a.out parts.

Revision 1.30: 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.29: preferred, colored
Changes since revision 1.29: +2 -2 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.29: download - view: text, markup, annotated - select for diffs
Sat Sep 5 14:50:26 1998 UTC (28 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +37 -2 lines
Assign copyright to TNF.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Aug 9 20:37:54 1998 UTC (28 years, 3 months ago) by perry
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2 lines
bzero->memset, bcopy->memcpy, bcmp->memcmp

Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Jul 28 21:39:54 1998 UTC (28 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -2 lines
Change the "aresid" argument of vn_rdwr() from an int * to a size_t *,
to match the new uio_resid type.

Revision 1.25.14.1: download - view: text, markup, annotated - select for diffs
Thu Jan 29 12:02:14 1998 UTC (28 years, 9 months ago) by mellon
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +3 -3 lines
Pull up 1.26 (mycroft)

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Jan 24 12:32:15 1998 UTC (28 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -3 lines
Use linux_setregs().

Revision 1.13.4.1: download - view: text, markup, annotated - select for diffs
Tue Dec 10 08:45:02 1996 UTC (29 years, 11 months ago) by mycroft
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +7 -2 lines
From trunk:
Do execv() and execve() path name translation consistently across
emulations.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Oct 13 18:30:05 1996 UTC (30 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -1 lines
catch up with Jason's exec.h inclusion.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Oct 10 17:51:56 1996 UTC (30 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +1 -2 lines
printf -> kprintf, sprintf -> ksprintf

Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Oct 7 21:47:33 1996 UTC (30 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
include <sys/exec.h> rather than <machine/exec.h>

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Oct 5 00:12:49 1996 UTC (30 years, 1 month ago) by jtk
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2 lines
update to compile; needs new enum name 'Elf_sht_progbits'

Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Oct 3 05:02:05 1996 UTC (30 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +1 -4 lines
kill (re)definitions of EXEC_ELF32.  They're no longer necessary
(because of the EXEC_* option changes), and now cause warnings.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Oct 3 02:16:18 1996 UTC (30 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -2 lines
Fix a section header check that didn't get updated with the elf32/elf64
changes.  Make this compile again with the new EXEC_* options.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Sep 30 23:56:01 1996 UTC (30 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
Elf32_sht_progbits -> Elf_sht_progbits

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Sep 27 18:14:25 1996 UTC (30 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
slightly clean up some of the changes made when ELF64 support went in

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Sep 26 20:52:42 1996 UTC (30 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +12 -9 lines
adapt ELF-using compat code to use new ELF definitions/code.  At this point,
these are restricted to 32-bit ELF, and should be severely cleaned.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Sep 3 03:12:28 1996 UTC (30 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +7 -2 lines
Define execv() and execve() consistently across emulations.
Do path name translation.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Jun 13 19:27:01 1996 UTC (30 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +7 -6 lines
Simplify and add comments.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Jun 13 18:42:01 1996 UTC (30 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +65 -3 lines
- Pass the Elf32_Ehdr in the linux probe function, and use it!

Since linux binaries are (mostly) always compiled with gcc, look for
the gcc signature in the .comment section header: "\0 GCC: (GNU) ".
I've changed the probe order in kern/exec_elf.c to probe for linux ELF
binaries first and fall back to SVR4 binaries. This makes statically
linked binaries work for both linux and svr4. Note that gcc-compiled
svr4 binaries, still contain the operating system signature first and
then the GCC signature, so there is no conflict. Yes this is a hack.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Apr 5 00:01:10 1996 UTC (30 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +9 -1 lines
Prototyping changes.

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

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

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

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

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Jun 22 21:34:27 1995 UTC (31 years, 5 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +24 -627 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 15:15:09 1995 UTC (31 years, 5 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -7 lines
Don't forget to acknowledge that all the ELF stuff was taken from
Christos' svr4 code.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Jun 11 14:56:47 1995 UTC (31 years, 5 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +654 -13 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
Tue May 16 14:19:07 1995 UTC (31 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
Generate the new ps_strings format.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Apr 22 19:48:34 1995 UTC (31 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +84 -6 lines
- added struct emul to all emulations.
- removed all setup functions.
- added copyargs() functions where needed.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Apr 7 22:23:22 1995 UTC (31 years, 7 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -2 lines
Handle Linux signal tramp code differently. Some changes because of the
now seperate Linux signal trampoline code. Add linux_sigreturn to
syscalls.master.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Mar 5 23:23:37 1995 UTC (31 years, 8 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -3 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:24:46 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>