The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.102 / (download) - annotate - [select for diffs], Fri Nov 26 09:05:05 2021 UTC (2 years, 3 months ago) by ryo
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.101: +10 -2 lines
Diff to previous 1.101 (colored)

The internal architecture name of golang is "arm" or "arm64", which has
different naming conventions from netbsd's machine[] or machine_arch[]
("earmv7", "aarch64", etc.) and cannot be used as is.
Instead, use define LINUX_GO_RT0_SIGNATURE_ARCH{32,64}.

Revision 1.101 / (download) - annotate - [select for diffs], Fri Nov 26 08:56:28 2021 UTC (2 years, 3 months ago) by ryo
Branch: MAIN
Changes since 1.100: +3 -5 lines
Diff to previous 1.100 (colored)

- LINUX_GO_RT0_SIGNATURE for compat_linux is no longer enabled by default.
  it is now defined in each arch same as the other *_SIGNATURE definitions.
- add new LINUX32_GO_RT0_SIGNATURE for compat_linux32, and is defined in amd64 and aarch64.

Revision 1.94.14.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:00 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.94.14.1: +24 -19 lines
Diff to previous 1.94.14.1 (colored) to branchpoint 1.94 (colored) next main 1.95 (colored)

Merge changes from current as of 20200406

Revision 1.99.6.1 / (download) - annotate - [select for diffs], Fri Jan 17 21:47:29 2020 UTC (4 years, 1 month ago) by ad
Branch: ad-namecache
Changes since 1.99: +24 -19 lines
Diff to previous 1.99 (colored) next main 1.100 (colored)

Sync with head.

Revision 1.100 / (download) - annotate - [select for diffs], Sun Jan 12 18:30:58 2020 UTC (4 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, 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, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1
Changes since 1.99: +24 -19 lines
Diff to previous 1.99 (colored)

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.94.14.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:00 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.94: +95 -3 lines
Diff to previous 1.94 (colored)

Sync with HEAD

Revision 1.99 / (download) - annotate - [select for diffs], Fri Mar 1 11:06:56 2019 UTC (5 years ago) by pgoyette
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, 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-base
Branch point for: ad-namecache
Changes since 1.98: +3 -3 lines
Diff to previous 1.98 (colored)

Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly
discussed on irc.

NFCI intended.

Ride the earlier kernel bump - it;s getting crowded.

Revision 1.98 / (download) - annotate - [select for diffs], Sun Jan 27 02:08:40 2019 UTC (5 years, 1 month ago) by pgoyette
Branch: MAIN
Changes since 1.97: +5 -7 lines
Diff to previous 1.97 (colored)

Merge the [pgoyette-compat] branch

Revision 1.94.12.8 / (download) - annotate - [select for diffs], Fri Jan 25 09:36:09 2019 UTC (5 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.94.12.7: +2 -6 lines
Diff to previous 1.94.12.7 (colored) to branchpoint 1.94 (colored) next main 1.95 (colored)

Move the netbsd32_machine32_hook into the main kernel with most of
the other hooks.

Although this hook might better belong in compat/netbsd32/ code,
there are some machines without a netbsd32 module (for example, i386
and sgimips) which still have consumers/users of this hook.  :(

Revision 1.94.12.7 / (download) - annotate - [select for diffs], Thu Jan 24 05:06:43 2019 UTC (5 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.94.12.6: +6 -3 lines
Diff to previous 1.94.12.6 (colored) to branchpoint 1.94 (colored)

Move the definition around to avoid strange compiler error (something
about trying to set a section attribute on a local variable).

Revision 1.94.12.6 / (download) - annotate - [select for diffs], Thu Jan 24 04:52:58 2019 UTC (5 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.94.12.5: +3 -3 lines
Diff to previous 1.94.12.5 (colored) to branchpoint 1.94 (colored)

revert previous, just define the hook here

Revision 1.94.12.5 / (download) - annotate - [select for diffs], Thu Jan 24 04:41:34 2019 UTC (5 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.94.12.4: +3 -2 lines
Diff to previous 1.94.12.4 (colored) to branchpoint 1.94 (colored)

And include the definition

Revision 1.94.12.4 / (download) - annotate - [select for diffs], Thu Jan 24 04:37:24 2019 UTC (5 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.94.12.3: +3 -2 lines
Diff to previous 1.94.12.3 (colored) to branchpoint 1.94 (colored)

Make sure we declare the hook variable

Revision 1.94.12.3 / (download) - annotate - [select for diffs], Thu Jan 24 04:08:09 2019 UTC (5 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.94.12.2: +3 -3 lines
Diff to previous 1.94.12.2 (colored) to branchpoint 1.94 (colored)

Rework placement of the new netbsd32_machine32_hook

Revision 1.94.12.2 / (download) - annotate - [select for diffs], Thu Jan 24 03:27:24 2019 UTC (5 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.94.12.1: +4 -7 lines
Diff to previous 1.94.12.1 (colored) to branchpoint 1.94 (colored)

Replace weak symbol definition for machine32 with a hook.  Our in-kernel
linker doesn't handle weak symbols, so this prevented us from loading the
compat_linux32 module.

XXX There don't seem to be any other consumers of machine32 (nor does
XXX there seem to be any consumers of machine_arch32), even though it
XXX is defined for aarch64, arm32, and riscv).

Revision 1.94.12.1 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:43 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.94: +97 -3 lines
Diff to previous 1.94 (colored)

Sync with HEAD

Revision 1.97 / (download) - annotate - [select for diffs], Sun Jul 15 21:31:00 2018 UTC (5 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728
Changes since 1.96: +8 -6 lines
Diff to previous 1.96 (colored)

- fix constants and explain limit
- use machine32 instead of hard-coded x86 stuff

Revision 1.96 / (download) - annotate - [select for diffs], Mon Jul 9 05:43:35 2018 UTC (5 years, 7 months ago) by msaitoh
Branch: MAIN
Changes since 1.95: +4 -4 lines
Diff to previous 1.95 (colored)

 Fix compile error.

Revision 1.95 / (download) - annotate - [select for diffs], Sun Jul 8 17:58:39 2018 UTC (5 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.94: +94 -2 lines
Diff to previous 1.94 (colored)

Enable executing linux go binaries by using a special probe function for them.

Revision 1.86.6.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:54 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.86.6.1: +4 -2 lines
Diff to previous 1.86.6.1 (colored) to branchpoint 1.86 (colored) next main 1.87 (colored)

update from HEAD

Revision 1.91.4.3 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:59 2017 UTC (6 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.91.4.2: +3 -3 lines
Diff to previous 1.91.4.2 (colored) to branchpoint 1.91 (colored) next main 1.92 (colored)

Sync with HEAD

Revision 1.93.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:42 2017 UTC (6 years, 10 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.93: +3 -3 lines
Diff to previous 1.93 (colored) next main 1.94 (colored)

Sync with HEAD

Revision 1.93.2.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:25 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.93: +3 -3 lines
Diff to previous 1.93 (colored) next main 1.94 (colored)

Sync with HEAD

Revision 1.94 / (download) - annotate - [select for diffs], Mon Feb 6 23:45:49 2017 UTC (7 years ago) by uwe
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-compat-base, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.93: +3 -3 lines
Diff to previous 1.93 (colored)

Use ELFOSABI_LINUX instead of a magic number.

Revision 1.91.4.2 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:55 2015 UTC (8 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.91.4.1: +3 -3 lines
Diff to previous 1.91.4.1 (colored) to branchpoint 1.91 (colored)

Sync with HEAD

Revision 1.93 / (download) - annotate - [select for diffs], Thu Jun 11 02:54:00 2015 UTC (8 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, 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, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.92: +3 -3 lines
Diff to previous 1.92 (colored)

Force *stackp to (uintptr_t) before possibly moving to a smaller pointer size.

Revision 1.91.4.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:06 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.91: +4 -2 lines
Diff to previous 1.91 (colored)

Sync with HEAD

Revision 1.91.2.1 / (download) - annotate - [select for diffs], Sun Mar 29 09:07:55 2015 UTC (8 years, 11 months ago) by martin
Branch: 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
Changes since 1.91: +4 -2 lines
Diff to previous 1.91 (colored) next main 1.92 (colored)

Pull up following revision(s) (requested by maxv in ticket #650):
	sys/compat/netbsd32/netbsd32_exec_elf32.c: revision 1.39
	sys/kern/exec_elf.c: revision 1.71
	sys/compat/linux32/common/linux32_exec_elf32.c: revision 1.18
	sys/compat/linux/common/linux_exec_elf32.c: revision 1.92
	sys/compat/svr4_32/svr4_32_exec_elf32.c: revision 1.24
Zero-fill the ELF auxiliary vectors. Otherwise, on 64bit systems, the
padding between a_v and a_type contains kernel garbage, therefore
exposed to userland.
Original report by uebayasi@

Revision 1.92 / (download) - annotate - [select for diffs], Fri Mar 20 20:36:27 2015 UTC (8 years, 11 months ago) by maxv
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606, nick-nhusb-base-20150406
Changes since 1.91: +4 -2 lines
Diff to previous 1.91 (colored)

Zero-fill the ELF auxiliary vectors. Otherwise, on 64bit systems, the
padding between a_v and a_type contains kernel garbage, therefore
exposed to userland.

Original report by uebayasi@

Revision 1.86.6.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:32 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.86: +60 -62 lines
Diff to previous 1.86 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.90.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:33 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.90: +43 -62 lines
Diff to previous 1.90 (colored) next main 1.91 (colored)

Rebase.

Revision 1.84.8.2 / (download) - annotate - [select for diffs], Thu May 22 11:40:16 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.84.8.1: +60 -62 lines
Diff to previous 1.84.8.1 (colored) to branchpoint 1.84 (colored) next main 1.85 (colored)

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.86.10.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:32 2014 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.86: +60 -62 lines
Diff to previous 1.86 (colored) next main 1.87 (colored)

sync with head

Revision 1.81.16.1 / (download) - annotate - [select for diffs], Wed May 14 05:18:05 2014 UTC (9 years, 9 months ago) by msaitoh
Branch: netbsd-5-1
CVS Tags: netbsd-5-1-5-RELEASE
Changes since 1.81: +44 -66 lines
Diff to previous 1.81 (colored) next main 1.82 (colored)

Pull up following revision(s) (requested by maxv in ticket #1902):
	src/sys/compat/linux/common/linux_exec_elf32.c	1.91 via patch

A specially-crafted binary could easily control a kernel array index.
Add some checks to ensure that nothing will be read outside the allocated
area. Rewrite the code so that we don't need to allocate the whole section.

Spotted by several developers, patch from chs@/enami@

Revision 1.81.20.1 / (download) - annotate - [select for diffs], Wed May 14 05:15:39 2014 UTC (9 years, 9 months ago) by msaitoh
Branch: netbsd-5-2
CVS Tags: netbsd-5-2-3-RELEASE
Changes since 1.81: +44 -66 lines
Diff to previous 1.81 (colored) next main 1.82 (colored)

Pull up following revision(s) (requested by maxv in ticket #1902):
	src/sys/compat/linux/common/linux_exec_elf32.c	1.91 via patch

A specially-crafted binary could easily control a kernel array index.
Add some checks to ensure that nothing will be read outside the allocated
area. Rewrite the code so that we don't need to allocate the whole section.

Spotted by several developers, patch from chs@/enami@

Revision 1.81.10.1 / (download) - annotate - [select for diffs], Wed May 14 05:14:47 2014 UTC (9 years, 9 months ago) by msaitoh
Branch: netbsd-5
Changes since 1.81: +44 -66 lines
Diff to previous 1.81 (colored) next main 1.82 (colored)

Pull up following revision(s) (requested by maxv in ticket #1902):
	src/sys/compat/linux/common/linux_exec_elf32.c	1.91 via patch

A specially-crafted binary could easily control a kernel array index.
Add some checks to ensure that nothing will be read outside the allocated
area. Rewrite the code so that we don't need to allocate the whole section.

Spotted by several developers, patch from chs@/enami@

Revision 1.86.16.1 / (download) - annotate - [select for diffs], Mon Apr 21 21:03:53 2014 UTC (9 years, 10 months ago) by bouyer
Branch: netbsd-6-1
CVS Tags: netbsd-6-1-5-RELEASE
Changes since 1.86: +43 -62 lines
Diff to previous 1.86 (colored) next main 1.87 (colored)

Pull up following revision(s) (requested by maxv in ticket #1051):
	sys/compat/linux/common/linux_exec_elf32.c: revision 1.91 via patch
A specially-crafted binary could easily control a kernel array index.
Add some checks to ensure that nothing will be read outside the allocated
area. Rewrite the code so that we don't need to allocate the whole section.
Spotted by several developers, patch from chs@/enami@

Revision 1.86.8.1 / (download) - annotate - [select for diffs], Mon Apr 21 21:03:45 2014 UTC (9 years, 10 months ago) by bouyer
Branch: netbsd-6-0
CVS Tags: netbsd-6-0-6-RELEASE
Changes since 1.86: +43 -62 lines
Diff to previous 1.86 (colored) next main 1.87 (colored)

Pull up following revision(s) (requested by maxv in ticket #1051):
	sys/compat/linux/common/linux_exec_elf32.c: revision 1.91 via patch
A specially-crafted binary could easily control a kernel array index.
Add some checks to ensure that nothing will be read outside the allocated
area. Rewrite the code so that we don't need to allocate the whole section.
Spotted by several developers, patch from chs@/enami@

Revision 1.86.2.1 / (download) - annotate - [select for diffs], Mon Apr 21 21:03:38 2014 UTC (9 years, 10 months ago) by bouyer
Branch: netbsd-6
Changes since 1.86: +43 -62 lines
Diff to previous 1.86 (colored) next main 1.87 (colored)

Pull up following revision(s) (requested by maxv in ticket #1051):
	sys/compat/linux/common/linux_exec_elf32.c: revision 1.91 via patch
A specially-crafted binary could easily control a kernel array index.
Add some checks to ensure that nothing will be read outside the allocated
area. Rewrite the code so that we don't need to allocate the whole section.
Spotted by several developers, patch from chs@/enami@

Revision 1.91 / (download) - annotate - [select for diffs], Tue Apr 15 17:29:00 2014 UTC (9 years, 10 months ago) by maxv
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, rmind-smpnet-nbase, rmind-smpnet-base, nick-nhusb-base, netbsd-7-base
Branch point for: nick-nhusb, netbsd-7
Changes since 1.90: +43 -62 lines
Diff to previous 1.90 (colored)

A specially-crafted binary could easily control a kernel array index.
Add some checks to ensure that nothing will be read outside the allocated
area. Rewrite the code so that we don't need to allocate the whole section.

Spotted by several developers, patch from chs@/enami@

Revision 1.90 / (download) - annotate - [select for diffs], Sun Feb 23 11:09:42 2014 UTC (10 years ago) by njoly
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.89: +3 -3 lines
Diff to previous 1.89 (colored)

Fix wrong KASSERTs. Do not compare size vs. entries count.

Revision 1.89 / (download) - annotate - [select for diffs], Fri Feb 21 07:53:53 2014 UTC (10 years ago) by maxv
Branch: MAIN
Changes since 1.88: +3 -2 lines
Diff to previous 1.88 (colored)

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.88 / (download) - annotate - [select for diffs], Sun Feb 9 16:41:42 2014 UTC (10 years ago) by chs
Branch: MAIN
Changes since 1.87: +7 -6 lines
Diff to previous 1.87 (colored)

account for the 16 bytes of AT_RANDOM data in the stack setup.  fixes PR 48518.
use cprng_strong32() instead of random().  add AT_RANDOM support for linux32.

Revision 1.87 / (download) - annotate - [select for diffs], Mon Nov 18 01:32:22 2013 UTC (10 years, 3 months ago) by chs
Branch: MAIN
Changes since 1.86: +17 -2 lines
Diff to previous 1.86 (colored)

implement AT_RANDOM.

Revision 1.84.8.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:17 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.84: +11 -12 lines
Diff to previous 1.84 (colored)

sync with head

Revision 1.84.12.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:33:54 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.84: +11 -12 lines
Diff to previous 1.84 (colored) next main 1.85 (colored)

merge to -current.

Revision 1.86 / (download) - annotate - [select for diffs], Sun Feb 12 16:34:10 2012 UTC (12 years ago) by matt
Branch: 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-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, 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, 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, netbsd-6-1, netbsd-6-0, netbsd-6
Changes since 1.85: +10 -10 lines
Diff to previous 1.85 (colored)

Change old-style function defintions to C89 prototypes.

Approved by releng.

Revision 1.85 / (download) - annotate - [select for diffs], Fri Feb 3 20:11:53 2012 UTC (12 years ago) by matt
Branch: MAIN
Changes since 1.84: +3 -4 lines
Diff to previous 1.84 (colored)

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.83.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:52:47 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.83: +3 -2 lines
Diff to previous 1.83 (colored) next main 1.84 (colored)

sync with head

Revision 1.83.2.1 / (download) - annotate - [select for diffs], Fri Oct 22 07:21:47 2010 UTC (13 years, 4 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.83: +3 -2 lines
Diff to previous 1.83 (colored) next main 1.84 (colored)

Sync with HEAD (-D20101022).

Revision 1.80.20.3 / (download) - annotate - [select for diffs], Sat Oct 9 03:32:01 2010 UTC (13 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.80.20.2: +3 -2 lines
Diff to previous 1.80.20.2 (colored) to branchpoint 1.80 (colored) next main 1.81 (colored)

sync with head

Revision 1.84 / (download) - annotate - [select for diffs], Sat Sep 11 20:49:28 2010 UTC (13 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base11, uebayasi-xip-base4, uebayasi-xip-base3, 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
Changes since 1.83: +3 -2 lines
Diff to previous 1.83 (colored)

always supply an auxiliary vector for linux ELF processes.
static executables (such as newer versions of /sbin/ldconfig)
require this to work properly.  since static executables
also don't have a PT_PHDR entry, use the same heuristic as
linux does to provide a value for AT_PHDR in this case.

Revision 1.82.4.1 / (download) - annotate - [select for diffs], Wed May 13 17:18:56 2009 UTC (14 years, 9 months ago) by jym
Branch: jym-xensuspend
Changes since 1.82: +4 -11 lines
Diff to previous 1.82 (colored) next main 1.83 (colored)

Sync with HEAD.

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

Revision 1.80.20.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:22 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.80.20.1: +6 -11 lines
Diff to previous 1.80.20.1 (colored) to branchpoint 1.80 (colored)

sync with head.

Revision 1.81.8.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:07 2009 UTC (14 years, 10 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.81.8.1: +4 -11 lines
Diff to previous 1.81.8.1 (colored) to branchpoint 1.81 (colored) next main 1.82 (colored)

Sync with HEAD.

Revision 1.83 / (download) - annotate - [select for diffs], Sun Mar 15 15:55:51 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base10, uebayasi-xip-base2, uebayasi-xip-base1, 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, rmind-uvmplock
Changes since 1.82: +4 -11 lines
Diff to previous 1.82 (colored)

ansify function definitions

Revision 1.81.8.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:17:31 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.81: +4 -2 lines
Diff to previous 1.81 (colored)

Sync with HEAD.

Revision 1.80.16.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:44 2009 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.80.16.1: +2 -0 lines
Diff to previous 1.80.16.1 (colored) to branchpoint 1.80 (colored) next main 1.81 (colored)

Sync with HEAD.

Revision 1.81.6.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:56 2008 UTC (15 years, 2 months ago) by haad
Branch: haad-dm
Changes since 1.81: +4 -2 lines
Diff to previous 1.81 (colored) next main 1.82 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.82 / (download) - annotate - [select for diffs], Thu Nov 20 09:26:06 2008 UTC (15 years, 3 months ago) by ad
Branch: 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
Changes since 1.81: +4 -2 lines
Diff to previous 1.81 (colored)

PR port-amd64/39964 modules/compat_linux: missing symbols on amd64

Revision 1.80.16.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:02 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.80: +2 -9 lines
Diff to previous 1.80 (colored)

Sync with HEAD.

Revision 1.80.18.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:19 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.80: +2 -9 lines
Diff to previous 1.80 (colored) next main 1.81 (colored)

sync with head.

Revision 1.80.20.1 / (download) - annotate - [select for diffs], Fri May 16 02:23:42 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.80: +2 -9 lines
Diff to previous 1.80 (colored)

sync with head.

Revision 1.81.2.2 / (download) - annotate - [select for diffs], Wed May 14 01:35:04 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.81.2.1: +2 -3 lines
Diff to previous 1.81.2.1 (colored) to branchpoint 1.81 (colored) next main 1.82 (colored)

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.81.2.1 / (download) - annotate - [select for diffs], Sat May 10 23:48:55 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.81: +3 -2 lines
Diff to previous 1.81 (colored)

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.81 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:43 2008 UTC (15 years, 10 months ago) by martin
Branch: 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, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-dm-base1
Branch point for: wrstuden-revivesa, nick-hppapmap, netbsd-5-2, netbsd-5-1, netbsd-5, haad-dm
Changes since 1.80: +2 -9 lines
Diff to previous 1.80 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.79.8.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:24:55 2007 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.79: +3 -3 lines
Diff to previous 1.79 (colored) next main 1.80 (colored)

sync with HEAD

Revision 1.69.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:29:35 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.69.2.4: +3 -3 lines
Diff to previous 1.69.2.4 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored)

sync with head.

Revision 1.79.6.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:43:56 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.79: +3 -3 lines
Diff to previous 1.79 (colored) next main 1.80 (colored)

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.79.12.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:36:55 2007 UTC (16 years, 4 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.79: +3 -3 lines
Diff to previous 1.79 (colored) next main 1.80 (colored)

Sync with HEAD.

Revision 1.78.2.2 / (download) - annotate - [select for diffs], Tue Oct 23 20:17:00 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.78.2.1: +3 -3 lines
Diff to previous 1.78.2.1 (colored) to branchpoint 1.78 (colored) next main 1.79 (colored)

Sync with head.

Revision 1.80 / (download) - annotate - [select for diffs], Fri Oct 19 12:16:39 2007 UTC (16 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, 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-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.79: +3 -3 lines
Diff to previous 1.79 (colored)

machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.69.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:32:21 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.69.2.3: +5 -6 lines
Diff to previous 1.69.2.3 (colored) to branchpoint 1.69 (colored)

sync with head.

Revision 1.78.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:04:13 2007 UTC (16 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.78: +3 -4 lines
Diff to previous 1.78 (colored) next main 1.79 (colored)

Sync with head.

Revision 1.78.2.1 / (download) - annotate - [select for diffs], Sun May 27 14:35:04 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.78: +3 -4 lines
Diff to previous 1.78 (colored)

Sync with head.

Revision 1.77.2.2 / (download) - annotate - [select for diffs], Mon May 7 10:55:12 2007 UTC (16 years, 9 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.77.2.1: +3 -4 lines
Diff to previous 1.77.2.1 (colored) to branchpoint 1.77 (colored) next main 1.78 (colored)

sync with head.

Revision 1.79 / (download) - annotate - [select for diffs], Sun Apr 22 08:29:57 2007 UTC (16 years, 10 months ago) by dsl
Branch: 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
Changes since 1.78: +3 -4 lines
Diff to previous 1.78 (colored)

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.77.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:52:26 2007 UTC (16 years, 11 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.77: +4 -4 lines
Diff to previous 1.77 (colored)

Sync with HEAD.

Revision 1.78 / (download) - annotate - [select for diffs], Sun Mar 4 06:01:23 2007 UTC (17 years ago) by christos
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.77: +4 -4 lines
Diff to previous 1.77 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.69.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:09:18 2007 UTC (17 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.69.2.2: +2 -3 lines
Diff to previous 1.69.2.2 (colored) to branchpoint 1.69 (colored)

sync with head.

Revision 1.77 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:19 2007 UTC (17 years ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.76: +2 -3 lines
Diff to previous 1.76 (colored)

Merge newlock2 to head.

Revision 1.74.4.2 / (download) - annotate - [select for diffs], Tue Jan 30 13:51:33 2007 UTC (17 years, 1 month ago) by ad
Branch: newlock2
Changes since 1.74.4.1: +2 -3 lines
Diff to previous 1.74.4.1 (colored) to branchpoint 1.74 (colored) next main 1.75 (colored)

Remove support for SA. Ok core@.

Revision 1.69.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:38 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.69.2.1: +83 -14 lines
Diff to previous 1.69.2.1 (colored) to branchpoint 1.69 (colored)

sync with head.

Revision 1.74.6.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:47 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.74.6.1: +3 -3 lines
Diff to previous 1.74.6.1 (colored) to branchpoint 1.74 (colored) next main 1.75 (colored)

sync with head.

Revision 1.74.4.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:06 2006 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.74: +4 -8 lines
Diff to previous 1.74 (colored)

Sync with head.

Revision 1.76 / (download) - annotate - [select for diffs], Thu Nov 16 01:32:42 2006 UTC (17 years, 3 months ago) by christos
Branch: 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
Changes since 1.75: +3 -3 lines
Diff to previous 1.75 (colored)

__unused removal on arguments; approved by core.

Revision 1.74.6.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:24 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.74: +4 -8 lines
Diff to previous 1.74 (colored)

sync with head

Revision 1.75 / (download) - annotate - [select for diffs], Thu Oct 12 01:30:48 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.74: +4 -8 lines
Diff to previous 1.74 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.70.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:45:52 2006 UTC (17 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.70: +85 -22 lines
Diff to previous 1.70 (colored) next main 1.71 (colored)

sync with head

Revision 1.71.2.2 / (download) - annotate - [select for diffs], Fri Aug 11 15:43:29 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.71.2.1: +81 -8 lines
Diff to previous 1.71.2.1 (colored) to branchpoint 1.71 (colored) next main 1.72 (colored)

sync with head

Revision 1.74 / (download) - annotate - [select for diffs], Mon Aug 7 14:19:57 2006 UTC (17 years, 6 months ago) by manu
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.73: +77 -3 lines
Diff to previous 1.73 (colored)

Add a new signature test for linux probe function. We look for a .debuglink
section, which is specific to the Linux dynamic interpeter (yes, Linux
can execute it as a stand alone program)

Revision 1.73 / (download) - annotate - [select for diffs], Sun Jul 23 22:06:09 2006 UTC (17 years, 7 months ago) by ad
Branch: MAIN
Changes since 1.72: +6 -7 lines
Diff to previous 1.72 (colored)

Use the LWP cached credentials where sane.

Revision 1.69.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:59:12 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.69: +31 -40 lines
Diff to previous 1.69 (colored)

sync with head.

Revision 1.70.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:35:50 2006 UTC (17 years, 9 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.70.6.1: +7 -6 lines
Diff to previous 1.70.6.1 (colored) next main 1.71 (colored)

Sync with head.

Revision 1.71.6.1 / (download) - annotate - [select for diffs], Wed May 24 15:48:27 2006 UTC (17 years, 9 months ago) by tron
Branch: peter-altq
Changes since 1.71: +7 -6 lines
Diff to previous 1.71 (colored) next main 1.72 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.71.2.1 / (download) - annotate - [select for diffs], Wed May 24 10:57:28 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.71: +7 -6 lines
Diff to previous 1.71 (colored)

sync with head.

Revision 1.72 / (download) - annotate - [select for diffs], Sun May 14 21:24:50 2006 UTC (17 years, 9 months ago) by elad
Branch: 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
Changes since 1.71: +7 -6 lines
Diff to previous 1.71 (colored)

integrate kauth.

Revision 1.71.4.2 / (download) - annotate - [select for diffs], Sat May 6 23:31:26 2006 UTC (17 years, 9 months ago) by christos
Branch: elad-kernelauth
Changes since 1.71.4.1: +3 -2 lines
Diff to previous 1.71.4.1 (colored) to branchpoint 1.71 (colored) next main 1.72 (colored)

- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
  that need it.

Approved by core.

Revision 1.70.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:38:13 2006 UTC (17 years, 10 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.70: +5 -16 lines
Diff to previous 1.70 (colored)

Sync with head.

Revision 1.71.4.1 / (download) - annotate - [select for diffs], Wed Mar 8 01:48:38 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.71: +6 -6 lines
Diff to previous 1.71 (colored)

Adapt to kernel authorization KPI.

Revision 1.70.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 15:38:59 2006 UTC (18 years ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.70: +5 -16 lines
Diff to previous 1.70 (colored) next main 1.71 (colored)

sync with head.

Revision 1.71 / (download) - annotate - [select for diffs], Thu Feb 9 19:18:56 2006 UTC (18 years ago) by manu
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, elad-kernelauth-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.70: +5 -16 lines
Diff to previous 1.70 (colored)

Add initial (but unfinished) COMPAT_LINUX32 for amd64. This is good enough so
that the i386 license manager part of amd64 version of Fluent works.

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

Revision 1.70 / (download) - annotate - [select for diffs], Sun Dec 11 12:20:19 2005 UTC (18 years, 2 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.69: +26 -25 lines
Diff to previous 1.69 (colored)

merge ktrace-lwp.

Revision 1.64.2.7 / (download) - annotate - [select for diffs], Thu Nov 10 14:01:06 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.64.2.6: +9 -6 lines
Diff to previous 1.64.2.6 (colored) next main 1.65 (colored)

Sync with HEAD. Here we go again...

Revision 1.69 / (download) - annotate - [select for diffs], Sun May 29 22:08:16 2005 UTC (18 years, 9 months ago) by christos
Branch: 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
Changes since 1.68: +6 -6 lines
Diff to previous 1.68 (colored)

- sprinkle const.
- add XXXUNCONST to the emul_find() pbuf argument free'ing. XXX: this needs
  an api change.
- avoid variable shadowing.

Revision 1.68 / (download) - annotate - [select for diffs], Tue May 3 16:26:28 2005 UTC (18 years, 10 months ago) by manu
Branch: MAIN
Changes since 1.67: +5 -2 lines
Diff to previous 1.67 (colored)

First work on COMPAT_LINUX/amd64
Process startup and dynamiclinking work, but processes hang due to
Linux arch_prctl(2) not being really supported yet.

Revision 1.66.8.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:39 2005 UTC (18 years, 10 months ago) by kent
Branch: kent-audio2
Changes since 1.66: +7 -7 lines
Diff to previous 1.66 (colored) next main 1.67 (colored)

sync with -current

Revision 1.66.10.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:33:37 2005 UTC (18 years, 11 months ago) by yamt
Branch: yamt-km
Changes since 1.66: +7 -7 lines
Diff to previous 1.66 (colored) next main 1.67 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.64.2.6 / (download) - annotate - [select for diffs], Fri Mar 4 16:40:02 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.64.2.5: +7 -7 lines
Diff to previous 1.64.2.5 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.67 / (download) - annotate - [select for diffs], Sat Feb 26 23:10:19 2005 UTC (19 years ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Changes since 1.66: +7 -7 lines
Diff to previous 1.66 (colored)

nuke trailing whitespace

Revision 1.64.2.5 / (download) - annotate - [select for diffs], Thu Nov 18 21:20:23 2004 UTC (19 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.64.2.4: +6 -6 lines
Diff to previous 1.64.2.4 (colored)

Adapt to branch. macppc release builds.

Revision 1.64.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:25:38 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.64.2.3: +22 -21 lines
Diff to previous 1.64.2.3 (colored)

Fix the sync with head I botched.

Revision 1.64.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:43:42 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.64.2.2: +21 -22 lines
Diff to previous 1.64.2.2 (colored)

Sync with HEAD.

Revision 1.64.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:44:03 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.64.2.1: +8 -8 lines
Diff to previous 1.64.2.1 (colored)

Sync with HEAD

Revision 1.66 / (download) - annotate - [select for diffs], Fri Oct 31 14:04:36 2003 UTC (20 years, 4 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, 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-base, 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-0, netbsd-2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.65: +4 -5 lines
Diff to previous 1.65 (colored)

adapt for changes to kern/exec_elf32.c

Revision 1.65 / (download) - annotate - [select for diffs], Mon Oct 27 07:07:34 2003 UTC (20 years, 4 months ago) by chs
Branch: MAIN
Changes since 1.64: +6 -5 lines
Diff to previous 1.64 (colored)

uninitialized variables

Revision 1.64.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:25:46 2003 UTC (20 years, 8 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.64: +22 -21 lines
Diff to previous 1.64 (colored)

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) - annotate - [select for diffs], Sun Jun 29 22:29:28 2003 UTC (20 years, 8 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.63: +25 -26 lines
Diff to previous 1.63 (colored)

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) - annotate - [select for diffs], Sun Jun 29 11:02:25 2003 UTC (20 years, 8 months ago) by darrenr
Branch: MAIN
Changes since 1.62: +6 -6 lines
Diff to previous 1.62 (colored)

'struct proc *' -> 'struct lwp *' as required to get GENERIC for macppc built

Revision 1.62 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:21 2003 UTC (20 years, 8 months ago) by darrenr
Branch: MAIN
Changes since 1.61: +22 -21 lines
Diff to previous 1.61 (colored)

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.61 / (download) - annotate - [select for diffs], Sat Jan 18 08:02:51 2003 UTC (21 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.60: +3 -2 lines
Diff to previous 1.60 (colored)

Merge the nathanw_sa branch.

Revision 1.60.2.1 / (download) - annotate - [select for diffs], Wed Dec 18 01:05:49 2002 UTC (21 years, 2 months ago) by gmcgarry
Branch: gmcgarry_ucred
Changes since 1.60: +4 -4 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

Merge pcred and ucred, and poolify.  TBD: check backward compatibility
and factor-out some higher-level functionality.

Revision 1.51.2.9 / (download) - annotate - [select for diffs], Wed Dec 11 06:37:23 2002 UTC (21 years, 2 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.51.2.8: +103 -8 lines
Diff to previous 1.51.2.8 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored)

Sync with HEAD.

Revision 1.60 / (download) - annotate - [select for diffs], Fri Nov 29 19:13:16 2002 UTC (21 years, 3 months ago) by jdolecek
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Branch point for: gmcgarry_ucred
Changes since 1.59: +5 -10 lines
Diff to previous 1.59 (colored)

Get the dynamic interpreter location using emul_find_interp(), so that
it checks both the alternative/emul tree, and the non-emul tree.
This makes it possible to run chrooted emulated binaries without need
to setup shadow /emul tree within the chroot hierarchy.
Only tested for COMPAT_LINUX, changes to other compat modules were
mechanical.
Fixes kern/19161 by Christian Groessler.

Revision 1.59 / (download) - annotate - [select for diffs], Wed Nov 13 15:16:29 2002 UTC (21 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.58: +102 -2 lines
Diff to previous 1.58 (colored)

add generic linux compat ELF copyargs function

this gives:
* linux sysconf(_SC_CLK_TCK) gives correct value for linux binaries (hz)
  even if hz != 100
* glibc gets proper information on real/effective uid and enables
  secure mode for suid binaries

g/c LINUX_COPYARGS_FUNCTION, replaced by linux ELF copyargs function
g/c alpha-specific linux ELF copyargs function and linux ELF defines

Revision 1.51.2.8 / (download) - annotate - [select for diffs], Mon Nov 11 22:07:15 2002 UTC (21 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.51.2.7: +2 -1 lines
Diff to previous 1.51.2.7 (colored) to branchpoint 1.51 (colored)

Catch up to -current

Revision 1.58 / (download) - annotate - [select for diffs], Tue Oct 22 23:31:24 2002 UTC (21 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-aftermerge
Changes since 1.57: +4 -3 lines
Diff to previous 1.57 (colored)

remove XXX should die comment from the define; otherwise traditional cpp
screws up the elf name formation.

Revision 1.51.4.6 / (download) - annotate - [select for diffs], Thu Oct 10 18:38:02 2002 UTC (21 years, 4 months ago) by jdolecek
Branch: kqueue
Changes since 1.51.4.5: +7 -2 lines
Diff to previous 1.51.4.5 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.51.2.7 / (download) - annotate - [select for diffs], Tue Sep 17 21:19:01 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.51.2.6: +7 -2 lines
Diff to previous 1.51.2.6 (colored) to branchpoint 1.51 (colored)

Catch up to -current.

Revision 1.57 / (download) - annotate - [select for diffs], Thu Sep 5 14:32:49 2002 UTC (21 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: kqueue-base
Changes since 1.56: +7 -2 lines
Diff to previous 1.56 (colored)

check out EI_OSABI and EI_ABIVERSION for linux signatures. This is what
http://upx.sourceforge.net/ binaries are like.

Revision 1.51.4.5 / (download) - annotate - [select for diffs], Sun Jun 23 17:44:20 2002 UTC (21 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.51.4.4: +12 -12 lines
Diff to previous 1.51.4.4 (colored) to branchpoint 1.51 (colored)

catch up with -current on kqueue branch

Revision 1.51.2.6 / (download) - annotate - [select for diffs], Wed May 29 21:32:37 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.51.2.5: +3 -2 lines
Diff to previous 1.51.2.5 (colored) to branchpoint 1.51 (colored)

#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.51.2.5 / (download) - annotate - [select for diffs], Mon Apr 1 07:44:24 2002 UTC (21 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.51.2.4: +12 -12 lines
Diff to previous 1.51.2.4 (colored) to branchpoint 1.51 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.56 / (download) - annotate - [select for diffs], Fri Mar 22 17:14:18 2002 UTC (21 years, 11 months ago) by christos
Branch: 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
Changes since 1.55: +12 -12 lines
Diff to previous 1.55 (colored)

gc debugging printfs.

Revision 1.51.4.4 / (download) - annotate - [select for diffs], Sat Mar 16 16:00:37 2002 UTC (21 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.51.4.3: +6 -5 lines
Diff to previous 1.51.4.3 (colored) to branchpoint 1.51 (colored)

Catch up with -current.

Revision 1.51.2.4 / (download) - annotate - [select for diffs], Thu Feb 28 04:12:55 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.51.2.3: +6 -5 lines
Diff to previous 1.51.2.3 (colored) to branchpoint 1.51 (colored)

Catch up to -current.

Revision 1.55 / (download) - annotate - [select for diffs], Fri Feb 15 20:02:56 2002 UTC (22 years ago) by christos
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base, eeh-devprop-base, eeh-devprop
Changes since 1.54: +6 -5 lines
Diff to previous 1.54 (colored)

s/printf/uprintf/

Revision 1.51.4.3 / (download) - annotate - [select for diffs], Thu Jan 10 19:51:41 2002 UTC (22 years, 1 month ago) by thorpej
Branch: kqueue
Changes since 1.51.4.2: +4 -1 lines
Diff to previous 1.51.4.2 (colored) to branchpoint 1.51 (colored)

Sync kqueue branch with -current.

Revision 1.51.2.3 / (download) - annotate - [select for diffs], Wed Nov 14 19:13:09 2001 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.51.2.2: +4 -1 lines
Diff to previous 1.51.2.2 (colored) to branchpoint 1.51 (colored)

Catch up to -current.

Revision 1.54 / (download) - annotate - [select for diffs], Tue Nov 13 02:08:51 2001 UTC (22 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.53: +4 -1 lines
Diff to previous 1.53 (colored)

add RCSIDs (including regeneration of files as appropriate)

Revision 1.51.2.2 / (download) - annotate - [select for diffs], Fri Sep 21 22:35:18 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.51.2.1: +7 -12 lines
Diff to previous 1.51.2.1 (colored) to branchpoint 1.51 (colored)

Catch up to -current.

Revision 1.51.4.2 / (download) - annotate - [select for diffs], Thu Sep 13 01:15:23 2001 UTC (22 years, 5 months ago) by thorpej
Branch: kqueue
Changes since 1.51.4.1: +7 -12 lines
Diff to previous 1.51.4.1 (colored) to branchpoint 1.51 (colored)

Update the kqueue branch to HEAD.

Revision 1.53 / (download) - annotate - [select for diffs], Thu Aug 30 20:22:08 2001 UTC (22 years, 6 months ago) by manu
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Changes since 1.52: +7 -12 lines
Diff to previous 1.52 (colored)

Changed the way signature tests are done. This makes possible to run
ld.so as an executable on the PowerPC (Linux's ldd does this), and it also
much clearer IMHO.

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Fri Aug 24 00:08:49 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.51: +22 -25 lines
Diff to previous 1.51 (colored)

Catch up with -current.

Revision 1.51.4.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:12:43 2001 UTC (22 years, 7 months ago) by lukem
Branch: kqueue
Changes since 1.51: +22 -25 lines
Diff to previous 1.51 (colored)

update to -current

Revision 1.52 / (download) - annotate - [select for diffs], Sat Jul 14 02:05:06 2001 UTC (22 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.51: +22 -25 lines
Diff to previous 1.51 (colored)

rename elf32_read_from to exec_read_from since it is used in many places
now.

Revision 1.42.2.5 / (download) - annotate - [select for diffs], Sun Feb 11 19:14:01 2001 UTC (23 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.42.2.4: +88 -4 lines
Diff to previous 1.42.2.4 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored)

Sync with HEAD.

Revision 1.51 / (download) - annotate - [select for diffs], Fri Jan 19 01:43:31 2001 UTC (23 years, 1 month ago) by manu
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa, kqueue
Changes since 1.50: +88 -4 lines
Diff to previous 1.50 (colored)

Added a linux_atexit_signature to match Linux statically linked ELF binaries. It
searches for a __libc_atexit ELF section, which is specific to Linux

Revision 1.42.2.4 / (download) - annotate - [select for diffs], Fri Jan 5 17:35:26 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.42.2.3: +64 -88 lines
Diff to previous 1.42.2.3 (colored) to branchpoint 1.42 (colored)

Sync with HEAD

Revision 1.50 / (download) - annotate - [select for diffs], Fri Dec 15 06:14:21 2000 UTC (23 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.49: +65 -89 lines
Diff to previous 1.49 (colored)

Tighten up the ELF signature checks, and actually look for the ABI tag added
in newer glibc versions.

Revision 1.42.2.3 / (download) - annotate - [select for diffs], Fri Dec 8 09:08:27 2000 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.42.2.2: +2 -1 lines
Diff to previous 1.42.2.2 (colored) to branchpoint 1.42 (colored)

Sync with HEAD.

Revision 1.49 / (download) - annotate - [select for diffs], Fri Dec 1 12:28:33 2000 UTC (23 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.48: +3 -2 lines
Diff to previous 1.48 (colored)

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.42.2.2 / (download) - annotate - [select for diffs], Wed Nov 22 16:02:45 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.42.2.1: +4 -29 lines
Diff to previous 1.42.2.1 (colored) to branchpoint 1.42 (colored)

Sync with HEAD.

Revision 1.48 / (download) - annotate - [select for diffs], Tue Nov 21 00:37:54 2000 UTC (23 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.47: +4 -25 lines
Diff to previous 1.47 (colored)

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.42.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:08:22 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.42: +12 -16 lines
Diff to previous 1.42 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.47 / (download) - annotate - [select for diffs], Fri Nov 17 03:55:18 2000 UTC (23 years, 3 months ago) by erh
Branch: MAIN
Changes since 1.46: +2 -6 lines
Diff to previous 1.46 (colored)

Make the linux compatibilty code work on the alpha.  (horay!) (at last!)
Two main changes:
	Create a linux_elf64_copyargs that uses the linux specific LinuxAuxInfo
	structure.  This is only used on the alpha.  i386 and m68k use the
	standard elf copyargs function.

	Since linux's approach to binary compatibilty is to look as much
	like osf1 as possible, add all the osf1 syscalls that we have
	implemented to the linux syscall table.  This includes get/setsysinfo,
	ported from FreeBSD.

In order for linux compat to work you must have COMPAT_OSF1, COMPAT_43,
COMPAT_09, COMPAT_12 and COMPAT_13 on also.

Revision 1.46 / (download) - annotate - [select for diffs], Mon Nov 13 21:32:18 2000 UTC (23 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

change the type of *syscallnames[] array to 'const char * const foo[]'

Revision 1.45 / (download) - annotate - [select for diffs], Thu Jun 29 02:40:39 2000 UTC (23 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.44: +1 -3 lines
Diff to previous 1.44 (colored)

remove include of <vm/vm.h>

Revision 1.44 / (download) - annotate - [select for diffs], Mon Jun 26 14:38:57 2000 UTC (23 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.43: +1 -3 lines
Diff to previous 1.43 (colored)

remove redundant vm includes.

Revision 1.42.6.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:34:27 1999 UTC (24 years, 2 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.42: +12 -12 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

Pull up to last week's -current.

Revision 1.42.4.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:40:04 1999 UTC (24 years, 3 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.42: +12 -12 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

Sync with -current

Revision 1.43 / (download) - annotate - [select for diffs], Mon Oct 25 13:55:07 1999 UTC (24 years, 4 months ago) by kleink
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, 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, minoura-xpg4dl-base, minoura-xpg4dl, fvdl-softdep-base, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase
Changes since 1.42: +12 -12 lines
Diff to previous 1.42 (colored)

Update to match new SVR4-style definition names in <sys/exec_elf.h>.

Revision 1.41.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:07:37 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

Sync w/ -current.

Revision 1.42 / (download) - annotate - [select for diffs], Fri Apr 30 23:07:01 1999 UTC (24 years, 10 months ago) by cgd
Branch: MAIN
CVS Tags: chs-ubc2-base
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

compute the value to be used for e_arglen via howmany(value, sizeof (char *)),
rather than just "value / sizeof (char *)".  While in these cases the latter
works as well, the former's a better example for other uses to copy (since
it handles the non-integral multiple case correctly).

Revision 1.41 / (download) - annotate - [select for diffs], Tue Feb 9 20:37:19 1999 UTC (25 years ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

const poisoning.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Nov 5 22:19:25 1998 UTC (25 years, 4 months ago) by erh
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Changes since 1.39: +10 -7 lines
Diff to previous 1.39 (colored)

Make sure the interpreter string is long enough to check against.

Revision 1.39 / (download) - annotate - [select for diffs], Fri Oct 23 10:54:58 1998 UTC (25 years, 4 months ago) by veego
Branch: MAIN
Changes since 1.38: +2 -1 lines
Diff to previous 1.38 (colored)

Include linux_errno.h to fix the recent error->errno losage.

Revision 1.38 / (download) - annotate - [select for diffs], Fri Oct 23 03:53:19 1998 UTC (25 years, 4 months ago) by erh
Branch: MAIN
Changes since 1.37: +20 -3 lines
Diff to previous 1.37 (colored)

Change linux_error to native_to_linux_errno.  Add some (unrelated) debugging printfs.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Oct 7 22:17:57 1998 UTC (25 years, 4 months ago) by erh
Branch: MAIN
Changes since 1.36: +1 -2 lines
Diff to previous 1.36 (colored)

The siginfo include line is not needed here anymore.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Oct 4 16:51:18 1998 UTC (25 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

unobfuscate: !strncmp() != 0 -> strncmp() == 0

Revision 1.35 / (download) - annotate - [select for diffs], Sun Oct 4 09:40:09 1998 UTC (25 years, 5 months ago) by fvdl
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

Fix wrong strncmp test.

Revision 1.34 / (download) - annotate - [select for diffs], Sun Oct 4 00:02:32 1998 UTC (25 years, 5 months ago) by fvdl
Branch: MAIN
Changes since 1.33: +3 -31 lines
Diff to previous 1.33 (colored)

Assign my copyright to TNF. Merge with others were appropriate.
Regen syscall files after script change.

Revision 1.33 / (download) - annotate - [select for diffs], Sat Oct 3 20:28:03 1998 UTC (25 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.32: +9 -23 lines
Diff to previous 1.32 (colored)

Remove stray debugging printfs

Revision 1.32 / (download) - annotate - [select for diffs], Sat Oct 3 20:17:41 1998 UTC (25 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.31: +9 -9 lines
Diff to previous 1.31 (colored)

Attempt to fix the mess.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Oct 1 03:11:33 1998 UTC (25 years, 5 months ago) by erh
Branch: MAIN
Changes since 1.30: +146 -431 lines
Diff to previous 1.30 (colored)

Split compat/linux/linux_exec.c into common, elf and a.out parts.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Sep 11 12:50:08 1998 UTC (25 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

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) - annotate - [select for diffs], Sat Sep 5 14:50:26 1998 UTC (25 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.28: +37 -2 lines
Diff to previous 1.28 (colored)

Assign copyright to TNF.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Aug 9 20:37:54 1998 UTC (25 years, 6 months ago) by perry
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

bzero->memset, bcopy->memcpy, bcmp->memcmp

Revision 1.27 / (download) - annotate - [select for diffs], Tue Jul 28 21:39:54 1998 UTC (25 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.26: +3 -2 lines
Diff to previous 1.26 (colored)

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) - annotate - [select for diffs], Thu Jan 29 12:02:14 1998 UTC (26 years, 1 month ago) by mellon
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Pull up 1.26 (mycroft)

Revision 1.26 / (download) - annotate - [select for diffs], Sat Jan 24 12:32:15 1998 UTC (26 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

Use linux_setregs().

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Tue Dec 10 08:45:02 1996 UTC (27 years, 2 months ago) by mycroft
Changes since 1.13: +7 -2 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

From trunk:
Do execv() and execve() path name translation consistently across
emulations.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Oct 13 18:30:05 1996 UTC (27 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.24: +2 -1 lines
Diff to previous 1.24 (colored)

catch up with Jason's exec.h inclusion.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Oct 10 17:51:56 1996 UTC (27 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.23: +1 -2 lines
Diff to previous 1.23 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.23 / (download) - annotate - [select for diffs], Mon Oct 7 21:47:33 1996 UTC (27 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

include <sys/exec.h> rather than <machine/exec.h>

Revision 1.22 / (download) - annotate - [select for diffs], Sat Oct 5 00:12:49 1996 UTC (27 years, 5 months ago) by jtk
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

update to compile; needs new enum name 'Elf_sht_progbits'

Revision 1.21 / (download) - annotate - [select for diffs], Thu Oct 3 05:02:05 1996 UTC (27 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.20: +1 -4 lines
Diff to previous 1.20 (colored)

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) - annotate - [select for diffs], Thu Oct 3 02:16:18 1996 UTC (27 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.19: +4 -2 lines
Diff to previous 1.19 (colored)

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) - annotate - [select for diffs], Mon Sep 30 23:56:01 1996 UTC (27 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Elf32_sht_progbits -> Elf_sht_progbits

Revision 1.18 / (download) - annotate - [select for diffs], Fri Sep 27 18:14:25 1996 UTC (27 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

slightly clean up some of the changes made when ELF64 support went in

Revision 1.17 / (download) - annotate - [select for diffs], Thu Sep 26 20:52:42 1996 UTC (27 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.16: +12 -9 lines
Diff to previous 1.16 (colored)

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) - annotate - [select for diffs], Tue Sep 3 03:12:28 1996 UTC (27 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.15: +7 -2 lines
Diff to previous 1.15 (colored)

Define execv() and execve() consistently across emulations.
Do path name translation.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Jun 13 19:27:01 1996 UTC (27 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.14: +7 -6 lines
Diff to previous 1.14 (colored)

Simplify and add comments.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jun 13 18:42:01 1996 UTC (27 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.13: +65 -3 lines
Diff to previous 1.13 (colored)

- 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) - annotate - [select for diffs], Fri Apr 5 00:01:10 1996 UTC (27 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.12: +9 -1 lines
Diff to previous 1.12 (colored)

Prototyping changes.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Oct 7 06:27:00 1995 UTC (28 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.11: +7 -6 lines
Diff to previous 1.11 (colored)

Prefix names of system call implementation functions with `sys_'.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Sep 19 22:37:27 1995 UTC (28 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.10: +11 -9 lines
Diff to previous 1.10 (colored)

Make system calls conform to a standard prototype and bring those
prototypes into scope.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Aug 14 01:27:48 1995 UTC (28 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)

Rearrange #includes.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jun 24 20:20:09 1995 UTC (28 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.8: +7 -8 lines
Diff to previous 1.8 (colored)

Use compat_util.[ch].

Revision 1.8 / (download) - annotate - [select for diffs], Thu Jun 22 21:34:27 1995 UTC (28 years, 8 months ago) by fvdl
Branch: MAIN
Changes since 1.7: +24 -627 lines
Diff to previous 1.7 (colored)

* 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) - annotate - [select for diffs], Sun Jun 11 15:15:09 1995 UTC (28 years, 8 months ago) by fvdl
Branch: MAIN
Changes since 1.6: +4 -7 lines
Diff to previous 1.6 (colored)

Don't forget to acknowledge that all the ELF stuff was taken from
Christos' svr4 code.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jun 11 14:56:47 1995 UTC (28 years, 8 months ago) by fvdl
Branch: MAIN
Changes since 1.5: +654 -13 lines
Diff to previous 1.5 (colored)

* 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) - annotate - [select for diffs], Tue May 16 14:19:07 1995 UTC (28 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Generate the new ps_strings format.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Apr 22 19:48:34 1995 UTC (28 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.3: +84 -6 lines
Diff to previous 1.3 (colored)

- added struct emul to all emulations.
- removed all setup functions.
- added copyargs() functions where needed.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Apr 7 22:23:22 1995 UTC (28 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.2: +5 -2 lines
Diff to previous 1.2 (colored)

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) - annotate - [select for diffs], Sun Mar 5 23:23:37 1995 UTC (29 years ago) by fvdl
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

Added a few more system calls.
More consistent alternate root file semantics throughout.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Feb 28 23:24:46 1995 UTC (29 years ago) by fvdl
Branch: MAIN

Added Linux compat code.

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>