The NetBSD Project

CVS log for src/sys/compat/linux/arch/amd64/linux_exec_machdep.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Oct 1 16:35:42 2024 UTC (6 months, 2 weeks ago) by riastradh
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +9 -9 lines
sys/compat/linux/arch: Nix trailing whitespace.

No functional change intended.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Sep 5 16:30:10 2020 UTC (4 years, 7 months ago) by riastradh
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-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, 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
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -4 lines
Round of uvm.h cleanup.

The poorly named uvm.h is generally supposed to be for uvm-internal
users only.

- Narrow it to files that actually need it -- mostly files that need
  to query whether curlwp is the pagedaemon, which should maybe be
  exposed by an external header.

- Use uvm_extern.h where feasible and uvm_*.h for things not exposed
  by it.  We should split up uvm_extern.h but this will serve for now
  to reduce the uvm.h dependencies.

- Use uvm_stat.h and #ifdef UVMHIST uvm.h for files that use
  UVMHIST(ubchist), since ubchist is declared in uvm.h but the
  reference evaporates if UVMHIST is not defined, so we reduce header
  file dependencies.

- Make uvm_device.h and uvm_swap.h independently includable while
  here.

ok chs@

Revision 1.22.30.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:00 2020 UTC (5 years ago) by martin
Branches: phil-wifi
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +3 -3 lines
Merge changes from current as of 20200406

Revision 1.22.36.1: download - view: text, markup, annotated - select for diffs
Fri Jan 17 21:47:29 2020 UTC (5 years, 3 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +3 -3 lines
Sync with head.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Jan 12 18:30:58 2020 UTC (5 years, 3 months ago) by ad
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -3 lines
Tidy up the vnode locking around execve() on ELF images to acquire and
release the locks fewer times.  Proposed on tech-kern a very long time go.

Revision 1.19.6.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:31 2014 UTC (10 years, 8 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +12 -9 lines
Rebase to HEAD as of a few days ago.

Revision 1.18.8.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:16 2014 UTC (10 years, 11 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.18.8.1: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.8.1: +12 -9 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.19.10.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:32 2014 UTC (10 years, 11 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +12 -9 lines
sync with head

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Feb 23 12:01:51 2014 UTC (11 years, 1 month ago) by njoly
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base-20171202, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-9-base, netbsd-9-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-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, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base
Branch point for: phil-wifi, ad-namecache
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +7 -6 lines
Use cprng_strong32 for LINUX_AT_RANDOM on amd64 too.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Feb 21 07:53:53 2014 UTC (11 years, 2 months ago) by maxv
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -9 lines
Increase LINUX32_ELF_AUX_ENTRIES to avoid overrun in linux32/. Also,
add comments and KASSERTs to make sure people don't forget to increase
XX_AUX_ENTRIES's when adding vectors.

Reported by martin@ (CV), with suggestions from chs@.

ok martin@ chs@

Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Nov 18 01:32:22 2013 UTC (11 years, 5 months ago) by chs
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +9 -2 lines
implement AT_RANDOM.

Revision 1.18.8.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:15 2012 UTC (13 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +7 -10 lines
sync with head

Revision 1.18.12.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:33:54 2012 UTC (13 years, 2 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +7 -10 lines
merge to -current.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Feb 3 20:11:53 2012 UTC (13 years, 2 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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, 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-base2, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +7 -10 lines
Add a hook for freeing an ep_emul_arg.  Add a wrapper routine
(exec_free_emul_arg) to call the hook and then clear the ep_emul_arg
and ep_emul_arg_free members in the exec_package.
Change users/accessors to use these routines.
Approved by releng.

Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:52:42 2011 UTC (14 years, 1 month ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +2 -18 lines
sync with head

Revision 1.16.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:45:42 2010 UTC (14 years, 8 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.16.2.1: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.2.1: +0 -16 lines
Sync with HEAD.

Revision 1.10.20.3: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:04 2010 UTC (14 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.10.20.2: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.20.2: +2 -18 lines
sync with head.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Jul 7 01:30:33 2010 UTC (14 years, 9 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, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-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.17: preferred, colored
Changes since revision 1.17: +2 -18 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.16.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:42:58 2010 UTC (14 years, 11 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
Sync with HEAD.

Revision 1.10.20.2: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:14 2010 UTC (15 years, 1 month ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.10.20.1: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.20.1: +3 -3 lines
sync with head

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Feb 9 16:46:07 2010 UTC (15 years, 2 months ago) by njoly
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
Small typo in comment.

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

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

Revision 1.10.20.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:20 2009 UTC (15 years, 11 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +29 -13 lines
sync with head.

Revision 1.12.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:35:04 2009 UTC (15 years, 11 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.12.2.1: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.2.1: +9 -12 lines
Sync with HEAD.

Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 1 00:25:22 2009 UTC (16 years ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +7 -6 lines
Pull up following revision(s) (requested by mrg in ticket #622):
	bin/csh/csh.1: revision 1.46
	bin/csh/func.c: revision 1.37
	bin/ps/print.c: revision 1.111
	bin/ps/ps.c: revision 1.74
	bin/sh/miscbltin.c: revision 1.38
	bin/sh/sh.1: revision 1.92 via patch
	external/bsd/top/dist/machine/m_netbsd.c: revision 1.7
	lib/libkvm/kvm_proc.c: revision 1.82
	sys/arch/mips/mips/cpu_exec.c: revision 1.55
	sys/compat/darwin/darwin_exec.c: revision 1.57
	sys/compat/ibcs2/ibcs2_exec.c: revision 1.73
	sys/compat/irix/irix_resource.c: revision 1.15
	sys/compat/linux/arch/amd64/linux_exec_machdep.c: revision 1.16
	sys/compat/linux/arch/i386/linux_exec_machdep.c: revision 1.12
	sys/compat/linux/common/linux_limit.h: revision 1.5
	sys/compat/osf1/osf1_resource.c: revision 1.14
	sys/compat/svr4/svr4_resource.c: revision 1.18
	sys/compat/svr4_32/svr4_32_resource.c: revision 1.17
	sys/kern/exec_subr.c: revision 1.62
	sys/kern/init_sysctl.c: revision 1.160
	sys/kern/kern_exec.c: revision 1.288
	sys/kern/kern_resource.c: revision 1.151
	sys/sys/param.h: patch
	sys/sys/resource.h: revision 1.31
	sys/sys/sysctl.h: revision 1.184
	sys/uvm/uvm_extern.h: revision 1.153
	sys/uvm/uvm_glue.c: revision 1.136
	sys/uvm/uvm_mmap.c: revision 1.128
	usr.bin/systat/ps.c: revision 1.32
- - add new RLIMIT_AS (aka RLIMIT_VMEM) resource that limits the total
address space available to processes.  this limit exists in most other
modern unix variants, and like most of them, our defaults are unlimited.
remove the old mmap / rlimit.datasize hack.
- - adds the VMCMD_STACK flag to all the stack-creation vmcmd callers.
it is currently unused, but was added a few years ago.
- - add a pair of new process size values to kinfo_proc2{}. one is the
total size of the process memory map, and the other is the total size
adjusted for unused stack space (since most processes have a lot of
this...)
- - patch sh, and csh to notice RLIMIT_AS.  (in some cases, the alias
RLIMIT_VMEM was already present and used if availble.)
- - patch ps, top and systat to notice the new k_vm_vsize member of
kinfo_proc2{}.
- - update irix, svr4, svr4_32, linux and osf1 emulations to support
this information.  (freebsd could be done, but that it's best left
as part of the full-update of compat/freebsd.)
this addresses PR 7897.  it also gives correct memory usage values,
which have never been entirely correct (since mmap), and have been
very incorrect since jemalloc() was enabled.
tested on i386 and sparc64, build tested on several other platforms.
thanks to many folks for feedback and testing but most espcially
chuq and yamt for critical suggestions that lead to this patch not
having a special ugliness i wasn't happy with anyway :-)

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Mar 29 01:02:50 2009 UTC (16 years ago) by mrg
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, uebayasi-xip-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Branch point for: uebayasi-xip
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +7 -6 lines
- add new RLIMIT_AS (aka RLIMIT_VMEM) resource that limits the total
address space available to processes.  this limit exists in most other
modern unix variants, and like most of them, our defaults are unlimited.
remove the old mmap / rlimit.datasize hack.

- adds the VMCMD_STACK flag to all the stack-creation vmcmd callers.
it is currently unused, but was added a few years ago.

- add a pair of new process size values to kinfo_proc2{}. one is the
total size of the process memory map, and the other is the total size
adjusted for unused stack space (since most processes have a lot of
this...)

- patch sh, and csh to notice RLIMIT_AS.  (in some cases, the alias
RLIMIT_VMEM was already present and used if availble.)

- patch ps, top and systat to notice the new k_vm_vsize member of
kinfo_proc2{}.

- update irix, svr4, svr4_32, linux and osf1 emulations to support
this information.  (freebsd could be done, but that it's best left
as part of the full-update of compat/freebsd.)


this addresses PR 7897.  it also gives correct memory usage values,
which have never been entirely correct (since mmap), and have been
very incorrect since jemalloc() was enabled.

tested on i386 and sparc64, build tested on several other platforms.

thanks to many folks for feedback and testing but most espcially
chuq and yamt for critical suggestions that lead to this patch not
having a special ugliness i wasn't happy with anyway :-)

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Mar 15 15:55:51 2009 UTC (16 years, 1 month ago) by cegger
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -8 lines
ansify function definitions

Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:17:23 2009 UTC (16 years, 3 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +14 -3 lines
Sync with HEAD.

Revision 1.10.16.1: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:43 2009 UTC (16 years, 3 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +22 -3 lines
Sync with HEAD.

Revision 1.10.26.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:13:53 2008 UTC (16 years, 4 months ago) by haad
Branches: haad-dm
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +22 -3 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Nov 20 09:26:06 2008 UTC (16 years, 5 months ago) by ad
Branches: MAIN
CVS tags: nick-hppapmap-base2, mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -2 lines
PR port-amd64/39964 modules/compat_linux: missing symbols on amd64

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Oct 28 18:37:41 2008 UTC (16 years, 5 months ago) by christos
Branches: MAIN
CVS tags: netbsd-5-base, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1
Branch point for: netbsd-5
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +12 -3 lines
populate init_thread_area.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Oct 26 02:00:57 2008 UTC (16 years, 5 months ago) by christos
Branches: MAIN
Branch point for: nick-hppapmap
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3 lines
fix include order; machdep needs to be first for LINUX_NPTL to be defined.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Oct 25 23:38:28 2008 UTC (16 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +10 -2 lines
Add preliminary tls support for i386. Does not work yet. From FreeBSD.

Revision 1.9.20.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:24:50 2007 UTC (17 years, 5 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +3 -3 lines
sync with HEAD

Revision 1.2.2.4: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:29:32 2007 UTC (17 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.2.2.3: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.3: +3 -3 lines
sync with head.

Revision 1.9.18.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:43:53 2007 UTC (17 years, 5 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +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.9.24.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:36:53 2007 UTC (17 years, 5 months ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +3 -3 lines
Sync with HEAD.

Revision 1.9.6.1: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:16:57 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +3 -3 lines
Sync with head.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Oct 19 12:16:37 2007 UTC (17 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-mips64-base2, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-dm-base1, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1
Branch point for: yamt-nfs-mp, mjf-devfs2, haad-dm
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3 lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

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

Revision 1.8.4.1: download - view: text, markup, annotated - select for diffs
Thu Feb 1 08:48:13 2007 UTC (18 years, 2 months ago) by ad
Branches: newlock2
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +2 -3 lines
Sync with head.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Jan 29 01:52:44 2007 UTC (18 years, 2 months ago) by hubertf
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, yamt-idlelwp, vmlocking-base, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, matt-armv6, jmcneill-pm, bouyer-xenamd64
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -3 lines
Remove more duplicate headers.
Patch by Slava Semushin <slava.semushin@gmail.com>

Again, this was tested by comparing obj files from a pristine and a patched
source tree against an i386/ALL kernel, and also for src/sbin/fsck_ffs,
src/sbin/fsdb and src/usr.sbin/makefs. Only changes in assert() line numbers
were detected in 'objdump -d' output.

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:35 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +8 -9 lines
sync with head.

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

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

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Jul 23 22:06:08 2006 UTC (18 years, 9 months ago) by ad
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, yamt-pdpolicy-base7, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, rpaulo-netinet-merge-pcb-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, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +8 -9 lines
Use the LWP cached credentials where sane.

Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:59:01 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +15 -15 lines
sync with head.

Revision 1.5.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:35:49 2006 UTC (18 years, 10 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +7 -6 lines
Sync with head.

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

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

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon May 15 13:12:13 2006 UTC (18 years, 11 months ago) by yamt
Branches: MAIN
CVS tags: yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -0 lines
include kauth.h for kauth_cred_getgid.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun May 14 21:24:49 2006 UTC (18 years, 11 months ago) by elad
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +6 -6 lines
integrate kauth.

Revision 1.5.10.1: download - view: text, markup, annotated - select for diffs
Wed Mar 8 01:48:37 2006 UTC (19 years, 1 month ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +6 -6 lines
Adapt to kernel authorization KPI.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Dec 16 14:16:14 2005 UTC (19 years, 4 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, elad-kernelauth-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +8 -7 lines
PR/32303: Nicolas Joly: Fix -current amd64 kernel compilation failure with
options COMPAT_LINUX

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Dec 14 18:33:32 2005 UTC (19 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -6 lines
proc to lwp change

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:20:14 2005 UTC (19 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
merge ktrace-lwp.

Revision 1.2.8.2: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:00:59 2005 UTC (19 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.2.8.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.8.1: +253 -0 lines
Sync with HEAD. Here we go again...

Revision 1.2.8.1
Fri May 20 12:48:27 2005 UTC (19 years, 11 months ago) by skrll
Branches: ktrace-lwp
FILE REMOVED
Changes since revision 1.2: +0 -253 lines
file linux_exec_machdep.c was added on branch ktrace-lwp on 2005-11-10 14:00:59 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri May 20 12:48:27 2005 UTC (19 years, 11 months ago) by fvdl
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf, ktrace-lwp
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -6 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.1: download - view: text, markup, annotated - select for diffs
Tue May 3 16:26:30 2005 UTC (19 years, 11 months ago) by manu
Branches: MAIN
First work on COMPAT_LINUX/amd64
Process startup and dynamiclinking work, but processes hang due to
Linux arch_prctl(2) not being really supported yet.

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>