The NetBSD Project

CVS log for src/sys/compat/netbsd32/syscalls.master

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.146: download - view: text, markup, annotated - select for diffs
Mon May 20 01:30:33 2024 UTC (7 months, 3 weeks ago) by christos
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +3 -3 lines
Rename dup3110 to dup3100 to match historical practice for NetBSD-11,
because we already have kevent100. Fix compat_dup3 to belong in compat_100
not compat_110.

Revision 1.145: download - view: text, markup, annotated - select for diffs
Sun May 19 22:25:48 2024 UTC (7 months, 3 weeks ago) by christos
Branches: MAIN
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +5 -2 lines
version dup3

Revision 1.144: download - view: text, markup, annotated - select for diffs
Sun Jul 30 06:52:20 2023 UTC (17 months, 2 weeks ago) by rin
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +8 -4 lines
COMPAT_NETBSD32: Add support for epoll(2).

Revision 1.143: download - view: text, markup, annotated - select for diffs
Sun Jul 30 05:30:45 2023 UTC (17 months, 2 weeks ago) by rin
Branches: MAIN
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +3 -2 lines
COMPAT_NETBSD32: Add support for memfd_create(2).

Revision 1.142: download - view: text, markup, annotated - select for diffs
Sat Jul 29 12:38:25 2023 UTC (17 months, 2 weeks ago) by rin
Branches: MAIN
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +17 -6 lines
COMPAT_NETBSD32: Catch up with sys___kevent100() addition.

XXX
Add epoll_* and memfd_create.

Revision 1.141: download - view: text, markup, annotated - select for diffs
Mon Sep 20 01:07:45 2021 UTC (3 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +2 -2 lines
Add the eventfd(2) system call to COMPAT_NETBSD32.

Revision 1.140: download - view: text, markup, annotated - select for diffs
Mon Sep 20 01:00:55 2021 UTC (3 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +9 -4 lines
Add timerfd system calls to COMPAT_NETBSD32.

Revision 1.139: download - view: text, markup, annotated - select for diffs
Sat Oct 10 00:00:54 2020 UTC (4 years, 3 months ago) by rin
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +4 -2 lines
Teach about getrandom(2) to COMPAT_NETBSD32.

Revision 1.138: download - view: text, markup, annotated - select for diffs
Sat May 16 18:31:48 2020 UTC (4 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +35 -1 lines
Add ACL support for FFS. From FreeBSD.

Revision 1.137: download - view: text, markup, annotated - select for diffs
Sun Apr 26 19:18:36 2020 UTC (4 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +8 -11 lines
Mirror the change made to native -- move futex calls to 166-168.

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

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

Revision 1.135: download - view: text, markup, annotated - select for diffs
Wed Apr 22 21:22:21 2020 UTC (4 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: bouyer-xenpvh-base2
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +2 -2 lines
Remove _lwp_gettid(2) system call.  This problem is going to be solved
another way.  (Note: this call was never exposed in libc, so we can just
recycle the syscall number.)

Revision 1.121.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:16 2020 UTC (4 years, 9 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.121.2.1: preferred, colored; branchpoint 1.121: preferred, colored; next MAIN 1.122: preferred, colored
Changes since revision 1.121.2.1: +38 -22 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.134: download - view: text, markup, annotated - select for diffs
Sat Apr 4 20:20:12 2020 UTC (4 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base1, bouyer-xenpvh-base
Branch point for: bouyer-xenpvh
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +2 -2 lines
Add support for lazily generating a "global thread ID" for a LWP.  This
identifier uniquely identifies an LWP across the entire system, and will
be used in future improvements in user-space synchronization primitives.

(Test disabled and libc stub not included intentionally so as to avoid
multiple libc version bumps.)

Revision 1.133: download - view: text, markup, annotated - select for diffs
Thu Mar 12 15:02:29 2020 UTC (4 years, 10 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +4 -11 lines
Split out the quota code from the rest of compat_netbsd32 module.  This
allows loading of compat_netbsd32 on kernels that don't have ``options
QUOTA'' enabled.

Revision 1.127.2.2: download - view: text, markup, annotated - select for diffs
Sun Mar 8 10:36:38 2020 UTC (4 years, 10 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Diff to: previous 1.127.2.1: preferred, colored; branchpoint 1.127: preferred, colored; next MAIN 1.128: preferred, colored
Changes since revision 1.127.2.1: +6 -8 lines
Pull up following revision(s) (requested by pgoyette in ticket #761):

	sys/compat/netbsd32/syscalls.master: revision 1.132
	sys/compat/netbsd32/netbsd32_compat_43.c: revision 1.60

Properly mark netbsd32_compat_43 syscalls that are directly implemented
by calling their compat_43 equivalents.  With these changes, and with
built-in versions of COMPAT_NETBSD32, COMPAT_NOMID, and COMPAT_09, I can
now run a netbsd-0.9 statically linked i386 (32-bit) version of /bin/ls
on a 9.99.x amd64 host!

Addresses PR kern/55047 but more changes coming to handle non-built-in
modules.

XXX pullup-9

Revision 1.132: download - view: text, markup, annotated - select for diffs
Sat Mar 7 00:56:41 2020 UTC (4 years, 10 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +6 -8 lines
Properly mark netbsd32_compat_43 syscalls that are directly implemented
by calling their compat_43 equivalents.  With these changes, and with
built-in versions of COMPAT_NETBSD32, COMPAT_NOMID, and COMPAT_09, I can
now run a netbsd-0.9 statically linked i386 (32-bit) version of /bin/ls
on a 9.99.x amd64 host!

Addresses PR kern/55047 but more changes coming to handle non-built-in
modules.

XXX pullup-9

Revision 1.130.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 25 22:38:45 2020 UTC (4 years, 11 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.130: preferred, colored; next MAIN 1.131: preferred, colored
Changes since revision 1.130: +4 -4 lines
Sync with head.

Revision 1.131: download - view: text, markup, annotated - select for diffs
Sat Jan 18 07:33:24 2020 UTC (4 years, 11 months ago) by kamil
Branches: MAIN
CVS tags: is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +4 -4 lines
Catch up after getpid/getgid/getuid changes in native ABI in 2008

getpid(), getuid() and getgid() used to call respectively sys_getpid(),
sys_getuid() and sys_getgid(). In the BSD4.3 compat mode there was a
fallback to call sys_getpid_with_ppid() and related functions.

In 2008 the compat ifdef was removed in sys/kern/syscalls.master r. 1.216.

For purity reasons we probably shall restore the NetBSD original behavior
and implement BSD4.3 one as a compat module, however it is not worth the
complexity.

Align the netbsd32 compat ABI to native ABI and call functions that return
two integers as in BSD4.3.

Revision 1.101.2.4: download - view: text, markup, annotated - select for diffs
Mon Nov 4 14:51:31 2019 UTC (5 years, 2 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.101.2.3: preferred, colored; branchpoint 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101.2.3: +2 -2 lines
Pull up following revision(s) (requested by rin in ticket #1711):

	sys/compat/netbsd32/syscalls.master: revision 1.129

For netbsd32_readlinkat(2), bufsize is netbsd_size_t, not size_t.

Since bufsize is the last argument, this affects only LP64EB.

XXX
pullup to netbsd-9, -8, and -7

Revision 1.127.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 4 14:46:57 2019 UTC (5 years, 2 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +2 -2 lines
Pull up following revision(s) (requested by rin in ticket #398):

	sys/compat/netbsd32/syscalls.master: revision 1.129

For netbsd32_readlinkat(2), bufsize is netbsd_size_t, not size_t.

Since bufsize is the last argument, this affects only LP64EB.

XXX
pullup to netbsd-9, -8, and -7

Revision 1.115.8.1: download - view: text, markup, annotated - select for diffs
Mon Nov 4 14:39:59 2019 UTC (5 years, 2 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE
Diff to: previous 1.115: preferred, colored; next MAIN 1.116: preferred, colored
Changes since revision 1.115: +2 -2 lines
Pull up following revision(s) (requested by rin in ticket #398):

	sys/compat/netbsd32/syscalls.master: revision 1.129

For netbsd32_readlinkat(2), bufsize is netbsd_size_t, not size_t.

Since bufsize is the last argument, this affects only LP64EB.

XXX
pullup to netbsd-9, -8, and -7

Revision 1.130: download - view: text, markup, annotated - select for diffs
Mon Nov 4 11:32:22 2019 UTC (5 years, 2 months ago) by rin
Branches: MAIN
CVS tags: phil-wifi-20191119, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +2 -2 lines
netbsd32_size_t should be used instead of size_t for argument of
32-bit syscalls:

- netbsd32___getvfsstat90: bufsize
- netbsd32___fhstatvfs190: fh_size

No need to pullup, since these syscalls were introduced after
branch of netbsd-9.

Revision 1.129: download - view: text, markup, annotated - select for diffs
Mon Nov 4 11:20:22 2019 UTC (5 years, 2 months ago) by rin
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +2 -2 lines
For netbsd32_readlinkat(2), bufsize is netbsd_size_t, not size_t.
Since bufsize is the last argument, this affects only LP64EB.

XXX
pullup to netbsd-9, -8, and -7

Revision 1.128: download - view: text, markup, annotated - select for diffs
Sun Sep 22 22:59:38 2019 UTC (5 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +23 -9 lines
Add a new member to struct vfsstat and grow the unused members
The new member is caled f_mntfromlabel and it is the dkw_wname
of the corresponding wedge. This is now used by df -W to display
the mountpoint name as NAME=

Revision 1.127: download - view: text, markup, annotated - select for diffs
Tue Jun 18 16:23:24 2019 UTC (5 years, 6 months ago) by christos
Branches: MAIN
CVS tags: netbsd-9-base
Branch point for: netbsd-9
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +6 -1 lines
Add ifdef for quota and include the syscall numbers header

Revision 1.126: download - view: text, markup, annotated - select for diffs
Tue Jun 18 01:36:50 2019 UTC (5 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +7 -1 lines
use option quota

Revision 1.121.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:02 2019 UTC (5 years, 7 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +205 -114 lines
Sync with HEAD

Revision 1.125: download - view: text, markup, annotated - select for diffs
Sun Jan 27 02:08:40 2019 UTC (5 years, 11 months ago) by pgoyette
Branches: MAIN
CVS tags: phil-wifi-20190609, isaki-audio2-base, isaki-audio2
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +201 -111 lines
Merge the [pgoyette-compat] branch

Revision 1.124: download - view: text, markup, annotated - select for diffs
Mon Dec 24 21:27:06 2018 UTC (6 years ago) by mrg
Branches: MAIN
CVS tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +2 -2 lines
move mmap(), compat 40 mount(), pipe() and getfh() into their own files
as the implementation is non trivial or is compat.  mark old mount()
properly instead of manually #if'ing ito to ENOSYS.

Revision 1.120.2.19: download - view: text, markup, annotated - select for diffs
Sat Sep 29 04:22:31 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.120.2.18: preferred, colored; branchpoint 1.120: preferred, colored; next MAIN 1.121: preferred, colored
Changes since revision 1.120.2.18: +5 -1 lines
Only keep the compat syscall entry;  the main entry needs to remain
conditional.

Revision 1.120.2.18: download - view: text, markup, annotated - select for diffs
Sat Sep 29 04:11:06 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.120.2.17: preferred, colored; branchpoint 1.120: preferred, colored
Changes since revision 1.120.2.17: +1 -10 lines
Don't #ifdef out the NTP compat calls.

The syscall number needs to be defined (for the autoload table) whether
or not the compat code is built in.  The compat code will be included
in the module in all cases, but it makes explicit checks to ensure that
NTP code exists before executing.

Revision 1.120.2.17: download - view: text, markup, annotated - select for diffs
Fri Sep 14 10:41:13 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.120.2.16: preferred, colored; branchpoint 1.120: preferred, colored
Changes since revision 1.120.2.16: +3 -2 lines
Add MODULAR attribute to sigreturn.  I think this is the last one.

Revision 1.120.2.16: download - view: text, markup, annotated - select for diffs
Fri Sep 14 01:20:52 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.120.2.15: preferred, colored; branchpoint 1.120: preferred, colored
Changes since revision 1.120.2.15: +3 -2 lines
Make sigreturn14 MODULAR

Revision 1.120.2.15: download - view: text, markup, annotated - select for diffs
Thu Sep 13 03:49:46 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.120.2.14: preferred, colored; branchpoint 1.120: preferred, colored
Changes since revision 1.120.2.14: +13 -7 lines
More MODULAR tags

Revision 1.120.2.14: download - view: text, markup, annotated - select for diffs
Wed Sep 12 23:26:38 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.120.2.13: preferred, colored; branchpoint 1.120: preferred, colored
Changes since revision 1.120.2.13: +5 -3 lines
Missed a couple of MODULAR tags

Revision 1.120.2.13: download - view: text, markup, annotated - select for diffs
Wed Sep 12 03:21:14 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.120.2.12: preferred, colored; branchpoint 1.120: preferred, colored
Changes since revision 1.120.2.12: +10 -10 lines
Prepare for splitting compat_netbsd32_sysvipc into version-specific modules

Revision 1.120.2.12: download - view: text, markup, annotated - select for diffs
Wed Sep 12 00:20:53 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.120.2.11: preferred, colored; branchpoint 1.120: preferred, colored
Changes since revision 1.120.2.11: +3 -2 lines
The netbsd32 40 mount code belongs in a netbsd32 40 module

Revision 1.120.2.11: download - view: text, markup, annotated - select for diffs
Tue Sep 11 23:58:46 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.120.2.10: preferred, colored; branchpoint 1.120: preferred, colored
Changes since revision 1.120.2.10: +5 -3 lines
Move the NTP compat_30 and compat_50 routines into the version-specific
modules.

Revision 1.120.2.10: download - view: text, markup, annotated - select for diffs
Tue Sep 11 08:35:27 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.120.2.9: preferred, colored; branchpoint 1.120: preferred, colored
Changes since revision 1.120.2.9: +55 -28 lines
Insert "MODULAR compat_netbsd32_43" as neeed

Revision 1.120.2.9: download - view: text, markup, annotated - select for diffs
Tue Sep 11 06:11:59 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.120.2.8: preferred, colored; branchpoint 1.120: preferred, colored
Changes since revision 1.120.2.8: +7 -7 lines
More over-zealousness - what was I thinking?

Revision 1.120.2.8: download - view: text, markup, annotated - select for diffs
Tue Sep 11 05:47:52 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.120.2.7: preferred, colored; branchpoint 1.120: preferred, colored
Changes since revision 1.120.2.7: +6 -6 lines
Don't be overzealous with changes!  Return a few syscalls to their
original COMPAT_xx status (rather than STD)

Revision 1.120.2.7: download - view: text, markup, annotated - select for diffs
Tue Sep 11 01:45:19 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.120.2.6: preferred, colored; branchpoint 1.120: preferred, colored
Changes since revision 1.120.2.6: +56 -56 lines
Update for module-provided compat syscalls

Revision 1.120.2.6: download - view: text, markup, annotated - select for diffs
Mon Sep 10 22:50:51 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.120.2.5: preferred, colored; branchpoint 1.120: preferred, colored
Changes since revision 1.120.2.5: +99 -67 lines
More work on splitting the compat_netbsd32 module

Revision 1.120.2.5: download - view: text, markup, annotated - select for diffs
Mon Sep 10 10:49:09 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.120.2.4: preferred, colored; branchpoint 1.120: preferred, colored
Changes since revision 1.120.2.4: +40 -20 lines
More compat_netbsd32_xx modules

Revision 1.120.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 10 09:54:47 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.120.2.3: preferred, colored; branchpoint 1.120: preferred, colored
Changes since revision 1.120.2.3: +7 -4 lines
Initial cut at a compat_netbsd32_09 and compat_netbsd32_12 modules.

Revision 1.120.2.3: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:47 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.120.2.2: preferred, colored; branchpoint 1.120: preferred, colored
Changes since revision 1.120.2.2: +3 -2 lines
Sync with HEAD

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

Revision 1.123: download - view: text, markup, annotated - select for diffs
Tue Jul 31 21:00:02 2018 UTC (6 years, 5 months ago) by rjs
Branches: MAIN
CVS tags: pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +3 -2 lines
Add getsockopt2().

Revision 1.120.2.2: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:43 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.120.2.1: preferred, colored; branchpoint 1.120: preferred, colored
Changes since revision 1.120.2.1: +3 -3 lines
Sync with HEAD

Revision 1.122: download - view: text, markup, annotated - select for diffs
Thu Jul 12 10:46:48 2018 UTC (6 years, 6 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-0728
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +3 -3 lines
Remove the kernel PMC code. Sent yesterday on tech-kern@.

This change:

 * Removes "options PERFCTRS", the associated includes, and the associated
   ifdefs. In doing so, it removes several XXXSMPs in the MI code, which is
   good.

 * Removes the PMC code of ARM XSCALE.

 * Removes all the pmc.h files. They were all empty, except for ARM XSCALE.

 * Reorders the x86 PMC code not to rely on the legacy pmc.h file. The
   definitions are put in sysarch.h.

 * Removes the kern/sys_pmc.c file, and along with it, the sys_pmc_control
   and sys_pmc_get_info syscalls. They are marked as OBSOL in kern,
   netbsd32 and rump.

 * Removes the pmc_evid_t and pmc_ctr_t types.

 * Removes all the associated man pages. The sets are marked as obsolete.

Revision 1.120.2.1: download - view: text, markup, annotated - select for diffs
Mon May 21 04:36:04 2018 UTC (6 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +10 -8 lines
Sync with HEAD

Revision 1.121: download - view: text, markup, annotated - select for diffs
Thu May 10 02:36:07 2018 UTC (6 years, 8 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-0625, pgoyette-compat-0521
Branch point for: phil-wifi
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +10 -8 lines
add {send,recv}mmsg

Revision 1.120: download - view: text, markup, annotated - select for diffs
Sat Jan 6 16:41:23 2018 UTC (7 years ago) by kamil
Branches: MAIN
CVS tags: pgoyette-compat-base, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +1 -1 lines
Revert vadvise(2) removal

This system call was used in legacy Lisp code, that was inherited to modern
age and still compiled against supported compat layers (e.g. in clisp,
oaklisp, Franz Lisp).

It used to instruct the kernel about paging policy (G/C aware, flush etc).

Newly compiled code (assuming that it will detect vadvise()) will use the
libc stub for vadvise(). The headers for this interface are gone.

vadvise(2) could be marked as COMPAT_80, but as long as we support ultrix,
sunos or aout68k ABI, don't bother with this.

Requested by <mrg>

Revision 1.119: download - view: text, markup, annotated - select for diffs
Tue Dec 19 19:40:03 2017 UTC (7 years ago) by kamil
Branches: MAIN
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +2 -2 lines
Drop SYS_vadvise

The (o)vadvise syscall is dummy since the beginning of NetBSD.

It is an obsolete remnant from the old UNIX.

Sponsored by <The NetBSD Foundation>

Revision 1.118: download - view: text, markup, annotated - select for diffs
Tue Dec 19 18:34:47 2017 UTC (7 years ago) by kamil
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +2 -2 lines
Drop SYS_sbrk

sbrk - change data segment size

This syscall is dummy since the inception of the project.

Sponsored by <The NetBSD Foundation>

Revision 1.117: download - view: text, markup, annotated - select for diffs
Tue Dec 19 08:48:19 2017 UTC (7 years ago) by kamil
Branches: MAIN
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +2 -2 lines
Drop the sstk(2) syscall stub

sstk - change stack section size

This functionality has never been implemented and is a remnant from 16-bit
UNIX. This stub appeared with the first NetBSD commit.

Sponsored by <The NetBSD Foundation>

Revision 1.116: download - view: text, markup, annotated - select for diffs
Tue Dec 19 07:58:50 2017 UTC (7 years ago) by kamil
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +2 -3 lines
Sync syscalls.master in compat_netbsd32(8) with kern/syscalls.master

___lwp_part60 removed 'const' from the ts argument.

'const struct timespec *ts' -> 'struct timespec *ts'

Sponsored by <The NetBSD Foundation>

Revision 1.95.2.4: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:56 2017 UTC (7 years, 1 month ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.95.2.3: preferred, colored; branchpoint 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95.2.3: +121 -104 lines
update from HEAD

Revision 1.101.4.5: download - view: text, markup, annotated - select for diffs
Mon Dec 5 10:55:00 2016 UTC (8 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.101.4.4: preferred, colored; branchpoint 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101.4.4: +3 -2 lines
Sync with HEAD

Revision 1.112.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 4 14:49:07 2016 UTC (8 years, 2 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.112: preferred, colored; next MAIN 1.113: preferred, colored
Changes since revision 1.112: +8 -2 lines
Sync with HEAD

Revision 1.115: download - view: text, markup, annotated - select for diffs
Wed Oct 19 09:44:01 2016 UTC (8 years, 2 months ago) by skrll
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, netbsd-8-base, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +3 -2 lines
PR kern/51514: ptrace(2) fails for 32-bit process on 64-bit kernel

Updated from the original patch in the PR by me.

Revision 1.101.4.4: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:39 2016 UTC (8 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.101.4.3: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.4.3: +7 -2 lines
Sync with HEAD

Revision 1.114: download - view: text, markup, annotated - select for diffs
Fri Sep 23 14:10:28 2016 UTC (8 years, 3 months ago) by skrll
Branches: MAIN
CVS tags: nick-nhusb-base-20161004
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +6 -1 lines
Add wait6 and clock_getcpuclockid2

Revision 1.113: download - view: text, markup, annotated - select for diffs
Sat Sep 10 08:18:45 2016 UTC (8 years, 4 months ago) by skrll
Branches: MAIN
CVS tags: localcount-20160914
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +2 -2 lines
Add _sched_protect

Revision 1.101.4.3: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:47 2015 UTC (9 years ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.101.4.2: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.4.2: +69 -98 lines
Sync with HEAD (as of 26th Dec)

Revision 1.112: download - view: text, markup, annotated - select for diffs
Thu Dec 3 10:38:21 2015 UTC (9 years, 1 month ago) by pgoyette
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226
Branch point for: pgoyette-localcount
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +43 -80 lines
Split out the SYSV IPC stuff into its own compat_netbsd32_sysvipc
module.  Adjust dependencies as needed.

Revision 1.111: download - view: text, markup, annotated - select for diffs
Tue Dec 1 23:56:43 2015 UTC (9 years, 1 month ago) by pgoyette
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +25 -13 lines
Prepare for new compat_netbsd32_mqueue module to be split out of
compat_netbsd32.  Refactor the COMPAT_50 code related to mqueue,
and update the syscall definitions.  Remove dependency on mqueue
from the compat_netbsd32 module (the new module will gain this
dependency).

Continuation of work on PR kern/50489

Revision 1.110: download - view: text, markup, annotated - select for diffs
Tue Dec 1 09:10:03 2015 UTC (9 years, 1 month ago) by pgoyette
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +3 -7 lines
Mark the nfssvc syscall as auto-loadable from the compat_netbsd32_nfssrv
module (to be committed shortly).

Revision 1.101.2.3: download - view: text, markup, annotated - select for diffs
Fri Nov 6 09:16:48 2015 UTC (9 years, 2 months ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1
Diff to: previous 1.101.2.2: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.2.2: +6 -1 lines
Additionally pull up following revision(s) (requested by mrg in ticket #956):
	sys/compat/netbsd32/netbsd32_nfssvc.c: revision 1.2
	sys/compat/netbsd32/syscalls.master: revision 1.109
Don't reference netbsd32_nfssvc unless NFSSERVER is defined.
Fixes PR 49994.
add missing opt_nfsserver.h

Revision 1.101.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 4 17:46:21 2015 UTC (9 years, 2 months ago) by riz
Branches: netbsd-7
Diff to: previous 1.101.2.1: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.2.1: +2 -2 lines
Pull up following revision(s) (requested by mrg in ticket #956):
	sys/compat/netbsd32/files.netbsd32: revision 1.36
	sys/compat/netbsd32/netbsd32_sysent.c: revision 1.115
	sys/compat/netbsd32/netbsd32_syscallargs.h: revision 1.116
	sys/nfs/nfs_var.h: revision 1.93
	sys/compat/netbsd32/netbsd32_conv.h: revision 1.30
	sys/compat/netbsd32/netbsd32_syscall.h: revision 1.116
	sys/compat/netbsd32/netbsd32_syscalls.c: revision 1.115
	sys/compat/netbsd32/netbsd32_nfssvc.c: revision 1.1
	sys/compat/netbsd32/netbsd32_nfssvc.c: revision 1.3
	sys/nfs/nfs_syscalls.c: revision 1.156
	sys/compat/netbsd32/syscalls.master: revision 1.108
	sys/compat/netbsd32/netbsd32.h: revision 1.107
add netbsd32 support for nfssvc(2).  we do this by defining 5 copyin/out
functions that do all the ugly work, are just plain copyin/out for the
native system calls, and do the necessary translations for netbsd32.
with this i'm able to run 32 bit nfsd and mountd on 64 bit kernel and
mount the file systems remotely.
don't copy the first netbsd32_export_args nexports times, but actually
advance the userland pointer each entry through the loop.  oops.

Revision 1.101.4.2: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:55 2015 UTC (9 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.101.4.1: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.4.1: +63 -23 lines
Sync with HEAD

Revision 1.109: download - view: text, markup, annotated - select for diffs
Tue Jun 23 04:44:08 2015 UTC (9 years, 6 months ago) by dholland
Branches: MAIN
CVS tags: nick-nhusb-base-20150921
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +6 -1 lines
Don't reference netbsd32_nfssvc unless NFSSERVER is defined.
Fixes PR 49994.

Revision 1.108: download - view: text, markup, annotated - select for diffs
Mon Jun 22 10:35:00 2015 UTC (9 years, 6 months ago) by mrg
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +2 -2 lines
add netbsd32 support for nfssvc(2).  we do this by defining 5 copyin/out
functions that do all the ugly work, are just plain copyin/out for the
native system calls, and do the necessary translations for netbsd32.

with this i'm able to run 32 bit nfsd and mountd on 64 bit kernel and
mount the file systems remotely.

Revision 1.107: download - view: text, markup, annotated - select for diffs
Sun Jun 21 12:51:33 2015 UTC (9 years, 6 months ago) by martin
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +8 -7 lines
Add pset_* calls

Revision 1.106: download - view: text, markup, annotated - select for diffs
Sun Jun 21 12:29:48 2015 UTC (9 years, 6 months ago) by martin
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +11 -8 lines
Cosmetics: fill in details about some currently unimplemented syscalls.

Revision 1.105: download - view: text, markup, annotated - select for diffs
Sun Jun 21 08:28:36 2015 UTC (9 years, 6 months ago) by martin
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +10 -3 lines
Add the two versioned mq_* calls I missed in the last round

Revision 1.104: download - view: text, markup, annotated - select for diffs
Sat Jun 20 19:55:07 2015 UTC (9 years, 6 months ago) by martin
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +32 -13 lines
Add sigqueuinfo, modctl and mq_*.

Revision 1.103: download - view: text, markup, annotated - select for diffs
Tue Jun 16 10:41:34 2015 UTC (9 years, 7 months ago) by martin
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +6 -1 lines
Add posix_fallocate and fdiscard

Revision 1.91.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 14 15:03:37 2015 UTC (9 years, 9 months ago) by msaitoh
Branches: netbsd-6
Diff to: previous 1.91.2.1: preferred, colored; branchpoint 1.91: preferred, colored; next MAIN 1.92: preferred, colored
Changes since revision 1.91.2.1: +2 -2 lines
Pull up following revision(s) (requested by khorben in ticket #1264):

include/unistd.h				1.144
sys/kern/init_sysent.c				regen
sys/kern/syscalls.c				regen
sys/kern/syscalls.master			1.272
sys/rump/include/rump/rump_syscalls.h		regen
sys/rump/librump/rumpkern/rump_syscalls.c	regen
sys/sys/syscall.h				regen
sys/sys/syscallargs.h				regen
sys/compat/netbds32/netbsd32_syscall.h		regen
sys/compat/netbds32/netbsd32_syscallargs.h	regen
sys/compat/netbds32/netbsd32_syscalls.c		regen
sys/compat/netbds32/netbsd32_sysent.c		regen
sys/compat/netbsd32/syscalls.master		1.102

	Fix return type of the readlinkat(2) syscall. PR#49684.

Revision 1.101.4.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:07 2015 UTC (9 years, 9 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +2 -2 lines
Sync with HEAD

Revision 1.101.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 7 05:22:01 2015 UTC (9 years, 10 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +2 -2 lines
Pull up following revision(s) (requested by khorben in ticket #560):
	sys/compat/netbsd32/syscalls.master: revision 1.102
readlinkat returns ssize_t

Revision 1.102: download - view: text, markup, annotated - select for diffs
Wed Feb 25 13:16:33 2015 UTC (9 years, 10 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20150606, nick-nhusb-base-20150406
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +2 -2 lines
readlinkat returns ssize_t

Revision 1.95.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:33 2014 UTC (10 years, 4 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.95.2.2: preferred, colored; branchpoint 1.95: preferred, colored
Changes since revision 1.95.2.2: +16 -17 lines
Rebase to HEAD as of a few days ago.

Revision 1.98.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:33 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.98: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98: +15 -16 lines
Rebase.

Revision 1.101: download - view: text, markup, annotated - select for diffs
Fri Jun 13 10:36:18 2014 UTC (10 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base, netbsd-7-base
Branch point for: nick-nhusb, netbsd-7
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +3 -3 lines
Rename argument like the native syscall.

Revision 1.87.2.4: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:17 2014 UTC (10 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.87.2.3: preferred, colored; branchpoint 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87.2.3: +20 -15 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.97.4.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:33 2014 UTC (10 years, 7 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.97: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97: +15 -16 lines
sync with head

Revision 1.100: download - view: text, markup, annotated - select for diffs
Thu May 15 09:54:06 2014 UTC (10 years, 8 months ago) by njoly
Branches: MAIN
CVS tags: rmind-smpnet-nbase, rmind-smpnet-base
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +2 -3 lines
Fix setcontext signature, which has a single argument not three.

Revision 1.99: download - view: text, markup, annotated - select for diffs
Wed Apr 30 17:23:45 2014 UTC (10 years, 8 months ago) by njoly
Branches: MAIN
CVS tags: yamt-pagecache-base9
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +12 -12 lines
Do not use native off_t type under compat netbsd32, but a new
netbsd32_off_t that provide the expected alignment for 64bit types.

Revision 1.98: download - view: text, markup, annotated - select for diffs
Thu Oct 17 18:01:11 2013 UTC (11 years, 2 months ago) by njoly
Branches: MAIN
CVS tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +3 -3 lines
Change mknodat(2) device argument type from uint32_t to dev_t.
Adds needed extra PAD argument for 64bit alignment, and libc wrapper.

Revision 1.95.2.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:20:16 2013 UTC (11 years, 6 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.95.2.1: preferred, colored; branchpoint 1.95: preferred, colored
Changes since revision 1.95.2.1: +7 -2 lines
resync from head

Revision 1.97: download - view: text, markup, annotated - select for diffs
Fri Mar 29 01:04:30 2013 UTC (11 years, 9 months ago) by christos
Branches: MAIN
CVS tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900
Branch point for: rmind-smpnet
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +7 -2 lines
compat glue for new lwp_park

Revision 1.95.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:01:57 2012 UTC (12 years, 1 month ago) by tls
Branches: tls-maxphys
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +10 -1 lines
Resync to 2012-11-19 00:00:00 UTC

Revision 1.87.2.3: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:20:48 2012 UTC (12 years, 2 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.87.2.2: preferred, colored; branchpoint 1.87: preferred, colored
Changes since revision 1.87.2.2: +10 -1 lines
sync with head

Revision 1.96: download - view: text, markup, annotated - select for diffs
Tue Oct 2 01:44:28 2012 UTC (12 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, agc-symver-base, agc-symver
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +10 -1 lines
kernel portion of clock_nanosleep()

Revision 1.88.4.4: download - view: text, markup, annotated - select for diffs
Sun Apr 29 23:04:45 2012 UTC (12 years, 8 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.88.4.3: preferred, colored; branchpoint 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88.4.3: +8 -1 lines
sync to latest -current.

Revision 1.87.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:22 2012 UTC (12 years, 9 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.87.2.1: preferred, colored; branchpoint 1.87: preferred, colored
Changes since revision 1.87.2.1: +83 -27 lines
sync with head

Revision 1.91.2.1: download - view: text, markup, annotated - select for diffs
Thu Apr 12 17:05:37 2012 UTC (12 years, 9 months ago) by riz
Branches: netbsd-6
CVS tags: 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +8 -1 lines
Pull up following revision(s) (requested by martin in ticket #175):
	sys/kern/kern_exit.c: revision 1.238
	tests/lib/libc/gen/posix_spawn/t_fileactions.c: revision 1.4
	tests/lib/libc/gen/posix_spawn/t_fileactions.c: revision 1.5
	sys/uvm/uvm_extern.h: revision 1.183
	lib/libc/gen/posix_spawn_fileactions.c: revision 1.2
	sys/kern/kern_exec.c: revision 1.348
	sys/kern/kern_exec.c: revision 1.349
	sys/compat/netbsd32/syscalls.master: revision 1.95
	sys/uvm/uvm_glue.c: revision 1.159
	sys/uvm/uvm_map.c: revision 1.317
	sys/compat/netbsd32/netbsd32.h: revision 1.95
	sys/kern/exec_elf.c: revision 1.38
	sys/sys/spawn.h: revision 1.2
	sys/sys/exec.h: revision 1.135
	sys/compat/netbsd32/netbsd32_execve.c: revision 1.34
Rework posix_spawn locking and memory management:
 - always provide a vmspace for the new proc, initially borrowing from proc0
   (this part fixes PR 46286)
 - increase parallelism between parent and child if arguments allow this,
   avoiding a potential deadlock on exec_lock
 - add a new flag for userland to request old (lockstepped) behaviour for
   better error reporting
 - adapt test cases to the previous two and add a new variant to test the
   diagnostics flag
 - fix a few memory (and lock) leaks
 - provide netbsd32 compat
Fix asynchronous posix_spawn child exit status (and test for it).

Revision 1.95: download - view: text, markup, annotated - select for diffs
Sun Apr 8 11:27:44 2012 UTC (12 years, 9 months ago) by martin
Branches: MAIN
CVS tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base10
Branch point for: tls-maxphys
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +8 -1 lines
Rework posix_spawn locking and memory management:
 - always provide a vmspace for the new proc, initially borrowing from proc0
   (this part fixes PR 46286)
 - increase parallelism between parent and child if arguments allow this,
   avoiding a potential deadlock on exec_lock
 - add a new flag for userland to request old (lockstepped) behaviour for
   better error reporting
 - adapt test cases to the previous two and add a new variant to test the
   diagnostics flag
 - fix a few memory (and lock) leaks
 - provide netbsd32 compat

Revision 1.88.4.3: download - view: text, markup, annotated - select for diffs
Sun Mar 11 01:52:26 2012 UTC (12 years, 10 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.88.4.2: preferred, colored; branchpoint 1.88: preferred, colored
Changes since revision 1.88.4.2: +2 -15 lines
sync to latest -current

Revision 1.94: download - view: text, markup, annotated - select for diffs
Sat Mar 10 21:51:59 2012 UTC (12 years, 10 months ago) by joerg
Branches: MAIN
CVS tags: jmcneill-usbmp-base8, jmcneill-usbmp-base7
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +1 -15 lines
P1003_1B_SEMAPHORE is no longer optional.

Revision 1.93: download - view: text, markup, annotated - select for diffs
Thu Mar 8 21:55:45 2012 UTC (12 years, 10 months ago) by joerg
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +4 -3 lines
Add entry for _ksem_timedwait.

Revision 1.88.4.2: download - view: text, markup, annotated - select for diffs
Fri Feb 24 09:11:39 2012 UTC (12 years, 10 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.88.4.1: preferred, colored; branchpoint 1.88: preferred, colored
Changes since revision 1.88.4.1: +7 -10 lines
sync to -current.

Revision 1.92: download - view: text, markup, annotated - select for diffs
Sun Feb 19 17:08:02 2012 UTC (12 years, 10 months ago) by rmind
Branches: MAIN
CVS tags: jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +7 -10 lines
Make SA calls obsolete (use stubs in kern case, as libc needs them for now).

Revision 1.88.4.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:33:59 2012 UTC (12 years, 10 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +68 -3 lines
merge to -current.

Revision 1.91: download - view: text, markup, annotated - select for diffs
Wed Feb 1 05:40:01 2012 UTC (12 years, 11 months ago) by dholland
Branches: MAIN
CVS tags: netbsd-6-base, jmcneill-usbmp-base2
Branch point for: netbsd-6
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +3 -4 lines
Update compat_netbsd32 for new quotactl.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Wed Feb 1 05:34:40 2012 UTC (12 years, 11 months ago) by dholland
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +5 -3 lines
Change the syscall API for quotas over to the new non-proplib one.

   - struct vfs_quotactl_args -> struct quotactl_args
   - add sys/stdint.h to sys/quotactl.h for clean userland build
   - install sys/quotactl.h in /usr/include
   - update set lists for same
   - add new marshalling code in libquota
   - add new unmarshalling code in vfs_syscalls.c
   - discard proplib interpreter code in vfs_quotactl.c
   - add dispatching code for the 14 quotactl ops in vfs_quotactl.c
   - mark the proplib quotactl syscall obsolete
   - add a new syscall number for the new quotactl syscall
   - change the name of the syscall to __quotactl()
   - remove the decl of the old quotactl from quota/quotaprop.h
   - add a decl of the new quotactl to sys/quotactl.h
   - update the libc build
   - update ktruss
   - remove proplib marshalling code from libquota
   - update copy of syscall table in gdb ppc sources
   - hack rumphijack to accomodate new quotactl name (as I recall,
     pooka wanted such a name change to simplify something, but I
     don't really see what/how)

This change appears to require a kernel version bump for rumpish
reasons.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Tue Jan 31 22:52:19 2012 UTC (12 years, 11 months ago) by matt
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +65 -1 lines
Add the *at syscalls and other missing syscalls.

Revision 1.87.2.1: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:31:45 2011 UTC (13 years, 2 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +2 -1 lines
sync with head

Revision 1.88: download - view: text, markup, annotated - select for diffs
Tue Nov 8 10:59:12 2011 UTC (13 years, 2 months ago) by njoly
Branches: MAIN
CVS tags: yamt-pagecache-base3, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: jmcneill-usbmp
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +2 -1 lines
Add kqueue1(2) support.

Revision 1.87: download - view: text, markup, annotated - select for diffs
Wed Aug 31 16:50:32 2011 UTC (13 years, 4 months ago) by njoly
Branches: MAIN
CVS tags: yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +2 -1 lines
Add dup3 syscall support.

Revision 1.86: download - view: text, markup, annotated - select for diffs
Tue Jul 5 14:21:47 2011 UTC (13 years, 6 months ago) by njoly
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +2 -1 lines
Add pipe2 syscall now needed for popen(3).

Revision 1.84.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:07:34 2011 UTC (13 years, 7 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84: +4 -2 lines
Sync with HEAD.

Revision 1.84.2.1: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:41:43 2011 UTC (13 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84: +4 -2 lines
sync with head

Revision 1.85: download - view: text, markup, annotated - select for diffs
Sun Mar 6 17:08:35 2011 UTC (13 years, 10 months ago) by bouyer
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +4 -2 lines
merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.

Revision 1.84.6.2: download - view: text, markup, annotated - select for diffs
Wed Feb 9 16:09:55 2011 UTC (13 years, 11 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.84.6.1: preferred, colored; branchpoint 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.6.1: +3 -3 lines
Proper definitions for quotactl

Revision 1.84.6.1: download - view: text, markup, annotated - select for diffs
Thu Jan 20 14:24:56 2011 UTC (13 years, 11 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +4 -2 lines
Snapshot of work in progress on a modernised disk quota system:
- new quotactl syscall (versionned for backward compat), which takes
  as parameter a path to a mount point, and a prop_dictionary
  (in plistref format) describing commands and arguments.
  For each command, status and data are returned as a prop_dictionary.
  quota commands features will be added to take advantage of this,
  exporting quota data or getting quota commands as plists.

- new on disk-format storage (all 64bit wide), integrated to metadata for
  ffs (and playing nicely with wapbl).
  Quotas are enabled on a ffs filesystem via superblock flags.
  tunefs(8) can enable or disable quotas.
  On a quota-enabled filesystem, fsck_ffs(8) will track per-uid/gid
  block and inode usages, and will check and update quotas in Pass 6.
  quota usage and limits are stored in unliked files (one for users,
  one for groups)l fsck_ffs(8) will create the files if needed, or
  free them if needed. This means that after enabling or disabling
  quotas on a filesystem; a fsck_ffs(8) run is required.
  quotacheck(8) is not needed any more, on a unclean shutdown
  fsck or journal replay will take care of fixing quotas.
  newfs(8) can create a ready-to-mount quota-enabled filesystem
  (superblock flags are set and quota inodes are created).
  Other new features or semantic changes:
  - default quota datas, applied to users or groups which don't already
    have a quota entry
  - per-user/group grace time (instead of a filesystem global one)
  - 0 really means "nothing allowed at all", not "no limit".
    If you want "no limit", set the limit to UQUAD_MAX (tools will
    understand "unlimited" and "-")

  A quota file is structured as follow:
  it starts with a header, containing a few per-filesystem values,
  and the default quota limits.
  Quota entries are linked together as a simple list, each entry has a
  pointer (as an offset withing the file) to the next.
  The header has a pointer to a list of free quota entries, and
  a hash table of in-use entries. The size of the hash table depends
  on the filesystem block size (header+hash table should fit in the
  first block). The file is not sparse and is a multiple of
  filesystem block size (when the free quota entry list is empty a new
  filesystem block is allocated). quota entries to not cross
  filesystem block boundaries.

  In memory, the kernel keeps a cache of recently used quota entries
  as a reference to the block number, and offset withing the block.
  The quota entry itself is keept in the buf cache.

fsck_ffs(8), tunefs(8) and newfs(8) supports are completed (with
related atf tests :)
The kernel can update disk usage and report it via quotactl(2).

Todo: enforce quotas limits (limits are not checked by kernel yet)
      update repquota, edquota and rpc.rquotad to the new world
      implement compat_50_quotactl ioctl.
      update quotactl(2) man page

fsck_ffs required fixes so that allocating new blocks or inodes will
properly update the superblock and cg sumaries. This was not an issue up
to now because superblock and cg sumaries check happened last, but now
allocations or frees can happen in pass 6.

Revision 1.81.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:01 2010 UTC (14 years, 8 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81: +2 -22 lines
Sync with HEAD.

Revision 1.69.2.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:18 2010 UTC (14 years, 10 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.69.2.2: preferred, colored; branchpoint 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69.2.2: +5 -23 lines
sync with head

Revision 1.84: download - view: text, markup, annotated - select for diffs
Tue Mar 2 21:07:21 2010 UTC (14 years, 10 months ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base
Branch point for: rmind-uvmplock, jruoho-x86intr, bouyer-quota2
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +2 -4 lines
Kill fs_nfs.h and #ifdef NFS by making getfh() support unconditional
and nfssvc unsupport unconditional.  nfs server was just a fancy
NOP anyway for all except Ultrix.  I know I'm boring but I couldn't
imagine why someone would want to run an Ultrix nfs server (and I
also doubt that it would work anymore with all the changes to fs
exporting etc).

Revision 1.83: download - view: text, markup, annotated - select for diffs
Tue Mar 2 16:02:43 2010 UTC (14 years, 10 months ago) by pooka
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +1 -2 lines
-fs_lfs.h

Revision 1.82: download - view: text, markup, annotated - select for diffs
Tue Mar 2 16:00:03 2010 UTC (14 years, 10 months ago) by pooka
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +1 -18 lines
Remove lfs syscall support from compat.  I can't really imagine
anyone wanting to run lfs megamaid as a e.g. FreeBSD binary.
Besides, the real action has been in fcntl() for >5 years now.
The only place where the compat syscalls might have made the tiniest
bit of sense was netbsd32, but they were unimplemented there.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Mon Dec 14 00:47:11 2009 UTC (15 years, 1 month ago) by matt
Branches: MAIN
CVS tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +4 -2 lines
Merge from matt-nb5-mips64

Revision 1.70.4.1.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 12 17:42:05 2009 UTC (15 years, 4 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15
Diff to: previous 1.70.4.1: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70.4.1: +4 -4 lines
Add netbsd32___mount50

Revision 1.77.2.2: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:31:43 2009 UTC (15 years, 5 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.77.2.1: preferred, colored; branchpoint 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77.2.1: +10 -10 lines
Sync with HEAD.

Revision 1.69.2.2: download - view: text, markup, annotated - select for diffs
Sat Jun 20 07:20:18 2009 UTC (15 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.69.2.1: preferred, colored; branchpoint 1.69: preferred, colored
Changes since revision 1.69.2.1: +10 -10 lines
sync with head

Revision 1.80: download - view: text, markup, annotated - select for diffs
Sun May 17 05:54:22 2009 UTC (15 years, 8 months ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +10 -10 lines
pad -> PAD

Revision 1.77.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:19:00 2009 UTC (15 years, 8 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +11 -2 lines
Sync with HEAD.

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

Revision 1.69.2.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:26 2009 UTC (15 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +725 -429 lines
sync with head.

Revision 1.70.2.3: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:35:08 2009 UTC (15 years, 8 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.70.2.2: preferred, colored; branchpoint 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70.2.2: +2 -2 lines
Sync with HEAD.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Mon Mar 16 20:48:13 2009 UTC (15 years, 10 months ago) by njoly
Branches: MAIN
CVS tags: yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jym-xensuspend-base
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +2 -2 lines
Fix dev_t alignment, by not using the new 64bit value directly but
rather a 32bit aligned version (netbsd32_dev_t = netbsd32_uint64).

ok by cube@.

Revision 1.70.2.2: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:30:08 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.70.2.1: preferred, colored; branchpoint 1.70: preferred, colored
Changes since revision 1.70.2.1: +10 -1 lines
Sync with HEAD.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Thu Feb 26 21:08:48 2009 UTC (15 years, 10 months ago) by christos
Branches: MAIN
CVS tags: nick-hppapmap-base2
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +10 -1 lines
fix kernel build with no options NTP

Revision 1.70.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:17:37 2009 UTC (15 years, 11 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +714 -429 lines
Sync with HEAD.

Revision 1.67.6.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:47 2009 UTC (15 years, 11 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.67.6.2: preferred, colored; branchpoint 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67.6.2: +715 -428 lines
Sync with HEAD.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Tue Jan 13 22:27:43 2009 UTC (16 years ago) by pooka
Branches: MAIN
CVS tags: mjf-devfs2-base
Branch point for: jym-xensuspend
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +368 -368 lines
Convert the syscalls.master to a format from which it is easier
to parse and generate the compat name and basename (e.g. __stat50
and stat).  Use this to autogenerate __RENAME()'s to the rump_syscalls
header so that they can be called e.g. rump_sys_socket() instead
of rump_sys___socket30().

Revision 1.76: download - view: text, markup, annotated - select for diffs
Tue Jan 13 21:48:35 2009 UTC (16 years ago) by pooka
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +13 -28 lines
UNIMPL police: remove pseudo-prototypes

Revision 1.75: download - view: text, markup, annotated - select for diffs
Sun Jan 11 02:45:49 2009 UTC (16 years ago) by christos
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +567 -251 lines
merge christos-time_t

Revision 1.74.4.3: download - view: text, markup, annotated - select for diffs
Sun Jan 4 02:56:09 2009 UTC (16 years ago) by christos
Branches: christos-time_t
Diff to: previous 1.74.4.2: preferred, colored; branchpoint 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74.4.2: +13 -13 lines
fix module build.

Revision 1.74.4.2: download - view: text, markup, annotated - select for diffs
Sun Jan 4 01:56:02 2009 UTC (16 years ago) by christos
Branches: christos-time_t
Diff to: previous 1.74.4.1: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.4.1: +995 -0 lines
add new syscalls.

Revision 1.69.8.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:14:03 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.69.8.1: preferred, colored; branchpoint 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69.8.1: +26 -42 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.70.4.1: download - view: text, markup, annotated - select for diffs
Tue Nov 25 17:31:26 2008 UTC (16 years, 1 month 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-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-u1-k1-k5, matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +10 -5 lines
Pull up following revision(s) (requested by mrg in ticket #121):
	sys/compat/netbsd32/syscalls.master: revision 1.74
	sys/compat/netbsd32/netbsd32.h: revision 1.78
	sys/compat/netbsd32/netbsd32_netbsd.c: revision 1.149
implement netbsd32__sched_setparam(), netbsd32__sched_getparam(),
netbsd32__sched_setaffinity() and netbsd32__sched_getaffinity().

Revision 1.74.4.1
Sat Nov 22 23:13:38 2008 UTC (16 years, 1 month ago) by christos
Branches: christos-time_t
FILE REMOVED
Changes since revision 1.74: +0 -679 lines
file syscalls.master was added on branch christos-time_t on 2009-01-04 01:56:02 +0000

Revision 1.74: download - view: text, markup, annotated - select for diffs
Sat Nov 22 23:13:38 2008 UTC (16 years, 1 month ago) by mrg
Branches: MAIN
CVS tags: haad-nbase2, haad-dm-base2, haad-dm-base, christos-time_t-nbase, christos-time_t-base, ad-audiomp2-base, ad-audiomp2
Branch point for: christos-time_t
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +10 -5 lines
implement netbsd32__sched_setparam(), netbsd32__sched_getparam(),
netbsd32__sched_setaffinity() and netbsd32__sched_getaffinity().

Revision 1.73: download - view: text, markup, annotated - select for diffs
Wed Nov 19 18:36:05 2008 UTC (16 years, 1 month ago) by ad
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +1 -6 lines
Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

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

Revision 1.72: download - view: text, markup, annotated - select for diffs
Fri Nov 14 15:49:20 2008 UTC (16 years, 2 months ago) by ad
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +7 -7 lines
Replace semid_t with intptr_t. No function change. This is a libc/kernel
private interface and so the name change should not affect any third
party code.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Wed Nov 12 12:36:10 2008 UTC (16 years, 2 months ago) by ad
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +11 -27 lines
Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.

Revision 1.69.8.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:16:17 2008 UTC (16 years, 2 months ago) by haad
Branches: haad-dm
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +9 -7 lines
Sync with HEAD.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Wed Oct 15 06:51:20 2008 UTC (16 years, 3 months ago) by wrstuden
Branches: MAIN
CVS tags: netbsd-5-base, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +9 -7 lines
Merge wrstuden-revivesa into HEAD.

Revision 1.69.4.3: download - view: text, markup, annotated - select for diffs
Sun Sep 28 21:14:14 2008 UTC (16 years, 3 months ago) by skrll
Branches: wrstuden-revivesa
Diff to: previous 1.69.4.2: preferred, colored; branchpoint 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69.4.2: +9 -7 lines
Re-add SA syscalls.

Revision 1.67.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:07 2008 UTC (16 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.67.6.1: preferred, colored; branchpoint 1.67: preferred, colored
Changes since revision 1.67.6.1: +23 -23 lines
Sync with HEAD.

Revision 1.68.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:33:24 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68: +24 -24 lines
sync with head.

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

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

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

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

I think this reduction is very good thing.

Revision 1.69.4.1: download - view: text, markup, annotated - select for diffs
Sat May 10 23:48:58 2008 UTC (16 years, 8 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +2 -1 lines
Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.

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

Revision 1.69: download - view: text, markup, annotated - select for diffs
Thu Apr 24 11:51:18 2008 UTC (16 years, 8 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, yamt-nfs-mp-base, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase
Branch point for: yamt-nfs-mp, wrstuden-revivesa, haad-dm
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +24 -24 lines
- Retire SYCALL_MPSAFE. With the exceptions of darwin and irix emulations,
  all system calls are now MPSAFE.
- Remove unneeded acquire/release of kernel_lock.

Revision 1.67.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:34 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +4 -4 lines
Sync with HEAD.

Revision 1.67.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:15:10 2008 UTC (16 years, 9 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67: +4 -4 lines
sync with head.

Revision 1.61.2.2: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:34 2008 UTC (16 years, 9 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.61.2.1: preferred, colored; branchpoint 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61.2.1: +37 -4 lines
sync with HEAD

Revision 1.28.2.8: download - view: text, markup, annotated - select for diffs
Wed Feb 27 08:36:30 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.28.2.7: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.2.7: +4 -4 lines
sync with head.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Sun Feb 24 12:52:55 2008 UTC (16 years, 10 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: yamt-pf42
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +4 -4 lines
Desupport compatibility for the old posix_fadvise syscall per yamt's
request and just ignore it.

Revision 1.61.8.4: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:28 2008 UTC (16 years, 10 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.61.8.3: preferred, colored; branchpoint 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61.8.3: +35 -2 lines
Sync with HEAD.

Revision 1.28.2.7: download - view: text, markup, annotated - select for diffs
Mon Feb 4 09:23:14 2008 UTC (16 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.28.2.6: preferred, colored
Changes since revision 1.28.2.6: +10 -2 lines
sync with head.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Sun Jan 27 20:13:07 2008 UTC (16 years, 11 months ago) by martin
Branches: MAIN
CVS tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base
Branch point for: mjf-devfs2, keiichi-mipv6
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +9 -1 lines
Catch up with versioning of posix_fadvise

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sat Jan 26 08:35:51 2008 UTC (16 years, 11 months ago) by dsl
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +2 -2 lines
Add a wrapper for posix_fadvise()

Revision 1.28.2.6: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:41:56 2008 UTC (16 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.28.2.5: preferred, colored
Changes since revision 1.28.2.5: +174 -146 lines
sync with head

Revision 1.63.4.2: download - view: text, markup, annotated - select for diffs
Sun Jan 20 17:51:30 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.63.4.1: preferred, colored; branchpoint 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.4.1: +25 -0 lines
Sync with HEAD

Revision 1.65: download - view: text, markup, annotated - select for diffs
Sat Jan 19 22:25:12 2008 UTC (16 years, 11 months ago) by dsl
Branches: MAIN
CVS tags: bouyer-xeni386-nbase, bouyer-xeni386-base
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +26 -1 lines
Add netbsd32 wrapper for sys_mremap(), compiles, and assuming the mmap()
wrapper is ok, it should work!
I presume the kernel knows not to map above 4GB though....

Revision 1.61.2.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:51:41 2008 UTC (17 years ago) by matt
Branches: matt-armv6
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +153 -148 lines
sync with HEAD

Revision 1.63.4.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:53:14 2008 UTC (17 years ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +144 -144 lines
Sync with HEAD

Revision 1.61.8.3: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:44:29 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.61.8.2: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.8.2: +144 -144 lines
Sync with HEAD.

Revision 1.62.2.2: download - view: text, markup, annotated - select for diffs
Wed Dec 26 21:39:09 2007 UTC (17 years ago) by ad
Branches: vmlocking2
Diff to: previous 1.62.2.1: preferred, colored; branchpoint 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62.2.1: +144 -144 lines
Sync with head.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Mon Dec 17 20:45:29 2007 UTC (17 years, 1 month ago) by dsl
Branches: MAIN
CVS tags: vmlocking2-base3, matt-armv6-base
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +144 -144 lines
Remove all the 'const'. Although the fields might be 32bit pointers to
constant data, the 'const' applies to the field itself - which is stupid.

Revision 1.59.14.4: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:37:23 2007 UTC (17 years, 1 month ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.59.14.3: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.14.3: +7 -4 lines
Sync with HEAD.

Revision 1.59.6.1: download - view: text, markup, annotated - select for diffs
Sun Dec 9 16:03:58 2007 UTC (17 years, 1 month ago) by reinoud
Branches: reinoud-bufcleanup
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +7 -4 lines
Pullup to HEAD

Revision 1.61.8.2: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:19:02 2007 UTC (17 years, 1 month ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.61.8.1: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.8.1: +7 -4 lines
Sync with HEAD.

Revision 1.62.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 17:57:01 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking2
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +7 -4 lines
Sync with head.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri Dec 7 22:41:05 2007 UTC (17 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, reinoud-bufcleanup-nbase, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +7 -4 lines
Add: _lwp_setname, _lwp_getname, _lwp_ctl.

Revision 1.61.8.1: download - view: text, markup, annotated - select for diffs
Mon Nov 19 00:47:35 2007 UTC (17 years, 1 month ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +5 -3 lines
Sync with HEAD.

Revision 1.28.2.5: download - view: text, markup, annotated - select for diffs
Thu Nov 15 11:43:56 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.28.2.4: preferred, colored
Changes since revision 1.28.2.4: +5 -3 lines
sync with head.

Revision 1.61.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 13 16:00:44 2007 UTC (17 years, 2 months ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +5 -3 lines
Sync with HEAD

Revision 1.59.14.3: download - view: text, markup, annotated - select for diffs
Sun Nov 11 16:47:22 2007 UTC (17 years, 2 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.59.14.2: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.14.2: +5 -3 lines
Sync with HEAD.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Fri Nov 9 15:05:34 2007 UTC (17 years, 2 months ago) by dsl
Branches: MAIN
CVS tags: vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +5 -3 lines
Add arguments to sys_syscall and sys___syscall.
Use MI wrappers for them in netbsd32.
Change prefix for constants from netbsd32 to NETBSD32 (used in #defines etc).

Revision 1.28.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:32:43 2007 UTC (17 years, 4 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.28.2.3: preferred, colored
Changes since revision 1.28.2.3: +12 -20 lines
sync with head.

Revision 1.59.10.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 10:20:03 2007 UTC (17 years, 4 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.59.10.1: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.10.1: +1 -10 lines
Sync with HEAD.

Revision 1.59.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 20 21:26:01 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +12 -20 lines
Sync with HEAD.

Revision 1.59.14.2: download - view: text, markup, annotated - select for diffs
Thu Aug 16 11:03:00 2007 UTC (17 years, 5 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.59.14.1: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.14.1: +1 -10 lines
Sync with HEAD.

Revision 1.59.10.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:48:09 2007 UTC (17 years, 5 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +12 -11 lines
Sync with HEAD.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Wed Aug 15 12:07:31 2007 UTC (17 years, 5 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, matt-armv6-prevmlocking, jmcneill-base
Branch point for: mjf-devfs, matt-armv6, bouyer-xenamd64
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +1 -10 lines
Changes to make ktrace LKM friendly and reduce ifdef KTRACE. Proposed
on tech-kern.

Revision 1.59.14.1: download - view: text, markup, annotated - select for diffs
Thu Aug 9 02:37:07 2007 UTC (17 years, 5 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +12 -11 lines
Sync with HEAD.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Tue Aug 7 19:00:42 2007 UTC (17 years, 5 months ago) by ad
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +12 -11 lines
- Fix a bug with _lwp_park() where if the computed wakeup time was under
  1 microsecond into the future, the thread could enter an untimed sleep.
- Change the signature of _lwp_park() to accept an lwpid_t and second
  hint pointer, but do so in a way that remains compatible with older
  pthread libraries. This can be used to wake another thread before the
  calling thread goes asleep, saving at least one syscall + involuntary
  context switch. This turns out to be a fairly large win on the condvar
  benchmarks that I have tried.
- Mark some more syscalls MP safe.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sun Mar 4 07:54:09 2007 UTC (17 years, 10 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, nick-csl-alignment-base, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: vmlocking, reinoud-bufcleanup, nick-csl-alignment, jmcneill-pm
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +15 -15 lines
fix fallout from caddr_t changes.

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

Revision 1.55.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:53:40 2007 UTC (17 years, 10 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +19 -23 lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.28.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:09:33 2007 UTC (17 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.28.2.2: preferred, colored
Changes since revision 1.28.2.2: +25 -32 lines
sync with head.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Mon Feb 19 15:32:43 2007 UTC (17 years, 10 months ago) by cube
Branches: MAIN
CVS tags: ad-audiomp-base, ad-audiomp
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +11 -11 lines
Mark MPSAFE the syscalls that are not translated (and of course, only when
the native syscall is itself marked MPSAFE).

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun Feb 18 09:03:55 2007 UTC (17 years, 10 months ago) by cube
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +9 -13 lines
Add missing lwp syscalls.  Put them all together into a new file,
netbsd32_lwp.c, and remove remaining traces of SA.

This still needs some MD (and possibly MI, depending on the chosen
solution) changes to actually work.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:22 2007 UTC (17 years, 11 months ago) by ad
Branches: MAIN
CVS tags: post-newlock2-merge
Branch point for: yamt-idlelwp
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +7 -10 lines
Merge newlock2 to head.

Revision 1.53.2.2: download - view: text, markup, annotated - select for diffs
Tue Jan 30 13:51:35 2007 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.53.2.1: preferred, colored; branchpoint 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53.2.1: +7 -10 lines
Remove support for SA. Ok core@.

Revision 1.28.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:43 2006 UTC (18 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.28.2.1: preferred, colored
Changes since revision 1.28.2.1: +20 -27 lines
sync with head.

Revision 1.53.4.1: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:16:49 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +5 -18 lines
sync with head.

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

Revision 1.54: download - view: text, markup, annotated - select for diffs
Thu Nov 9 14:09:37 2006 UTC (18 years, 2 months ago) by cube
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +5 -18 lines
- Make better use of COMPAT_XX type in syscalls.master
- Remove useless (thanks to COMPAT_XX behaviour) #ifdefs in
  syscalls.master
- Make netbsd32_compat_43.c compiled per COMPAT_LINUX32 because the latter
  needs stuff from it.

Fixes Perry's PR#34951.

Revision 1.41.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:46:12 2006 UTC (18 years, 4 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41: +71 -40 lines
sync with head

Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Sep 1 20:58:18 2006 UTC (18 years, 4 months ago) by matt
Branches: MAIN
CVS tags: yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +1 -6 lines
Don't conditionalize *sys_ptrace.  The lack of sys_ptrace will be dealt
with differently.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Aug 30 13:57:47 2006 UTC (18 years, 4 months ago) by cube
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +6 -1 lines
Protect netbsd32_ptrace with options PTRACE.

Revision 1.42.2.6: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:43:30 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.42.2.5: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.2.5: +16 -10 lines
sync with head

Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon Jul 31 16:32:51 2006 UTC (18 years, 5 months ago) by martin
Branches: MAIN
CVS tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +13 -5 lines
Step 1 to make filehandles completely opaque to userland

Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Jul 13 23:22:40 2006 UTC (18 years, 6 months ago) by pavel
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +1 -9 lines
do not protect the getfh syscall by
#if defined(NFS) || defined(NFSSERVER).
The native syscall also isn't.

Revision 1.47.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:49:15 2006 UTC (18 years, 6 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +9 -3 lines
Merge from HEAD.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Jul 13 12:00:25 2006 UTC (18 years, 6 months ago) by martin
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +7 -2 lines
Fix alignement problems for fhandle_t, exposed by gcc4.1.

While touching all vptofh/fhtovp functions, get rid of VFS_MAXFIDSIZ,
version the getfh(2) syscall and explicitly pass the size available in
the filehandle from userland.

Discussed on tech-kern, with lots of help from yamt (thanks!).

Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon Jun 26 21:23:57 2006 UTC (18 years, 6 months ago) by mrg
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -2 lines
version the socket(2) syscall.  for compat30 socket, we use
EPROTONOSUPPORT instead of EAFNOSUPPORT.

from pavel@ with a little bit of clean up from myself.

XXX: netbsd32 (and perhaps other emulations) should be able
XXX: to call the standard socket calls for this i think, but
XXX: revisit this at another time.

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

Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:59:36 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +162 -48 lines
sync with head.

Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 03:46:29 2006 UTC (18 years, 6 months ago) by chap
Branches: chap-midi
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +3 -3 lines
Sync with head.

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

Revision 1.47: download - view: text, markup, annotated - select for diffs
Wed May 31 09:52:27 2006 UTC (18 years, 7 months ago) by drochner
Branches: MAIN
CVS tags: yamt-pdpolicy-base6, simonb-timecounters-base, gdamore-uart-base, chap-midi-nbase, chap-midi-base
Branch point for: gdamore-uart
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -2 lines
support ntp_gettime again
compile tested by Havard Eidnes

Revision 1.46: download - view: text, markup, annotated - select for diffs
Mon May 29 09:44:51 2006 UTC (18 years, 7 months ago) by drochner
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -3 lines
Remove emulation of ntp_gettime. In preparation for "timecounters" we
will change "struct ntptimeval", so some translation would be necessary.
ntp_gettine is considered dispensable, the only userland program known
to use it is "ntptime".

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

Revision 1.42.2.4: download - view: text, markup, annotated - select for diffs
Wed May 24 10:57:31 2006 UTC (18 years, 7 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.42.2.3: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.2.3: +8 -3 lines
sync with head.

Revision 1.43.2.2: download - view: text, markup, annotated - select for diffs
Thu May 11 23:27:31 2006 UTC (18 years, 8 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.43.2.1: preferred, colored; branchpoint 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.2.1: +8 -3 lines
sync with head

Revision 1.45: download - view: text, markup, annotated - select for diffs
Fri May 5 13:28:52 2006 UTC (18 years, 8 months ago) by cube
Branches: MAIN
CVS tags: yamt-pdpolicy-base5, elad-kernelauth-base
Branch point for: chap-midi
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +8 -3 lines
Follow on fhstat(2) versioning.  While there, add sys_posix_fadvise (no
emulation needed there).

Revision 1.41.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:38:17 2006 UTC (18 years, 8 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +48 -28 lines
Sync with head.

Revision 1.43.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 04:01:24 2006 UTC (18 years, 8 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +21 -17 lines
sync with head.

Revision 1.42.2.3: download - view: text, markup, annotated - select for diffs
Sat Apr 1 12:06:42 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.42.2.2: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.2.2: +21 -17 lines
sync with head.

Revision 1.43.4.1: download - view: text, markup, annotated - select for diffs
Fri Mar 31 09:45:16 2006 UTC (18 years, 9 months ago) by tron
Branches: peter-altq
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +21 -17 lines
Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Mar 29 23:04:12 2006 UTC (18 years, 9 months ago) by cube
Branches: MAIN
CVS tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +21 -17 lines
Implement the _lwp* and sa_* families of syscalls, using the newly
introduced hooks in the native code.

Revision 1.42.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 13 09:07:08 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.42.2.1: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.2.1: +668 -0 lines
sync with head.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Mon Mar 6 14:40:55 2006 UTC (18 years, 10 months ago) by cube
Branches: MAIN
CVS tags: yamt-pdpolicy-base2, peter-altq-base
Branch point for: peter-altq, elad-kernelauth
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -2 lines
Implement the SysV IPC family of syscalls.

Revision 1.42.2.1
Sun Mar 5 01:28:20 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-pdpolicy
FILE REMOVED
Changes since revision 1.42: +0 -668 lines
file syscalls.master was added on branch yamt-pdpolicy on 2006-03-13 09:07:08 +0000

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Mar 5 01:28:20 2006 UTC (18 years, 10 months ago) by cube
Branches: MAIN
CVS tags: yamt-pdpolicy-base
Branch point for: yamt-pdpolicy
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +27 -11 lines
Implement the ksem_* family of syscalls.

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

Revision 1.23.2.4: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:01:21 2005 UTC (19 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.23.2.3: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.2.3: +108 -19 lines
Sync with HEAD. Here we go again...

Revision 1.39.2.1: download - view: text, markup, annotated - select for diffs
Wed Oct 26 08:32:45 2005 UTC (19 years, 2 months ago) by yamt
Branches: yamt-vop
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +6 -3 lines
sync with head

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sun Oct 23 01:33:32 2005 UTC (19 years, 2 months ago) by cube
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, 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
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +6 -3 lines
- Split sys_kevent into kevent1 so that it can be used by COMPAT_NETBSD32
  code.

- To achieve COMPAT_NETBSD32 compatibility, introduce a parameter to
  kevent1 that points to functions that do the actual copyin/copyout
  operations.  This is similar to what was done in FreeBSD by Paul Saab.

- Add the COMPAT_NETBSD32 definitions and hooks.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Aug 19 04:24:38 2005 UTC (19 years, 4 months ago) by christos
Branches: MAIN
CVS tags: yamt-vop-base
Branch point for: yamt-vop
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +5 -5 lines
Fix lossage I created with the 64 bit ino_t change.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Aug 19 02:03:57 2005 UTC (19 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +12 -4 lines
64 bit inode changes.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Jul 23 22:03:45 2005 UTC (19 years, 5 months ago) by cube
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +4 -2 lines
Implement __sigtimedwait(2).

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Jul 23 18:56:15 2005 UTC (19 years, 5 months ago) by cube
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +9 -6 lines
Implement the timer_create(2) family of syscalls.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Jul 12 07:45:34 2005 UTC (19 years, 6 months ago) by cube
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +31 -1 lines
Add the *xattr(2) family of syscalls.  Just like the *extattr(2) family,
they're waiting for an actual FS back-end to be tested, but are still
straightforward enough.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon Jul 11 20:18:05 2005 UTC (19 years, 6 months ago) by cube
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -2 lines
Add rasctl(2).  Thanks to the regression tests for that syscall, I was able
to discover the bugs in netbsd32_setitimer() and netbsd32_execve().

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Jul 10 14:32:16 2005 UTC (19 years, 6 months ago) by cube
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -2 lines
Add support for fsync_range(2).

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun Jul 10 11:28:58 2005 UTC (19 years, 6 months ago) by cube
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2 lines
Implement __clone(2).

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Jul 9 22:40:13 2005 UTC (19 years, 6 months ago) by cube
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +6 -1 lines
Implement pselect(2) and pollts(2).

Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Jul 8 22:21:43 2005 UTC (19 years, 6 months ago) by cube
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3 lines
Add mlockall(2) and munlockall(2).

Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Jul 8 21:39:39 2005 UTC (19 years, 6 months ago) by cube
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +37 -1 lines
Implement the extattr(3) family of syscalls.

XXX However, those remain untested as there are currently no backend for
XXX extattr(9) in NetBSD.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Jul 4 00:26:07 2005 UTC (19 years, 6 months ago) by cube
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2 lines
Implement uuidgen(2).

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon May 30 22:59:55 2005 UTC (19 years, 7 months ago) by chs
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2 lines
track change to swapctl args in kern/syscalls.master.

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

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

Revision 1.23.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:44:23 2004 UTC (20 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +35 -11 lines
Sync with HEAD

Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Jun 17 18:29:40 2004 UTC (20 years, 7 months ago) by cube
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, 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, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +28 -5 lines
o Add support for the statvfs family of syscalls (statvfs1, fstatvfs1,
  fhstatvfs1 and getvfsstat)
o Move the statfs family out of netbsd32_fs.c and netbsd32_netbsd.c to
  netbsd_compat_20.c, compiled with COMPAT_20

Reviewed by christos@.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Oct 25 16:27:25 2003 UTC (21 years, 2 months ago) by chs
Branches: MAIN
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-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
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -4 lines
allow COMPAT_SUNOS without COMPAT_43.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Oct 13 18:53:35 2003 UTC (21 years, 3 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +5 -4 lines
Define compat_16 as valid prefix; define the 1.6 compat sigreturn.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Jan 18 08:28:26 2003 UTC (22 years ago) by thorpej
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -1 lines
Merge the nathanw_sa branch.

Revision 1.18.2.4: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:08:04 2002 UTC (22 years, 2 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.18.2.3: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.2.3: +5 -1 lines
Catch up to -current

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Oct 23 13:16:46 2002 UTC (22 years, 2 months ago) by scw
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +5 -1 lines
In preparation for COMPAT_NETBSD32 on SH-5:

 - The MD netbsd32_machdep.h header now defines the 32-bit pointer type
   instead of using u_int32_t everywhere,
 - The MD netbsd32_machdep.h header now defines a macro (at least on
   current implementations) which converts a 32-bit pointer to its 64-bit
   equivalent,
 - Change the MI code to utilise the above two items in all the right places,
 - Implement netbsd32___sigaction_sigtramp().

Tested on Sparc64 by Matt Green.

Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:44:34 2002 UTC (22 years, 6 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +10 -17 lines
catch up with -current on kqueue branch

Revision 1.18.2.3: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:43:13 2002 UTC (22 years, 6 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.18.2.2: preferred, colored
Changes since revision 1.18.2.2: +10 -17 lines
Catch up to -current.

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

(Behold the Power of Ed)

Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Apr 29 09:53:41 2002 UTC (22 years, 8 months ago) by mrg
Branches: MAIN
CVS tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gehenna-devsw-base, gehenna-devsw
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +10 -17 lines
build the netbsd32_compat* objects into libcompat.a, so they are available
to emulations not just netbsd itself.  rename the compat_10 functions to
match everything else.  fixes a problem reported by julian coleman.

Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:00:12 2001 UTC (23 years, 6 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3 lines
Catch up to -current.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed May 30 11:37:29 2001 UTC (23 years, 7 months ago) by mrg
Branches: 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, newlock-base, newlock, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: kqueue
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
use _KERNEL_OPT.

Revision 1.10.2.5: download - view: text, markup, annotated - select for diffs
Sat Apr 21 17:46:21 2001 UTC (23 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.10.2.4: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.2.4: +2 -2 lines
Sync with HEAD

Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Apr 10 11:11:17 2001 UTC (23 years, 9 months ago) by kleink
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
Slight indentation nit.

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

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Feb 2 13:01:44 2001 UTC (23 years, 11 months ago) by mrg
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +44 -1 lines
add lchflags, issetugid, utrace, reserves for [gs]etcontext, and sched/SA.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Jan 27 07:58:22 2001 UTC (23 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
getpid(2) is MP-safe.

Revision 1.10.2.3: download - view: text, markup, annotated - select for diffs
Wed Dec 13 15:49:52 2000 UTC (24 years, 1 month ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.10.2.2: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.2.2: +4 -2 lines
Sync with HEAD (for UBC fixes).

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Dec 9 05:27:30 2000 UTC (24 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +5 -3 lines
Add the %% separators.

Revision 1.10.2.2: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:08:37 2000 UTC (24 years, 1 month ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.10.2.1: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.2.1: +3 -5 lines
Sync with HEAD.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Nov 30 19:17:57 2000 UTC (24 years, 1 month ago) by jdolecek
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -5 lines
always include netbsd32_ntp_adjtime(), LKMify

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

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Aug 7 17:59:36 2000 UTC (24 years, 5 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -1 lines
Changes to syscalls.master to exclude ntp_adjtime(2) entirely if NTP is not
defined.  Changes to other files will follow in a moment.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Jul 9 13:39:32 2000 UTC (24 years, 6 months ago) by mrg
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +1 -6 lines
- massive warning fix fest.
- fix pread/pwrite return values (plus some other syscalls that looked
  similarly broken).
- prototypes and clean up for netbsd32_ioctl.c

now getpw*() works under compat32!

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Jan 31 15:59:58 2000 UTC (24 years, 11 months ago) by christos
Branches: MAIN
CVS tags: 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, chs-ubc2-newbase
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -4 lines
__semctl13 -> ____semctl13

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Dec 30 15:40:46 1999 UTC (25 years ago) by eeh
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +40 -5 lines
Update to 32-bit compatibility routines.

Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:34:31 1999 UTC (25 years ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +230 -230 lines
Pull up to last week's -current.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Oct 11 01:36:24 1999 UTC (25 years, 3 months ago) by eeh
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: thorpej_scsipi
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +230 -230 lines
Add netbsd32_compat_14.c

Rename everything from compat_netbsd32 -> netbsd32 so we don't have silly
names like compat_14_compat_netbsd32_sys_shmctl().

Revision 1.7.4.2: download - view: text, markup, annotated - select for diffs
Mon Aug 2 21:52:57 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.7.4.1: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.4.1: +2 -2 lines
Update from trunk.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Jul 12 21:55:20 1999 UTC (25 years, 6 months ago) by kleink
Branches: MAIN
CVS tags: chs-ubc2-base
Branch point for: wrstuden-devbsize
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
XSH5: change function signature to `void *sbrk(intptr_t)'.

Revision 1.7.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 01:08:09 1999 UTC (25 years, 6 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +57 -60 lines
Sync w/ -current.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Jun 9 04:50:11 1999 UTC (25 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +57 -60 lines
Propagate kern changes

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Mar 25 16:22:50 1999 UTC (25 years, 9 months ago) by mrg
Branches: 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
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +227 -227 lines
move sparc32 to netbsd32; split out MD part (signal handling) (mostly via repository copy, rename and perl -pi :-)

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Mar 25 15:33:48 1999 UTC (25 years, 9 months ago) by mrg
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -4 lines
make this match the main syscalls.master a bit better.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Dec 10 17:03:20 1998 UTC (26 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -1 lines
Defopt COMPAT_43

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Oct 19 22:39:09 1998 UTC (26 years, 3 months ago) by tron
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -1 lines
Defopt SYSVMSG, SYSVSEM and SYSVSHM.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Oct 1 14:27:58 1998 UTC (26 years, 3 months ago) by eeh
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +54 -47 lines
Overhaul.  Now will run simple things like /bin/sh and /bin/echo.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Aug 26 13:42:50 1998 UTC (26 years, 4 months ago) by mrg
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +6 -2 lines
make oreboot work.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Aug 26 10:20:37 1998 UTC (26 years, 4 months ago) by mrg
Branches: MAIN
add a 32-bit compatibility module for the sparc64 port, so it can run NetBSD/sparc binaries with a LP64 kernel.

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>