The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


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

Revision 1.22.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.22.2.1: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.2.1: +4 -2 lines
Sync with HEAD

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

Revision 1.24: 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: 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, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, 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, perseant-exfatfs-base-20261102, perseant-exfatfs-base-20250801, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, 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, 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, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, HEAD
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +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.22.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.22: preferred, colored
Changes since revision 1.22: +2 -3 lines
Sync with HEAD

Revision 1.23: 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.22: preferred, colored
Changes since revision 1.22: +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.22: 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.21: preferred, colored
Changes since revision 1.21: +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.20.8.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:19 2012 UTC (14 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +2 -3 lines
sync with head

Revision 1.20.12.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.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +2 -3 lines
sync to -current.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Feb 19 21:06:38 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-20171202, tls-maxphys-base, tls-maxphys, 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, 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, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base10, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -3 lines
Remove COMPAT_SA / KERN_SA.  Welcome to 6.99.3!
Approved by core@.

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

Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:45:51 2010 UTC (16 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +10 -209 lines
Sync with HEAD.

Revision 1.12.2.4: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:09 2010 UTC (16 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.12.2.3: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.2.3: +10 -209 lines
sync with head.

Revision 1.20: 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-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, jmcneill-usbmp
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +10 -209 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.12.2.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:17 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.12.2.2: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.2.2: +30 -30 lines
sync with head

Revision 1.19: 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.18: preferred, colored
Changes since revision 1.18: +30 -30 lines
Initialise struct emul members by name (it is readable now and one can search
them in the tree).

Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:18:59 2009 UTC (17 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +4 -8 lines
Sync with HEAD.

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

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

Revision 1.15.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.15.2.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.1: +4 -8 lines
Sync with HEAD.

Revision 1.18: 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
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.17: preferred, colored
Changes since revision 1.17: +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.15.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.15: preferred, colored
Changes since revision 1.15: +8 -8 lines
Sync with HEAD.

Revision 1.9.12.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:45 2009 UTC (17 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.9.12.2: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.12.2: +7 -6 lines
Sync with HEAD.

Revision 1.17: 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.16: preferred, colored
Changes since revision 1.16: +7 -7 lines
kill MALLOC and FREE macros.

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

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Nov 19 18:36:04 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.15: preferred, colored
Changes since revision 1.15: +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.13.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:16:16 2008 UTC (18 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -2 lines
Sync with HEAD.

Revision 1.15: 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: netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -2 lines
Merge wrstuden-revivesa into HEAD.

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

Revision 1.13.2.4: download - view: text, markup, annotated - select for diffs
Wed Sep 24 19:24:00 2008 UTC (18 years, 1 month ago) by skrll
Branches: wrstuden-revivesa
Diff to: previous 1.13.2.3: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.2.3: +3 -2 lines
Some build fixes.

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

Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Sep 5 13:37:25 2008 UTC (18 years, 2 months ago) by tron
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +5 -2 lines
Compile NetBSD/amd64 kernels with "-Wextra". Patches contributed by
Juan RP in PR port-amd64/39266.

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

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

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

Revision 1.13.2.2: download - view: text, markup, annotated - select for diffs
Wed May 14 01:35:08 2008 UTC (18 years, 6 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.13.2.1: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.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.13.2.1: download - view: text, markup, annotated - select for diffs
Sat May 10 23:48:56 2008 UTC (18 years, 6 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -2 lines
Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.

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

Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:44 2008 UTC (18 years, 6 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, haad-dm
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Apr 26 22:55:10 2008 UTC (18 years, 6 months ago) by njoly
Branches: MAIN
CVS tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -3 lines
Remove a duplicate mutex_enter call in linux32_e_proc_init().
Fix a kernel panic for processes created with FORK_SHAREVM.

Revision 1.11: 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
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +11 -9 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.10: download - view: text, markup, annotated - select for diffs
Wed Apr 23 13:30:41 2008 UTC (18 years, 6 months ago) by ad
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +10 -3 lines
Catch up with linux.

Revision 1.1.16.8: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:41:34 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.1.16.7: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.16.7: +4 -7 lines
sync with head

Revision 1.6.16.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:51:21 2008 UTC (18 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.6.16.1: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.16.1: +10 -13 lines
sync with HEAD

Revision 1.7.2.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:44:16 2007 UTC (18 years, 10 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.7.2.1: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.2.1: +4 -7 lines
Sync with HEAD.

Revision 1.7.4.2: download - view: text, markup, annotated - select for diffs
Wed Dec 26 21:39:02 2007 UTC (18 years, 10 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.7.4.1: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.4.1: +4 -7 lines
Sync with head.

Revision 1.6.14.2: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:37:07 2007 UTC (18 years, 11 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.6.14.1: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.14.1: +10 -13 lines
Sync with HEAD.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:36:11 2007 UTC (18 years, 11 months ago) by dsl
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, 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: yamt-pf42, mjf-devfs2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -7 lines
ANSIfy most of the function definitions in sys/compat (but not ndis).
All by the magic of sed ...

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

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

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

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Dec 4 18:40:18 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.7: preferred, colored
Changes since revision 1.7: +8 -8 lines
Remove all the __P

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

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

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

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

Revision 1.6.20.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:37:01 2007 UTC (19 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +3 -3 lines
Sync with HEAD.

Revision 1.6.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:17:01 2007 UTC (19 years ago) by ad
Branches: vmlocking
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +3 -3 lines
Sync with head.

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

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

Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:52:29 2007 UTC (19 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +3 -3 lines
Sync with HEAD.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Mar 5 14:13:10 2007 UTC (19 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, vmlocking-base, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: vmlocking, matt-armv6, jmcneill-pm, bouyer-xenamd64
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3 lines
more caddr_t lossage.

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

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Feb 15 15:29:51 2007 UTC (19 years, 9 months ago) by ad
Branches: MAIN
CVS tags: ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +8 -12 lines
Fix COMPAT_LINUX32.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:21 2007 UTC (19 years, 9 months ago) by ad
Branches: MAIN
CVS tags: post-newlock2-merge
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -3 lines
Merge newlock2 to head.

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

Revision 1.1.16.3: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:41 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.1.16.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.16.2: +50 -75 lines
sync with head.

Revision 1.3.4.2: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:46:03 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.3.4.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.4.1: +304 -0 lines
sync with head

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

Revision 1.3.4.1
Wed Aug 23 19:49:09 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
FILE REMOVED
Changes since revision 1.3: +0 -304 lines
file linux32_exec.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:46:03 +0000

Revision 1.3: 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
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, rpaulo-netinet-merge-pcb-base, 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
Branch point for: rpaulo-netinet-merge-pcb, newlock2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +26 -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.1.14.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:49:14 2006 UTC (20 years, 4 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +31 -15 lines
Merge from HEAD.

Revision 1.1.4.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.1: preferred, colored
Changes since revision 1.1: +31 -15 lines
sync with head.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Jun 25 16:15:40 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.1: preferred, colored
Changes since revision 1.1: +31 -15 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.1.16.2: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:59:27 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.1.16.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.16.1: +329 -0 lines
sync with head.

Revision 1.1.10.2: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:38:14 2006 UTC (20 years, 6 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.1.10.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.10.1: +329 -0 lines
Sync with head.

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Sat Feb 18 15:39:02 2006 UTC (20 years, 9 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.1: +329 -0 lines
sync with head.

Revision 1.1.16.1
Thu Feb 9 19:18:57 2006 UTC (20 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
FILE REMOVED
Changes since revision 1.1: +0 -329 lines
file linux32_exec.c was added on branch yamt-lazymbuf on 2006-06-21 14:59:27 +0000

Revision 1.1.10.1
Thu Feb 9 19:18:57 2006 UTC (20 years, 9 months ago) by simonb
Branches: simonb-timecounters
FILE REMOVED
Changes since revision 1.1: +0 -329 lines
file linux32_exec.c was added on branch simonb-timecounters on 2006-04-22 11:38:14 +0000

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

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Feb 9 19:18:57 2006 UTC (20 years, 9 months ago) by manu
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, 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-uio_vmspace, yamt-pdpolicy, yamt-lazymbuf, simonb-timecounters, gdamore-uart
Add initial (but unfinished) COMPAT_LINUX32 for amd64. This is good enough so
that the i386 license manager part of amd64 version of Fluent works.

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

Diff request

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

Log view options

CVSweb <webmaster@jp.NetBSD.org>