The NetBSD Project

CVS log for src/sys/compat/netbsd32/netbsd32_netbsd.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.237: download - view: text, markup, annotated - select for diffs
Mon May 20 01:30:33 2024 UTC (6 months, 3 weeks ago) by christos
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.236: preferred, colored
Changes since revision 1.236: +6 -6 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.236: download - view: text, markup, annotated - select for diffs
Sun May 19 22:25:48 2024 UTC (6 months, 3 weeks ago) by christos
Branches: MAIN
Diff to: previous 1.235: preferred, colored
Changes since revision 1.235: +5 -5 lines
version dup3

Revision 1.235: download - view: text, markup, annotated - select for diffs
Sun Jul 30 05:30:45 2023 UTC (16 months, 1 week ago) by rin
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Diff to: previous 1.234: preferred, colored
Changes since revision 1.234: +17 -2 lines
COMPAT_NETBSD32: Add support for memfd_create(2).

Revision 1.234: download - view: text, markup, annotated - select for diffs
Sun Jul 30 05:10:47 2023 UTC (16 months, 1 week ago) by rin
Branches: MAIN
Diff to: previous 1.233: preferred, colored
Changes since revision 1.233: +21 -22 lines
netbsd32_netbsd: Sort headers. No binary changes.

Revision 1.206.2.3: download - view: text, markup, annotated - select for diffs
Wed Jun 21 20:38:35 2023 UTC (17 months, 3 weeks ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.206.2.2: preferred, colored; branchpoint 1.206: preferred, colored; next MAIN 1.207: preferred, colored
Changes since revision 1.206.2.2: +14 -2 lines
Pull up following revision(s) (requested by riastradh in ticket #1833):

	sys/compat/netbsd32/netbsd32_netbsd.c: revision 1.232
	sys/compat/netbsd32/netbsd32_socket.c: revision 1.56
	sys/compat/netbsd32/netbsd32_conv.h: revision 1.45
	sys/compat/netbsd32/netbsd32_fs.c: revision 1.92
	sys/compat/netbsd32/netbsd32.h: revision 1.137

The read/write/send/recv system calls return ssize_t because -1 is
returned on error.  Therefore we must restrict the lengths of any
buffers to NETBSD32_SSIZE_MAX with compat32 to avoid garbage return
values.

Fixes ATF lib/libc/sys/t_write:write_err.

Revision 1.228.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 3 11:05:51 2022 UTC (2 years, 4 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE
Diff to: previous 1.228: preferred, colored; next MAIN 1.229: preferred, colored
Changes since revision 1.228: +14 -2 lines
Pull up following revision(s), all via patch
(requested by riastradh in ticket #1489):

	sys/compat/netbsd32/netbsd32_netbsd.c: revision 1.232
	sys/compat/netbsd32/netbsd32_socket.c: revision 1.56
	sys/compat/netbsd32/netbsd32_conv.h: revision 1.45
	sys/compat/netbsd32/netbsd32_fs.c: revision 1.92
	sys/compat/netbsd32/netbsd32.h: revision 1.137

The read/write/send/recv system calls return ssize_t because -1 is
returned on error.  Therefore we must restrict the lengths of any
buffers to NETBSD32_SSIZE_MAX with compat32 to avoid garbage return
values.

Fixes ATF lib/libc/sys/t_write:write_err.

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

Revision 1.230.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:42 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.230: preferred, colored; next MAIN 1.231: preferred, colored
Changes since revision 1.230: +14 -4 lines
Sync with HEAD.

Revision 1.232: download - view: text, markup, annotated - select for diffs
Tue Jan 19 03:41:22 2021 UTC (3 years, 10 months ago) by simonb
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-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.231: preferred, colored
Changes since revision 1.231: +14 -2 lines
The read/write/send/recv system calls return ssize_t because -1 is
returned on error.  Therefore we must restrict the lengths of any
buffers to NETBSD32_SSIZE_MAX with compat32 to avoid garbage return
values.

Fixes ATF lib/libc/sys/t_write:write_err.

Revision 1.231: download - view: text, markup, annotated - select for diffs
Fri Jan 15 03:51:41 2021 UTC (3 years, 10 months ago) by simonb
Branches: MAIN
Diff to: previous 1.230: preferred, colored
Changes since revision 1.230: +2 -4 lines
Remove unused LIMITCHECK() macro (now contained in netbsd32_rlimit.c).

Revision 1.230: download - view: text, markup, annotated - select for diffs
Sat Oct 10 00:00:54 2020 UTC (4 years, 2 months ago) by rin
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.229: preferred, colored
Changes since revision 1.229: +18 -2 lines
Teach about getrandom(2) to COMPAT_NETBSD32.

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

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

Revision 1.228: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:31:54 2019 UTC (5 years, 5 months ago) by kamil
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, netbsd-9-base, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: netbsd-9
Diff to: previous 1.227: preferred, colored
Changes since revision 1.227: +4 -4 lines
Add mkfifo{,at}(2) mode in mknod{,at}(2) as requested by POSIX

mknod with mode & S_IFIFO and dev=0 shall behave like mkfifo.

Update the documentation to reflect this state.

Add ATF tests.

This is an in-kernel implementation as typically user-space programs use
mkfifo(2) directly, however whenever there is need to bypass libc (like in
valgrind) then portable POSIX software calls the mknod syscall.

Noted on tech-kern@ by Greg Troxel.

Revision 1.227: download - view: text, markup, annotated - select for diffs
Tue Jun 18 22:34:25 2019 UTC (5 years, 5 months ago) by kamil
Branches: MAIN
Diff to: previous 1.226: preferred, colored
Changes since revision 1.226: +3 -3 lines
Drop unused retval pointer from do_sys_mknod{,at}()

No functional change intended.

Revision 1.226: download - view: text, markup, annotated - select for diffs
Tue Jun 18 16:46:03 2019 UTC (5 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.225: preferred, colored
Changes since revision 1.225: +6 -7 lines
sort -u opt_ to remove dup.

Revision 1.225: download - view: text, markup, annotated - select for diffs
Tue Jun 18 16:22:54 2019 UTC (5 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.224: preferred, colored
Changes since revision 1.224: +3 -2 lines
Add options for quota.

Revision 1.224: download - view: text, markup, annotated - select for diffs
Tue Jun 18 16:05:30 2019 UTC (5 years, 5 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.223: preferred, colored
Changes since revision 1.223: +3 -2 lines
Include opt_quota.h

Fixes (at least) the amd64 build.

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

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

Revision 1.206.2.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 12:04:09 2018 UTC (5 years, 11 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Diff to: previous 1.206.2.1: preferred, colored; branchpoint 1.206: preferred, colored
Changes since revision 1.206.2.1: +6 -3 lines
Pull up following revision(s) (requested by mrg in ticket #1146):

	sys/compat/netbsd32/netbsd32_netbsd.c: revision 1.219

pset_create() takes a pointer so it needs special handling.

Revision 1.214.2.7: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:01:46 2018 UTC (5 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.214.2.6: preferred, colored; branchpoint 1.214: preferred, colored; next MAIN 1.215: preferred, colored
Changes since revision 1.214.2.6: +221 -449 lines
Sync with HEAD, resolve a few conflicts

Revision 1.193.6.1: download - view: text, markup, annotated - select for diffs
Tue Dec 25 11:34:14 2018 UTC (5 years, 11 months ago) by martin
Branches: netbsd-7-0
Diff to: previous 1.193: preferred, colored; next MAIN 1.194: preferred, colored
Changes since revision 1.193: +3 -3 lines
Apply patch, requested by maxv in ticket #1666:
Fix similar to:

	sys/uvm/uvm_swap.c: revision 1.178

Woah man, fix enormous leak.

        Possible info leak: [len=1056, leaked=931]
        #0 0xffffffff80bad351 in kleak_copyout
        #1 0xffffffff80b2cf64 in uvm_swap_stats.part.1
        #2 0xffffffff80b2d38d in uvm_swap_stats
        #3 0xffffffff80b2d43c in sys_swapctl
        #4 0xffffffff80259b82 in syscall

Revision 1.193.10.1: download - view: text, markup, annotated - select for diffs
Tue Dec 25 11:33:27 2018 UTC (5 years, 11 months ago) by martin
Branches: netbsd-7-1
Diff to: previous 1.193: preferred, colored; next MAIN 1.194: preferred, colored
Changes since revision 1.193: +3 -3 lines
Apply patch, requested by maxv in ticket #1666:
Fix similar to:

	sys/uvm/uvm_swap.c: revision 1.178

Woah man, fix enormous leak.

        Possible info leak: [len=1056, leaked=931]
        #0 0xffffffff80bad351 in kleak_copyout
        #1 0xffffffff80b2cf64 in uvm_swap_stats.part.1
        #2 0xffffffff80b2d38d in uvm_swap_stats
        #3 0xffffffff80b2d43c in sys_swapctl
        #4 0xffffffff80259b82 in syscall

Revision 1.193.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 25 11:32:30 2018 UTC (5 years, 11 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.193: preferred, colored; next MAIN 1.194: preferred, colored
Changes since revision 1.193: +3 -3 lines
Apply patch, requested by maxv in ticket #1666:
Fix similar to:

	sys/uvm/uvm_swap.c: revision 1.178

Woah man, fix enormous leak.

        Possible info leak: [len=1056, leaked=931]
        #0 0xffffffff80bad351 in kleak_copyout
        #1 0xffffffff80b2cf64 in uvm_swap_stats.part.1
        #2 0xffffffff80b2d38d in uvm_swap_stats
        #3 0xffffffff80b2d43c in sys_swapctl
        #4 0xffffffff80259b82 in syscall

Revision 1.206.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 25 11:19:52 2018 UTC (5 years, 11 months ago) by martin
Branches: netbsd-8
Diff to: previous 1.206: preferred, colored
Changes since revision 1.206: +3 -3 lines
Apply patch, requested by maxv in ticket #1142:
Similar to:

	sys/uvm/uvm_swap.c: revision 1.178

Fix kernel info leak in swapctl(2).

        Possible info leak: [len=1056, leaked=931]
        #0 0xffffffff80bad351 in kleak_copyout
        #1 0xffffffff80b2cf64 in uvm_swap_stats.part.1
        #2 0xffffffff80b2d38d in uvm_swap_stats
        #3 0xffffffff80b2d43c in sys_swapctl
        #4 0xffffffff80259b82 in syscall

Revision 1.222: download - view: text, markup, annotated - select for diffs
Mon Dec 24 21:27:05 2018 UTC (5 years, 11 months ago) by mrg
Branches: MAIN
CVS tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226
Diff to: previous 1.221: preferred, colored
Changes since revision 1.221: +2 -175 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.221: download - view: text, markup, annotated - select for diffs
Mon Dec 24 20:44:39 2018 UTC (5 years, 11 months ago) by mrg
Branches: MAIN
Diff to: previous 1.220: preferred, colored
Changes since revision 1.220: +13 -212 lines
move rlimit and quota code into their own modules.

(netbsd32_netbsd.c should have only simple shims.  anything more
than copying arguments from one args struct to the other should
not be placed in this file.  still a couple more to move out.)

Revision 1.220: download - view: text, markup, annotated - select for diffs
Mon Dec 24 20:39:17 2018 UTC (5 years, 11 months ago) by mrg
Branches: MAIN
Diff to: previous 1.219: preferred, colored
Changes since revision 1.219: +227 -108 lines
fix style consistency.
remove obsolete comments or commented code.
NFC.

Revision 1.219: download - view: text, markup, annotated - select for diffs
Mon Dec 24 20:27:57 2018 UTC (5 years, 11 months ago) by mrg
Branches: MAIN
Diff to: previous 1.218: preferred, colored
Changes since revision 1.218: +6 -3 lines
pset_create() takes a pointer so it needs special handling.

Revision 1.214.2.6: download - view: text, markup, annotated - select for diffs
Fri Sep 14 08:53:22 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.214.2.5: preferred, colored; branchpoint 1.214: preferred, colored
Changes since revision 1.214.2.5: +2 -9 lines
Move some extern definitions into netbsd32_netbsd.h rather than having
them in the .c files.

Revision 1.214.2.5: download - view: text, markup, annotated - select for diffs
Wed Sep 12 01:26:40 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.214.2.4: preferred, colored; branchpoint 1.214: preferred, colored
Changes since revision 1.214.2.4: +2 -13 lines
Add a compat_netbsd32_16 to handle the sigcode stuff.

Revision 1.214.2.4: download - view: text, markup, annotated - select for diffs
Wed Sep 12 01:05:21 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.214.2.3: preferred, colored; branchpoint 1.214: preferred, colored
Changes since revision 1.214.2.3: +2 -24 lines
Add a netbsd32_compat40 module, move the 4.0 mount stuff there.

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

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

Revision 1.218: download - view: text, markup, annotated - select for diffs
Fri Aug 10 21:44:58 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: MAIN
CVS tags: pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Diff to: previous 1.217: preferred, colored
Changes since revision 1.217: +4 -2 lines
Allow syscall_establish() to install new syscalls when the existing
entry-point is either sys_nomodule or sys_nosys.  Update the
makesyscalls.sh script to create a const array of bits to allow
syscall_disestablish() to properly restore the original entry-point.
Update all the initializers of struct emul to initialize the pointer
to the bit array struct emul.

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

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

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

Revision 1.217: download - view: text, markup, annotated - select for diffs
Tue Jul 31 21:00:02 2018 UTC (6 years, 4 months ago) by rjs
Branches: MAIN
Diff to: previous 1.216: preferred, colored
Changes since revision 1.216: +22 -2 lines
Add getsockopt2().

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

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

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

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

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

Proposed on tech-kern@.

Welcome to NetBSD 8.99.16!

Sponsored by <The NetBSD Foundation>

Revision 1.214.2.1: download - view: text, markup, annotated - select for diffs
Thu Mar 15 09:12:05 2018 UTC (6 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.214: preferred, colored
Changes since revision 1.214: +21 -52 lines
Synch with HEAD

Revision 1.215: download - view: text, markup, annotated - select for diffs
Thu Mar 15 00:48:13 2018 UTC (6 years, 8 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Diff to: previous 1.214: preferred, colored
Changes since revision 1.214: +21 -52 lines
Untangle the swapctl compat code mess. Welcome to lucky 13.

Revision 1.214: download - view: text, markup, annotated - select for diffs
Tue Jan 9 20:55:43 2018 UTC (6 years, 11 months ago) by maya
Branches: MAIN
CVS tags: pgoyette-compat-base
Branch point for: pgoyette-compat
Diff to: previous 1.213: preferred, colored
Changes since revision 1.213: +2 -3 lines
remove struct emul's e_fault.

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

Ride 8.99.12 version bump.

Revision 1.213: download - view: text, markup, annotated - select for diffs
Sat Jan 6 16:41:23 2018 UTC (6 years, 11 months ago) by kamil
Branches: MAIN
Diff to: previous 1.212: preferred, colored
Changes since revision 1.212: +13 -2 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.212: download - view: text, markup, annotated - select for diffs
Tue Dec 26 08:30:58 2017 UTC (6 years, 11 months ago) by kamil
Branches: MAIN
Diff to: previous 1.211: preferred, colored
Changes since revision 1.211: +3 -6 lines
Refactor pipe1() and correct a bug in sys_pipe2() (SYS_pipe2)

sys_pipe2() returns two integers (values), the 2nd one is a copy of the 2nd
file descriptor that lands in fildes[2]. This is a side effect of reusing
the code for sys_pipe() (SYS_pipe) and not cleaning it up.

The first returned value is (on success) 0.

Introduced a small refactoring in pipe1() that it does not operate over
retval[], but on an array int[2]. A user sets retval[] for pipe() when
desired and needed.

This refactoring touches compat code: netbsd32, linux, linux32.

Before the changes on NetBSD/amd64:

$ ktruss -i ./a.out
[...]
 15131      1 a.out    pipe2(0x7f7fff2e62b8, 0)    = 0, 4
[...]

After the changes:

$ ktruss -i ./a.out
[...]
   782      1 a.out    pipe2(0x7f7fff97e850, 0)    = 0
[...]

There should not be a visible change for current users.

Sponsored by <The NetBSD Foundation>

Revision 1.211: download - view: text, markup, annotated - select for diffs
Tue Dec 19 19:40:03 2017 UTC (6 years, 11 months ago) by kamil
Branches: MAIN
Diff to: previous 1.210: preferred, colored
Changes since revision 1.210: +2 -13 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.210: download - view: text, markup, annotated - select for diffs
Tue Dec 19 18:34:47 2017 UTC (6 years, 11 months ago) by kamil
Branches: MAIN
Diff to: previous 1.209: preferred, colored
Changes since revision 1.209: +2 -14 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.209: download - view: text, markup, annotated - select for diffs
Tue Dec 19 08:48:19 2017 UTC (6 years, 11 months ago) by kamil
Branches: MAIN
Diff to: previous 1.208: preferred, colored
Changes since revision 1.208: +2 -14 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.208: download - view: text, markup, annotated - select for diffs
Wed Dec 6 19:15:27 2017 UTC (7 years ago) by christos
Branches: MAIN
Diff to: previous 1.207: preferred, colored
Changes since revision 1.207: +7 -3 lines
disable 32 bit signal ktrace records; 32 bit traced process produce 64 bit
trace records, the only record that we can't parse is that one :-)
XXX: pullup-8

Revision 1.180.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:56 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.180.2.1: preferred, colored; branchpoint 1.180: preferred, colored; next MAIN 1.181: preferred, colored
Changes since revision 1.180.2.1: +181 -57 lines
update from HEAD

Revision 1.193.4.7: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:59 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.193.4.6: preferred, colored; branchpoint 1.193: preferred, colored; next MAIN 1.194: preferred, colored
Changes since revision 1.193.4.6: +8 -10 lines
Sync with HEAD

Revision 1.207: download - view: text, markup, annotated - select for diffs
Mon Jul 31 15:38:01 2017 UTC (7 years, 4 months ago) by maxv
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, nick-nhusb-base-20170825
Diff to: previous 1.206: preferred, colored
Changes since revision 1.206: +2 -9 lines
Remove references to COMPAT_OLDSOCK (itself removed years ago).

Revision 1.205.6.1: download - view: text, markup, annotated - select for diffs
Tue May 2 03:19:18 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.205: preferred, colored; next MAIN 1.206: preferred, colored
Changes since revision 1.205: +8 -3 lines
Sync with HEAD - tag prg-localcount2-base1

Revision 1.206: download - view: text, markup, annotated - select for diffs
Sat Apr 29 01:15:40 2017 UTC (7 years, 7 months ago) by christos
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek
Branch point for: netbsd-8
Diff to: previous 1.205: preferred, colored
Changes since revision 1.205: +8 -3 lines
move MAP_COPY in compat

Revision 1.193.4.6: download - view: text, markup, annotated - select for diffs
Mon Dec 5 10:55:00 2016 UTC (8 years ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.193.4.5: preferred, colored; branchpoint 1.193: preferred, colored
Changes since revision 1.193.4.5: +2 -21 lines
Sync with HEAD

Revision 1.200.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 4 14:49:07 2016 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.200: preferred, colored; next MAIN 1.201: preferred, colored
Changes since revision 1.200: +3 -21 lines
Sync with HEAD

Revision 1.205: download - view: text, markup, annotated - select for diffs
Wed Oct 19 09:44:01 2016 UTC (8 years, 1 month ago) by skrll
Branches: MAIN
CVS tags: prg-localcount2-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, nick-nhusb-base-20170204, nick-nhusb-base-20161204, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: prg-localcount2
Diff to: previous 1.204: preferred, colored
Changes since revision 1.204: +2 -21 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.193.4.5: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:39 2016 UTC (8 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.193.4.4: preferred, colored; branchpoint 1.193: preferred, colored
Changes since revision 1.193.4.4: +22 -6 lines
Sync with HEAD

Revision 1.204: download - view: text, markup, annotated - select for diffs
Sat Sep 17 02:44:38 2016 UTC (8 years, 2 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20161004
Diff to: previous 1.203: preferred, colored
Changes since revision 1.203: +3 -4 lines
deal with not having KTRACE

Revision 1.203: download - view: text, markup, annotated - select for diffs
Tue Sep 13 07:39:45 2016 UTC (8 years, 2 months ago) by martin
Branches: MAIN
CVS tags: localcount-20160914
Diff to: previous 1.202: preferred, colored
Changes since revision 1.202: +6 -3 lines
Allow emulations to override the creation of ktrace records for posting
signals. In compat_netbsd32 use this to write the 32bit version of
the records, so a 32bit userland kdump is happy.

Revision 1.202: download - view: text, markup, annotated - select for diffs
Sat Sep 10 08:21:26 2016 UTC (8 years, 3 months ago) by skrll
Branches: MAIN
Diff to: previous 1.201: preferred, colored
Changes since revision 1.201: +5 -5 lines
Trailing whitespace

Revision 1.201: download - view: text, markup, annotated - select for diffs
Sat Sep 10 08:20:49 2016 UTC (8 years, 3 months ago) by skrll
Branches: MAIN
Diff to: previous 1.200: preferred, colored
Changes since revision 1.200: +16 -2 lines
+netbsd32__sched_protect

Revision 1.193.4.4: download - view: text, markup, annotated - select for diffs
Sun May 29 08:44:20 2016 UTC (8 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.193.4.3: preferred, colored; branchpoint 1.193: preferred, colored
Changes since revision 1.193.4.3: +40 -24 lines
Sync with HEAD

Revision 1.200: download - view: text, markup, annotated - select for diffs
Fri May 13 16:54:36 2016 UTC (8 years, 7 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20160907, nick-nhusb-base-20160529
Branch point for: pgoyette-localcount
Diff to: previous 1.199: preferred, colored
Changes since revision 1.199: +40 -24 lines
clamp getrlimit the same way we clamp setrlimit

Revision 1.193.4.3: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:30:08 2016 UTC (8 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.193.4.2: preferred, colored; branchpoint 1.193: preferred, colored
Changes since revision 1.193.4.2: +3 -3 lines
Sync with HEAD

Revision 1.199: download - view: text, markup, annotated - select for diffs
Sun Feb 28 23:24:35 2016 UTC (8 years, 9 months ago) by khorben
Branches: MAIN
CVS tags: nick-nhusb-base-20160422, nick-nhusb-base-20160319
Diff to: previous 1.198: preferred, colored
Changes since revision 1.198: +3 -3 lines
Add missing newline character in error message

This is related to kern/50469.

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

Revision 1.198: download - view: text, markup, annotated - select for diffs
Tue Dec 1 02:20:43 2015 UTC (9 years ago) by pgoyette
Branches: MAIN
CVS tags: nick-nhusb-base-20151226
Diff to: previous 1.197: preferred, colored
Changes since revision 1.197: +9 -2 lines
Adapt to per-emulation syscall_autoload capability (the table of syscalls
that can be autoloaded is currently empty).

Revision 1.193.4.1: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:55 2015 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.193: preferred, colored
Changes since revision 1.193: +112 -6 lines
Sync with HEAD

Revision 1.197: download - view: text, markup, annotated - select for diffs
Thu Jul 30 09:55:57 2015 UTC (9 years, 4 months ago) by maxv
Branches: MAIN
CVS tags: nick-nhusb-base-20150921
Diff to: previous 1.196: preferred, colored
Changes since revision 1.196: +12 -5 lines
Lock before calling uvm_swap_stats(). Otherwise a race condition could
corrupt memory.

Revision 1.196: download - view: text, markup, annotated - select for diffs
Sun Jun 21 12:54:33 2015 UTC (9 years, 5 months ago) by martin
Branches: MAIN
Diff to: previous 1.195: preferred, colored
Changes since revision 1.195: +63 -2 lines
Implement trivial conversion for pset_*

Revision 1.195: download - view: text, markup, annotated - select for diffs
Tue Jun 16 10:42:38 2015 UTC (9 years, 5 months ago) by martin
Branches: MAIN
Diff to: previous 1.194: preferred, colored
Changes since revision 1.194: +40 -2 lines
Implement posix_fallocate and fdiscard compat

Revision 1.194: download - view: text, markup, annotated - select for diffs
Tue Jun 16 07:29:46 2015 UTC (9 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.193: preferred, colored
Changes since revision 1.193: +3 -3 lines
Fix a comment.

Revision 1.180.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:33 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.180: preferred, colored
Changes since revision 1.180: +100 -327 lines
Rebase to HEAD as of a few days ago.

Revision 1.185.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:33 2014 UTC (10 years, 4 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.185: preferred, colored; next MAIN 1.186: preferred, colored
Changes since revision 1.185: +38 -57 lines
Rebase.

Revision 1.193: download - view: text, markup, annotated - select for diffs
Thu Jul 31 12:35:33 2014 UTC (10 years, 4 months ago) by maxv
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE
Branch point for: nick-nhusb, netbsd-7-1, netbsd-7-0, netbsd-7
Diff to: previous 1.192: preferred, colored
Changes since revision 1.192: +4 -20 lines
Just return sys_open(). COMPAT_10 will be handled internally.

ok christos@

Revision 1.192: download - view: text, markup, annotated - select for diffs
Sat Jun 28 22:27:50 2014 UTC (10 years, 5 months ago) by dholland
Branches: MAIN
Diff to: previous 1.191: preferred, colored
Changes since revision 1.191: +4 -4 lines
Revert the following changes:

   src/sys/sys/quotactl.h 1.37
   src/sys/compat/netbsd32/netbsd32.h 1.101
   src/sys/compat/netbsd32/netbsd32_netbsd.c 1.188, 1.189
   src/sys/kern/vfs_quotactl.c 1.39
   src/sys/kern/vfs_syscalls.c 1.483
   src/sys/ufs/lfs/ulfs_quota.c 1.11
   src/sys/ufs/ufs/ufs_quota.c 1.116
   src/lib/libquota/quota_kernel.c 1.5

and do them correctly.

If you're going to change the name of something, you need to change
the name of *all* the things with the same name, not just a handful,
and you should change it to something similar so it still matches the
rest of the system rather than just picking an arbitrarily different
name.

Hi, Joerg.

To wit, rename the quotactl "delete" operation to "del", because
"delete" is a reserved word in C++ and for some reason Joerg wants to
run internal interfaces used only by C code through his C++ compiler.
Do not rename it to "remove" instead, because this doesn't match
libquota or the rest of the usage throughout the system; and rename
all the related identifiers, not just the ones that blew the mind of
Joerg's C++ compiler.

Because this is not a user-facing API (the only userland consumer
sys/quotactl.h is libquota) it is sort of ok to make arbitrary
source-incompatible changes; however, by the same token it's completely
unnecessary. If it *were* a user-facing API that someone might have a
semi-rational reason to want to run a C++ compiler on, it would be
incorrect to change it at this point.

Revision 1.191: download - view: text, markup, annotated - select for diffs
Sat Jun 28 11:39:15 2014 UTC (10 years, 5 months ago) by maxv
Branches: MAIN
Diff to: previous 1.190: preferred, colored
Changes since revision 1.190: +22 -24 lines
Sync getfh() with the native implementation. It also fixes:
a) a return value
b) a vnode lock
c) a user-controlled memory allocation

ok christos@, on tech-kern

Revision 1.179.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 26 03:28:47 2014 UTC (10 years, 5 months ago) by msaitoh
Branches: netbsd-6
Diff to: previous 1.179.2.1: preferred, colored; branchpoint 1.179: preferred, colored; next MAIN 1.180: preferred, colored
Changes since revision 1.179.2.1: +8 -7 lines
Pull up following revision(s) (requested by maxv in ticket #1084):
	sys/compat/netbsd32/netbsd32_netbsd.c	rev. 1.187

Fix cases where count <= 0 (thanks to Maxime Villard for raising this).

Revision 1.190: download - view: text, markup, annotated - select for diffs
Sun Jun 22 19:09:39 2014 UTC (10 years, 5 months ago) by maxv
Branches: MAIN
Diff to: previous 1.189: preferred, colored
Changes since revision 1.189: +2 -4 lines
Sync swapctl() with netbsd32. Return EINVAL when misc<0, and 0 when misc=0
or uvmexp.nswapdev=0.

Revision 1.189: download - view: text, markup, annotated - select for diffs
Fri Jun 13 10:37:02 2014 UTC (10 years, 6 months ago) by joerg
Branches: MAIN
Diff to: previous 1.188: preferred, colored
Changes since revision 1.188: +3 -3 lines
delete -> remove

Revision 1.188: download - view: text, markup, annotated - select for diffs
Thu Jun 12 21:39:45 2014 UTC (10 years, 6 months ago) by joerg
Branches: MAIN
Diff to: previous 1.187: preferred, colored
Changes since revision 1.187: +3 -3 lines
Don't t use a C++ keyword as field name.

Revision 1.173.2.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:17 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.173.2.2: preferred, colored; branchpoint 1.173: preferred, colored; next MAIN 1.174: preferred, colored
Changes since revision 1.173.2.2: +96 -304 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.180.4.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:33 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.180.4.1: preferred, colored; branchpoint 1.180: preferred, colored; next MAIN 1.181: preferred, colored
Changes since revision 1.180.4.1: +97 -12 lines
sync with head

Revision 1.187: download - view: text, markup, annotated - select for diffs
Thu May 15 18:25:35 2014 UTC (10 years, 6 months ago) by manu
Branches: MAIN
CVS tags: rmind-smpnet-nbase, rmind-smpnet-base
Diff to: previous 1.186: preferred, colored
Changes since revision 1.186: +8 -7 lines
Fix cases where count <= 0 (thanks to Maxime Villard for raising this)

Revision 1.186: download - view: text, markup, annotated - select for diffs
Wed Apr 30 17:23:45 2014 UTC (10 years, 7 months ago) by njoly
Branches: MAIN
CVS tags: yamt-pagecache-base9
Diff to: previous 1.185: preferred, colored
Changes since revision 1.185: +10 -10 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.185: download - view: text, markup, annotated - select for diffs
Sat Mar 22 08:15:25 2014 UTC (10 years, 8 months ago) by maxv
Branches: MAIN
CVS tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Diff to: previous 1.184: preferred, colored
Changes since revision 1.184: +6 -3 lines
Fix a potential - but very unlikely - NULL pointer dereference.
(it does not introduce a new error code for open(), since
 pathbuf_copyin() is already there and can return ENOMEM)

Found by my code scanner.

Revision 1.179.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 18 08:09:46 2014 UTC (10 years, 8 months ago) by msaitoh
Branches: netbsd-6
Diff to: previous 1.179: preferred, colored
Changes since revision 1.179: +54 -2 lines
Pull up following revision(s) (requested by manu in ticket #1025):
	sys/compat/netbsd32/netbsd32_netbsd.c: revision 1.184
	sys/uvm/uvm_swap.c: revision 1.166
	sys/uvm/uvm_swap.h: revision 1.20
	sys/compat/netbsd32/netbsd32.h: revision 1.99
Properly translate struct swapent for COMPAT_NETBSD32
 Properly translate struct swapent for COMPAT_NETBSD32  (missing commit)

Revision 1.184: download - view: text, markup, annotated - select for diffs
Mon Feb 3 13:20:20 2014 UTC (10 years, 10 months ago) by manu
Branches: MAIN
CVS tags: riastradh-drm2-base3
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +54 -2 lines
Properly translate struct swapent for COMPAT_NETBSD32

Revision 1.183: download - view: text, markup, annotated - select for diffs
Sat Jan 25 03:31:12 2014 UTC (10 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.182: preferred, colored
Changes since revision 1.182: +9 -9 lines
ifdef debug printf

Revision 1.182: download - view: text, markup, annotated - select for diffs
Sat Jan 25 02:27:41 2014 UTC (10 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.181: preferred, colored
Changes since revision 1.181: +33 -4 lines
compat_10 fix: open(NULL) == open(".");

Revision 1.180.4.1: download - view: text, markup, annotated - select for diffs
Wed Aug 28 23:59:24 2013 UTC (11 years, 3 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.180: preferred, colored
Changes since revision 1.180: +2 -294 lines
sync with head

Revision 1.180.10.1: download - view: text, markup, annotated - select for diffs
Tue Jul 23 21:07:35 2013 UTC (11 years, 4 months ago) by riastradh
Branches: riastradh-drm2
Diff to: previous 1.180: preferred, colored; next MAIN 1.181: preferred, colored
Changes since revision 1.180: +2 -294 lines
sync with HEAD

Revision 1.181: download - view: text, markup, annotated - select for diffs
Thu Jul 18 13:43:32 2013 UTC (11 years, 4 months ago) by matt
Branches: MAIN
CVS tags: riastradh-drm2-base2, riastradh-drm2-base1
Diff to: previous 1.180: preferred, colored
Changes since revision 1.180: +2 -294 lines
Move *at syscall handlers to netbsd32_fs.c from netbsd32_netbsd.c
Fix netbsd32_fstatat to emit a 32bit stat structure.

Revision 1.173.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:20 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.173.2.1: preferred, colored; branchpoint 1.173: preferred, colored
Changes since revision 1.173.2.1: +409 -38 lines
sync with head

Revision 1.175.4.2: download - view: text, markup, annotated - select for diffs
Fri Feb 24 09:11:38 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.175.4.1: preferred, colored; branchpoint 1.175: preferred, colored; next MAIN 1.176: preferred, colored
Changes since revision 1.175.4.1: +2 -11 lines
sync to -current.

Revision 1.180: download - view: text, markup, annotated - select for diffs
Sun Feb 19 21:06:39 2012 UTC (12 years, 9 months ago) by rmind
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet, riastradh-drm2
Diff to: previous 1.179: preferred, colored
Changes since revision 1.179: +2 -11 lines
Remove COMPAT_SA / KERN_SA.  Welcome to 6.99.3!
Approved by core@.

Revision 1.175.4.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:33:58 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +401 -27 lines
merge to -current.

Revision 1.179: download - view: text, markup, annotated - select for diffs
Wed Feb 1 05:43:54 2012 UTC (12 years, 10 months ago) by dholland
Branches: MAIN
CVS tags: netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base2
Branch point for: netbsd-6
Diff to: previous 1.178: preferred, colored
Changes since revision 1.178: +4 -4 lines
Improve the names of some members of struct quotactl_args. These are
effectively function parameter names, but since they need to be
described with the same names in the man page the choices do matter.
Some.

Revision 1.178: download - view: text, markup, annotated - select for diffs
Wed Feb 1 05:40:00 2012 UTC (12 years, 10 months ago) by dholland
Branches: MAIN
Diff to: previous 1.177: preferred, colored
Changes since revision 1.177: +86 -27 lines
Update compat_netbsd32 for new quotactl.

Revision 1.177: download - view: text, markup, annotated - select for diffs
Tue Jan 31 22:53:56 2012 UTC (12 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.176: preferred, colored
Changes since revision 1.176: +317 -2 lines
Add missing *at syscalls among others

Revision 1.176: download - view: text, markup, annotated - select for diffs
Sun Jan 29 06:29:04 2012 UTC (12 years, 10 months ago) by dholland
Branches: MAIN
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +3 -3 lines
Add vfs_quotactl() in between the syscall and VFS_QUOTACTL. Call it
from the COMPAT_50 code as well as the current sys_quotactl instead
of going directly to VFS_QUOTACTL. Doesn't actually do anything yet.

Revision 1.175: download - view: text, markup, annotated - select for diffs
Tue Nov 15 14:13:17 2011 UTC (13 years ago) by njoly
Branches: MAIN
CVS tags: jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: jmcneill-usbmp
Diff to: previous 1.174: preferred, colored
Changes since revision 1.174: +10 -4 lines
Fix pipe2 return value.

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

Revision 1.174: download - view: text, markup, annotated - select for diffs
Tue Nov 8 10:59:12 2011 UTC (13 years, 1 month ago) by njoly
Branches: MAIN
CVS tags: yamt-pagecache-base3
Diff to: previous 1.173: preferred, colored
Changes since revision 1.173: +15 -2 lines
Add kqueue1(2) support.

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

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

Revision 1.170.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:19:53 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.170: preferred, colored; next MAIN 1.171: preferred, colored
Changes since revision 1.170: +3 -3 lines
Catchup with rmind-uvmplock merge.

Revision 1.166.2.5: download - view: text, markup, annotated - select for diffs
Sun Jun 12 00:24:13 2011 UTC (13 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.166.2.4: preferred, colored; branchpoint 1.166: preferred, colored; next MAIN 1.167: preferred, colored
Changes since revision 1.166.2.4: +1 -1 lines
sync with head

Revision 1.168.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:07:33 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.168: preferred, colored; next MAIN 1.169: preferred, colored
Changes since revision 1.168: +32 -14 lines
Sync with HEAD.

Revision 1.171: download - view: text, markup, annotated - select for diffs
Sun Jun 5 08:42:59 2011 UTC (13 years, 6 months ago) by dsl
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +3 -3 lines
Delete some splurious commas and very unexpected trailing space

Revision 1.166.2.4: download - view: text, markup, annotated - select for diffs
Tue May 31 03:04:32 2011 UTC (13 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.166.2.3: preferred, colored; branchpoint 1.166: preferred, colored
Changes since revision 1.166.2.3: +1 -1 lines
sync with head

Revision 1.170: download - view: text, markup, annotated - select for diffs
Sun May 1 02:08:15 2011 UTC (13 years, 7 months ago) by rmind
Branches: MAIN
CVS tags: cherry-xenmp-base
Branch point for: cherry-xenmp
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +3 -3 lines
Catch up with lim_privatise() change (missed in previous commit).

Revision 1.166.2.3: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:41:42 2011 UTC (13 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.166.2.2: preferred, colored; branchpoint 1.166: preferred, colored
Changes since revision 1.166.2.2: +28 -10 lines
sync with head

Revision 1.169: download - view: text, markup, annotated - select for diffs
Sun Mar 6 17:08:34 2011 UTC (13 years, 9 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +30 -12 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.166.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:52:55 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.166.2.1: preferred, colored; branchpoint 1.166: preferred, colored
Changes since revision 1.166.2.1: +16 -6 lines
sync with head

Revision 1.168.4.3: download - view: text, markup, annotated - select for diffs
Tue Feb 15 17:52:51 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.168.4.2: preferred, colored; branchpoint 1.168: preferred, colored; next MAIN 1.169: preferred, colored
Changes since revision 1.168.4.2: +28 -29 lines
implement COMPAT_NETBSD32 quotactl syscalls (both new and COMPAT_50)

Revision 1.168.4.2: download - view: text, markup, annotated - select for diffs
Wed Feb 9 16:09:55 2011 UTC (13 years, 10 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.168.4.1: preferred, colored; branchpoint 1.168: preferred, colored
Changes since revision 1.168.4.1: +7 -7 lines
Proper definitions for quotactl

Revision 1.168.4.1: download - view: text, markup, annotated - select for diffs
Thu Jan 20 14:24:55 2011 UTC (13 years, 10 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +22 -3 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.168: download - view: text, markup, annotated - select for diffs
Fri Nov 19 06:44:37 2010 UTC (14 years ago) by dholland
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base
Branch point for: jruoho-x86intr, bouyer-quota2
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +16 -6 lines
Introduce struct pathbuf. This is an abstraction to hold a pathname
and the metadata required to interpret it. Callers of namei must now
create a pathbuf and pass it to NDINIT (instead of a string and a
uio_seg), then destroy the pathbuf after the namei session is
complete.

Update all namei call sites accordingly. Add a pathbuf(9) man page and
update namei(9).

The pathbuf interface also now appears in a couple of related
additional places that were passing string/uio_seg pairs that were
later fed into NDINIT. Update other call sites accordingly.

Revision 1.143.4.5: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:11 2010 UTC (14 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.143.4.4: preferred, colored; branchpoint 1.143: preferred, colored; next MAIN 1.144: preferred, colored
Changes since revision 1.143.4.4: +18 -15 lines
sync with head.

Revision 1.166.2.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:15 2010 UTC (14 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +18 -15 lines
sync with head

Revision 1.163.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:00 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.163: preferred, colored; next MAIN 1.164: preferred, colored
Changes since revision 1.163: +16 -64 lines
Sync with HEAD.

Revision 1.167: download - view: text, markup, annotated - select for diffs
Fri Apr 23 15:19:20 2010 UTC (14 years, 7 months ago) by rmind
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +18 -15 lines
Replace M_IOV and some malloc(9)s with kmem(9), and while there:
- Fix invalid free (M_TEMP vs M_IOV) in do_sys_recvmsg(), spotted by jakllsch@.
  Also, same fix in osf1_sys_sendmsg_xopen().
- Fix attempt to free non-allocated memory in error path in netbsd32___getfh30().
- Plug a memory leak in compat_43_netbsd32_orecvmsg().

Revision 1.143.4.4: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:18 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.143.4.3: preferred, colored; branchpoint 1.143: preferred, colored
Changes since revision 1.143.4.3: +42 -112 lines
sync with head

Revision 1.166: download - view: text, markup, annotated - select for diffs
Tue Mar 2 21:09:21 2010 UTC (14 years, 9 months ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base9
Branch point for: rmind-uvmplock
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +2 -21 lines
remove nfssvc emulation (or non-emulation)

Revision 1.165: download - view: text, markup, annotated - select for diffs
Tue Mar 2 16:08:15 2010 UTC (14 years, 9 months ago) by pooka
Branches: MAIN
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +2 -4 lines
-fs_lfs.h

Revision 1.164: download - view: text, markup, annotated - select for diffs
Tue Mar 2 16:03:59 2010 UTC (14 years, 9 months ago) by pooka
Branches: MAIN
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +2 -32 lines
remove unused lfs compat stubs

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

Revision 1.162: download - view: text, markup, annotated - select for diffs
Sat Dec 12 10:30:09 2009 UTC (15 years ago) by njoly
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +7 -7 lines
Add missing semicolons after NETBSD32TOx_UAP macro calls.

Revision 1.161: download - view: text, markup, annotated - select for diffs
Thu Dec 10 14:10:35 2009 UTC (15 years ago) by matt
Branches: MAIN
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +3 -18 lines
Move saemul_netbsd32 to netbsd32_sa.c and allow the KERN_SA bits to be omitted.

Revision 1.160: download - view: text, markup, annotated - select for diffs
Sat Nov 21 11:54:54 2009 UTC (15 years ago) by njoly
Branches: MAIN
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +2 -3 lines
Kill redundant assignment.

Revision 1.159: download - view: text, markup, annotated - select for diffs
Sun Oct 25 01:14:03 2009 UTC (15 years, 1 month ago) by rmind
Branches: MAIN
CVS tags: jym-xensuspend-nbase
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +36 -37 lines
Initialise struct emul members by name (it is readable now and one can search
them in the tree).

Revision 1.145.4.2.4.2: download - view: text, markup, annotated - select for diffs
Sun Sep 13 06:19:43 2009 UTC (15 years, 3 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15
Diff to: previous 1.145.4.2.4.1: preferred, colored; branchpoint 1.145.4.2: preferred, colored; next MAIN 1.146: preferred, colored
Changes since revision 1.145.4.2.4.1: +2 -134 lines
Move netbsd32___mount50 from netbsd32_netbsd.c to netbsd32_fs.c

Revision 1.145.4.2.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 12 18:02:32 2009 UTC (15 years, 3 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-u2-k2-k4-k7-k8-k9
Diff to: previous 1.145.4.2: preferred, colored
Changes since revision 1.145.4.2: +137 -5 lines
Add support for netbsd32___mount50.  There's got to be a better of doing this.
Maybe pushing it down to vfs.  This only supports mfs/ufs/cd9660 and probably
tmpfs.

Revision 1.143.4.3: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:47:00 2009 UTC (15 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.143.4.2: preferred, colored; branchpoint 1.143: preferred, colored
Changes since revision 1.143.4.2: +3 -3 lines
sync with head.

Revision 1.158: download - view: text, markup, annotated - select for diffs
Sun Aug 9 22:49:01 2009 UTC (15 years, 4 months ago) by haad
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +3 -3 lines
Add enum uio_seg argument to do_sys_mknod and do_sys_mkdir so these functions
can be called from kernel, too.

Change needed for zfs device node creation, until we have propoer devfs.

Oked by ad@.

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

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

Revision 1.157: download - view: text, markup, annotated - select for diffs
Sun May 17 05:57:01 2009 UTC (15 years, 6 months ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, jymxensuspend-base
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +15 -15 lines
pad -> PAD.  Fixes build problem reported by Paul Goyette in private email.

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

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

Revision 1.143.4.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:25 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +135 -42 lines
sync with head.

Revision 1.145.2.3: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:35:08 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.145.2.2: preferred, colored; branchpoint 1.145: preferred, colored; next MAIN 1.146: preferred, colored
Changes since revision 1.145.2.2: +6 -4 lines
Sync with HEAD.

Revision 1.156: download - view: text, markup, annotated - select for diffs
Mon Mar 16 20:48:13 2009 UTC (15 years, 8 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.155: preferred, colored
Changes since revision 1.155: +3 -3 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.155: download - view: text, markup, annotated - select for diffs
Wed Mar 4 18:11:24 2009 UTC (15 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +5 -3 lines
Fix the posix_fadvise return value... finally.

Tested martin on sparc64/m68k and me on hppa.

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

Revision 1.154: download - view: text, markup, annotated - select for diffs
Fri Jan 30 13:01:36 2009 UTC (15 years, 10 months ago) by njoly
Branches: MAIN
CVS tags: nick-hppapmap-base2
Branch point for: jym-xensuspend
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +7 -7 lines
Cleanup. Kill a few netbsd32_caddr_t in syscalls argument types.

Revision 1.153: download - view: text, markup, annotated - select for diffs
Wed Jan 21 10:01:42 2009 UTC (15 years, 10 months ago) by tron
Branches: MAIN
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +103 -18 lines
Revert accidental of some rogue changes which broke the build.

Revision 1.152: download - view: text, markup, annotated - select for diffs
Tue Jan 20 22:49:29 2009 UTC (15 years, 10 months ago) by tron
Branches: MAIN
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +18 -103 lines
Include "bsd.own.mk" to get the definition of "NETBSDSRCDIR" via
"/etc/mk.conf". This fixes manual use of "make cleandir".

Revision 1.145.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:17:36 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +106 -33 lines
Sync with HEAD.

Revision 1.141.6.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:46 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.141.6.2: preferred, colored; branchpoint 1.141: preferred, colored; next MAIN 1.142: preferred, colored
Changes since revision 1.141.6.2: +124 -31 lines
Sync with HEAD.

Revision 1.151: download - view: text, markup, annotated - select for diffs
Sun Jan 11 13:14:14 2009 UTC (15 years, 11 months ago) by nakayama
Branches: MAIN
CVS tags: mjf-devfs2-base
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +3 -3 lines
Follow christos-time_t merge.

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

Revision 1.149.4.2: download - view: text, markup, annotated - select for diffs
Sun Jan 4 01:56:02 2009 UTC (15 years, 11 months ago) by christos
Branches: christos-time_t
Diff to: previous 1.149.4.1: preferred, colored; branchpoint 1.149: preferred, colored; next MAIN 1.150: preferred, colored
Changes since revision 1.149.4.1: +2623 -0 lines
add new syscalls.

Revision 1.144.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:14:03 2008 UTC (16 years ago) by haad
Branches: haad-dm
Diff to: previous 1.144.4.1: preferred, colored; branchpoint 1.144: preferred, colored; next MAIN 1.145: preferred, colored
Changes since revision 1.144.4.1: +94 -18 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.145.4.2: download - view: text, markup, annotated - select for diffs
Tue Nov 25 17:31:26 2008 UTC (16 years ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-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.145.4.1: preferred, colored; branchpoint 1.145: preferred, colored; next MAIN 1.146: preferred, colored
Changes since revision 1.145.4.1: +83 -3 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.149.4.1
Sat Nov 22 23:13:38 2008 UTC (16 years ago) by christos
Branches: christos-time_t
FILE REMOVED
Changes since revision 1.149: +0 -2626 lines
file netbsd32_netbsd.c was added on branch christos-time_t on 2009-01-04 01:56:02 +0000

Revision 1.149: download - view: text, markup, annotated - select for diffs
Sat Nov 22 23:13:38 2008 UTC (16 years 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.148: preferred, colored
Changes since revision 1.148: +83 -3 lines
implement netbsd32__sched_setparam(), netbsd32__sched_getparam(),
netbsd32__sched_setaffinity() and netbsd32__sched_getaffinity().

Revision 1.145.4.1: download - view: text, markup, annotated - select for diffs
Sat Nov 22 04:54:41 2008 UTC (16 years ago) by snj
Branches: netbsd-5
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +10 -2 lines
Pull up following revision(s) (requested by tron in ticket #100):
	sys/compat/netbsd32/netbsd32_netbsd.c: revision 1.148
	sys/compat/netbsd32/netbsd32_sa.c: revision 1.8
Make it possible to compile a kernel with COMPAT_NETBSD32 but without
COMPAT_40. This fixes PR port-amd64/39967.

Revision 1.148: download - view: text, markup, annotated - select for diffs
Thu Nov 20 11:56:40 2008 UTC (16 years ago) by tron
Branches: MAIN
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +10 -2 lines
Make it possible to compile a kernel with COMPAT_NETBSD32 but without
COMPAT_40. This fixes PR port-amd64/39967.

Revision 1.147: download - view: text, markup, annotated - select for diffs
Wed Nov 19 18:36:05 2008 UTC (16 years ago) by ad
Branches: MAIN
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +3 -7 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.146: download - view: text, markup, annotated - select for diffs
Wed Nov 12 12:36:10 2008 UTC (16 years, 1 month ago) by ad
Branches: MAIN
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +4 -12 lines
Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.

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

Revision 1.145: download - view: text, markup, annotated - select for diffs
Wed Oct 15 06:51:19 2008 UTC (16 years, 1 month 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.144: preferred, colored
Changes since revision 1.144: +22 -2 lines
Merge wrstuden-revivesa into HEAD.

Revision 1.143.6.5: download - view: text, markup, annotated - select for diffs
Sun Sep 28 21:23:32 2008 UTC (16 years, 2 months ago) by skrll
Branches: wrstuden-revivesa
Diff to: previous 1.143.6.4: preferred, colored; branchpoint 1.143: preferred, colored; next MAIN 1.144: preferred, colored
Changes since revision 1.143.6.4: +3 -2 lines
Adapt the SA COMPAT_NETBSD32 stuff to this branch.

Revision 1.143.6.4: download - view: text, markup, annotated - select for diffs
Mon Jul 21 19:13:45 2008 UTC (16 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.143.6.3: preferred, colored; branchpoint 1.143: preferred, colored
Changes since revision 1.143.6.3: +7 -2 lines
Add support for compiling SA as an option. Implied by COMPAT_40.

i386 kernels both with COMPAT_40 and with no compat options (and thus
no SA) compile.

No functional changes intended.

Revision 1.143.6.3: download - view: text, markup, annotated - select for diffs
Fri Jun 27 01:34:26 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.143.6.2: preferred, colored; branchpoint 1.143: preferred, colored
Changes since revision 1.143.6.2: +3 -3 lines
Add getucontext32_sa() and getucontext_sa(), and use them. They
are sa-specific versions of getucontext{,32}(). The main difference
is that they do NOT require the p_lock be held. We report an empty
signal mask, both to avoid needing p_lock and because the process
signal mask is almost always 0 for SA.

Revision 1.143.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:30:55 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.143.6.1: preferred, colored; branchpoint 1.143: preferred, colored
Changes since revision 1.143.6.1: +2 -4 lines
Sync w/ -current. 34 merge conflicts to follow.

Revision 1.143.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 4 02:05:05 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.143: preferred, colored; next MAIN 1.144: preferred, colored
Changes since revision 1.143: +2 -4 lines
sync with head

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

Revision 1.144: download - view: text, markup, annotated - select for diffs
Thu May 29 14:51:26 2008 UTC (16 years, 6 months ago) by mrg
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, 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
Branch point for: haad-dm
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +2 -4 lines
remove clause #3 from my license where there are no other
copyright holders involved.

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

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

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

Revision 1.90.2.11: download - view: text, markup, annotated - select for diffs
Mon Mar 24 09:38:42 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.90.2.10: preferred, colored; next MAIN 1.91: preferred, colored
Changes since revision 1.90.2.10: +4 -4 lines
sync with head.

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

Revision 1.126.2.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:33 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.126.2.2: preferred, colored; branchpoint 1.126: preferred, colored; next MAIN 1.127: preferred, colored
Changes since revision 1.126.2.2: +59 -27 lines
sync with HEAD

Revision 1.143: download - view: text, markup, annotated - select for diffs
Fri Mar 21 21:54:58 2008 UTC (16 years, 8 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base2, yamt-pf42-base, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, hpcarm-cleanup-nbase, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +4 -4 lines
Catch up with descriptor handling changes. See kern_descrip.c revision
1.173 for details.

Revision 1.90.2.10: download - view: text, markup, annotated - select for diffs
Wed Feb 27 08:36:30 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.90.2.9: preferred, colored
Changes since revision 1.90.2.9: +2 -18 lines
sync with head.

Revision 1.142: download - view: text, markup, annotated - select for diffs
Sun Feb 24 15:02:15 2008 UTC (16 years, 9 months ago) by martin
Branches: MAIN
CVS tags: matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-base
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +2 -18 lines
Remove old posix_fadvise compat code

Revision 1.128.4.4: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:28 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.128.4.3: preferred, colored; branchpoint 1.128: preferred, colored; next MAIN 1.129: preferred, colored
Changes since revision 1.128.4.3: +75 -27 lines
Sync with HEAD.

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

Revision 1.141: download - view: text, markup, annotated - select for diffs
Mon Jan 28 00:19:28 2008 UTC (16 years, 10 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.140: preferred, colored
Changes since revision 1.140: +3 -3 lines
wrong argument type

Revision 1.140: download - view: text, markup, annotated - select for diffs
Sun Jan 27 20:13:07 2008 UTC (16 years, 10 months ago) by martin
Branches: MAIN
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +20 -2 lines
Catch up with versioning of posix_fadvise

Revision 1.139: download - view: text, markup, annotated - select for diffs
Sun Jan 27 19:51:40 2008 UTC (16 years, 10 months ago) by dsl
Branches: MAIN
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +5 -8 lines
Call do_posix_fadvise() in netbsd32_posix_fadvise()

Revision 1.138: download - view: text, markup, annotated - select for diffs
Sat Jan 26 20:57:46 2008 UTC (16 years, 10 months ago) by dsl
Branches: MAIN
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +18 -7 lines
Split the return value of sys_lseek() into two 32 bit halves for retval[0/1]
in a manner that is endianness independant.
Should mean the amd64 will return correct offsets > 2^32 (sparc64 had a
special define).
Any new netbsd32 ports should work regardless of the endianness.

Revision 1.137: download - view: text, markup, annotated - select for diffs
Sat Jan 26 09:07:01 2008 UTC (16 years, 10 months ago) by dsl
Branches: MAIN
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +6 -22 lines
Don't try to bound the return value for pread/pwrite/pathconf by casting
an 'ssize_t' or 'long' variable to 'register_t'.
If the sizes were different it would either overwrite stack or return
uninitialised stack.  On big-endian systems things would be worse!

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

Revision 1.90.2.8: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:41:51 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.90.2.7: preferred, colored
Changes since revision 1.90.2.7: +450 -774 lines
sync with head

Revision 1.133.2.2: download - view: text, markup, annotated - select for diffs
Sun Jan 20 17:51:28 2008 UTC (16 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.133.2.1: preferred, colored; branchpoint 1.133: preferred, colored; next MAIN 1.134: preferred, colored
Changes since revision 1.133.2.1: +21 -0 lines
Sync with HEAD

Revision 1.135: download - view: text, markup, annotated - select for diffs
Sat Jan 19 22:25:12 2008 UTC (16 years, 10 months ago) by dsl
Branches: MAIN
CVS tags: bouyer-xeni386-nbase, bouyer-xeni386-base
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +23 -2 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.126.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:51:37 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.126.2.1: preferred, colored; branchpoint 1.126: preferred, colored
Changes since revision 1.126.2.1: +450 -778 lines
sync with HEAD

Revision 1.133.2.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:53:09 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +428 -446 lines
Sync with HEAD

Revision 1.128.4.3: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:44:25 2007 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.128.4.2: preferred, colored; branchpoint 1.128: preferred, colored
Changes since revision 1.128.4.2: +429 -774 lines
Sync with HEAD.

Revision 1.130.2.2: download - view: text, markup, annotated - select for diffs
Wed Dec 26 21:39:07 2007 UTC (16 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.130.2.1: preferred, colored; branchpoint 1.130: preferred, colored; next MAIN 1.131: preferred, colored
Changes since revision 1.130.2.1: +429 -774 lines
Sync with head.

Revision 1.134: download - view: text, markup, annotated - select for diffs
Thu Dec 20 23:03:02 2007 UTC (16 years, 11 months ago) by dsl
Branches: MAIN
CVS tags: vmlocking2-base3, matt-armv6-base
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +428 -446 lines
Convert all the system call entry points from:
    int foo(struct lwp *l, void *v, register_t *retval)
to:
    int foo(struct lwp *l, const struct foo_args *uap, register_t *retval)
Fixup compat code to not write into 'uap' and (in some cases) to actually
pass a correctly formatted 'uap' structure with the right name to the
next routine.
A few 'compat' routines that just call standard ones have been deleted.
All the 'compat' code compiles (along with the kernels required to test
build it).
98% done by automated scripts.

Revision 1.132.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 11 15:22:22 2007 UTC (17 years ago) by yamt
Branches: yamt-kmem
Diff to: previous 1.132: preferred, colored; next MAIN 1.133: preferred, colored
Changes since revision 1.132: +3 -3 lines
sync with head.

Revision 1.125.6.4: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:37:20 2007 UTC (17 years ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.125.6.3: preferred, colored; branchpoint 1.125: preferred, colored; next MAIN 1.126: preferred, colored
Changes since revision 1.125.6.3: +114 -441 lines
Sync with HEAD.

Revision 1.133: download - view: text, markup, annotated - select for diffs
Sun Dec 9 12:50:29 2007 UTC (17 years ago) by wiz
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +3 -3 lines
Remove last argument from NDINIT call, following
"Remove cn_lwp from struct componentname.  curlwp should be used
from on.  The NDINIT() macro no longer takes the lwp parameter and
associates the credentials of the calling thread with the namei
structure." from pooka.

Revision 1.132: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:36:19 2007 UTC (17 years ago) by dsl
Branches: MAIN
CVS tags: yamt-kmem-base
Branch point for: yamt-kmem
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +111 -438 lines
ANSIfy most of the function definitions in sys/compat (but not ndis).
All by the magic of sed ...

Revision 1.128.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:18:59 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.128.4.1: preferred, colored; branchpoint 1.128: preferred, colored
Changes since revision 1.128.4.1: +4 -4 lines
Sync with HEAD.

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

Revision 1.90.2.7: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:28:48 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.90.2.6: preferred, colored
Changes since revision 1.90.2.6: +4 -4 lines
sync with head

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

Revision 1.128.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 19 00:47:32 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +21 -4 lines
Sync with HEAD.

Revision 1.90.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 15 11:43:54 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.90.2.5: preferred, colored
Changes since revision 1.90.2.5: +21 -4 lines
sync with head.

Revision 1.128.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 13 16:00:40 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.128: preferred, colored; next MAIN 1.129: preferred, colored
Changes since revision 1.128: +21 -4 lines
Sync with HEAD

Revision 1.125.6.3: download - view: text, markup, annotated - select for diffs
Sun Nov 11 16:47:19 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.125.6.2: preferred, colored; branchpoint 1.125: preferred, colored
Changes since revision 1.125.6.2: +21 -4 lines
Sync with HEAD.

Revision 1.130: download - view: text, markup, annotated - select for diffs
Sat Nov 10 18:55:42 2007 UTC (17 years, 1 month ago) by dsl
Branches: MAIN
CVS tags: vmlocking2-base1, vmlocking-nbase, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +4 -4 lines
Fix builds for ports that don't define __HAVE_MINIMAL_EMUL (eg sparc64).
Fallout from a change that made #define names for syscalls (etc) start
NETBSD32 (not netbsd32).

Revision 1.129: download - view: text, markup, annotated - select for diffs
Fri Nov 9 15:05:34 2007 UTC (17 years, 1 month ago) by dsl
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +19 -2 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.126.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:25:11 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +34 -30 lines
sync with HEAD

Revision 1.90.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:29:46 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.90.2.4: preferred, colored
Changes since revision 1.90.2.4: +34 -30 lines
sync with head.

Revision 1.119.2.5: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:44:06 2007 UTC (17 years, 2 months ago) by ad
Branches: vmlocking
Diff to: previous 1.119.2.4: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119.2.4: +34 -30 lines
Sync with head.

Revision 1.127.2.1: download - view: text, markup, annotated - select for diffs
Sat Oct 6 15:30:15 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.127: preferred, colored; next MAIN 1.128: preferred, colored
Changes since revision 1.127: +34 -30 lines
sync with head.

Revision 1.125.6.2: download - view: text, markup, annotated - select for diffs
Tue Oct 2 18:28:13 2007 UTC (17 years, 2 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.125.6.1: preferred, colored; branchpoint 1.125: preferred, colored
Changes since revision 1.125.6.1: +34 -30 lines
Sync with HEAD.

Revision 1.128: download - view: text, markup, annotated - select for diffs
Sat Sep 29 12:22:31 2007 UTC (17 years, 2 months ago) by dsl
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, vmlocking-base, jmcneill-base
Branch point for: mjf-devfs, bouyer-xenamd64
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +34 -30 lines
Change the way p->p_limit (and hence p->p_rlimit) is locked.
Should fix PR/36939 and make the rlimit code MP safe.
Posted for comment to tech-kern (non received!)

The p_limit field (for a process) is only be changed once (on the first
  write), and a reference to the old structure is kept (for code paths
  that have cached the pointer).
Only p->p_limit is now locked by p->p_mutex, and since the referenced memory
  will not go away, is only needed if the pointer is to be changed.
The contents of 'struct plimit' are all locked by pl_mutex, except that the
  code doesn't bother to acquire it for reads (which are basically atomic).
Add FORK_SHARELIMIT that causes fork1() to share the limits between parent
  and child, use it for the IRIX_PR_SULIMIT.
Fix borked test for both IRIX_PR_SUMASK and IRIX_PR_SDIR being set.

Revision 1.127: download - view: text, markup, annotated - select for diffs
Fri Sep 21 19:19:21 2007 UTC (17 years, 2 months ago) by dsl
Branches: MAIN
CVS tags: yamt-x86pmap-base
Branch point for: yamt-x86pmap
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +4 -4 lines
Rename members of 'struct plimit' so that the fields are 'pl_xxx' and
no longer have the same names as members of 'struct proc'.

Revision 1.90.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:32:39 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.90.2.3: preferred, colored
Changes since revision 1.90.2.3: +25 -59 lines
sync with head.

Revision 1.125.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 10:20:01 2007 UTC (17 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.125: preferred, colored; next MAIN 1.126: preferred, colored
Changes since revision 1.125: +2 -7 lines
Sync with HEAD.

Revision 1.119.2.4: download - view: text, markup, annotated - select for diffs
Mon Aug 20 21:25:59 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.119.2.3: preferred, colored
Changes since revision 1.119.2.3: +2 -7 lines
Sync with HEAD.

Revision 1.125.6.1: download - view: text, markup, annotated - select for diffs
Thu Aug 16 11:02:54 2007 UTC (17 years, 3 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +2 -7 lines
Sync with HEAD.

Revision 1.126: download - view: text, markup, annotated - select for diffs
Wed Aug 15 12:07:31 2007 UTC (17 years, 4 months ago) by ad
Branches: MAIN
CVS tags: nick-csl-alignment-base5
Branch point for: matt-armv6
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +2 -7 lines
Changes to make ktrace LKM friendly and reduce ifdef KTRACE. Proposed
on tech-kern.

Revision 1.119.2.3: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:27:13 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.119.2.2: preferred, colored
Changes since revision 1.119.2.2: +10 -25 lines
Sync with head.

Revision 1.125: download - view: text, markup, annotated - select for diffs
Sat Jul 14 15:47:27 2007 UTC (17 years, 5 months ago) by dsl
Branches: MAIN
CVS tags: nick-csl-alignment-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: nick-csl-alignment, jmcneill-pm
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +4 -4 lines
Adapt for sys_mount() becoming compat_40_sys_mount(),

Revision 1.119.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:04:31 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.119: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119: +23 -52 lines
Sync with head.

Revision 1.124: download - view: text, markup, annotated - select for diffs
Sat Jun 30 15:31:50 2007 UTC (17 years, 5 months ago) by dsl
Branches: MAIN
CVS tags: mjf-ufs-trans-base
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +8 -23 lines
Changes to sompat socket function to avoid the dreaded stackgap.

Revision 1.119.2.2: download - view: text, markup, annotated - select for diffs
Sun May 27 14:35:19 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.119.2.1: preferred, colored
Changes since revision 1.119.2.1: +4 -16 lines
Sync with head.

Revision 1.116.2.4: download - view: text, markup, annotated - select for diffs
Mon May 7 10:55:16 2007 UTC (17 years, 7 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.116.2.3: preferred, colored; branchpoint 1.116: preferred, colored; next MAIN 1.117: preferred, colored
Changes since revision 1.116.2.3: +4 -16 lines
sync with head.

Revision 1.123: download - view: text, markup, annotated - select for diffs
Sun Apr 22 14:10:30 2007 UTC (17 years, 7 months ago) by dsl
Branches: MAIN
CVS tags: yamt-idlelwp-base8
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +3 -14 lines
Delete a diagnostic printf and some unused 'stack gap' initialisation.

Revision 1.122: download - view: text, markup, annotated - select for diffs
Sun Apr 22 08:29:58 2007 UTC (17 years, 7 months ago) by dsl
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +7 -8 lines
Change the way that emulations locate files within the emulation root to
  avoid having to allocate space in the 'stackgap'
  - which is very LWP unfriendly.
The additional code for non-emulation namei() is trivial, the reduction for
  the emulations is massive.
The vnode for a processes emulation root is saved in the cwdi structure
  during process exec.
If the emulation root the TRYEMULROOT flag are set, namei() will do an initial
  search for absolute pathnames in the emulation root, if that fails it will
  retry from the normal root.
".." at the emulation root will always go to the real root, even in the middle
  of paths and when expanding symlinks.
Absolute symlinks found using absolute paths in the emulation root will be
  relative to the emulation root (so /usr/lib/xxx.so -> /lib/xxx.so links
  inside the emulation root don't need changing).
If the root of the emulation would be returned (for an emulation lookup), then
  the real root is returned instead (matching the behaviour of emul_lookup,
  but being a cheap comparison here) so that programs that scan "../.."
  looking for the root dircetory don't loop forever.
The target for symbolic links is no longer mangled (it used to get the
  CHECK_ALT_xxx() treatment, so could get /emul/xxx prepended).
CHECK_ALT_xxx() are no more. Most of the change is deleting them, and adding
  TRYEMULROOT to the flags to NDINIT().
A lot of the emulation system call stubs could now be deleted.

Revision 1.119.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 10 13:26:29 2007 UTC (17 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +16 -18 lines
Sync with head.

Revision 1.119.6.2: download - view: text, markup, annotated - select for diffs
Thu Mar 29 19:27:41 2007 UTC (17 years, 8 months ago) by reinoud
Branches: reinoud-bufcleanup
Diff to: previous 1.119.6.1: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119.6.1: +11 -13 lines
Pullup to -current

Revision 1.116.2.3: download - view: text, markup, annotated - select for diffs
Sat Mar 24 14:55:15 2007 UTC (17 years, 8 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.116.2.2: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.2.2: +16 -18 lines
sync with head.

Revision 1.121: download - view: text, markup, annotated - select for diffs
Sun Mar 18 21:38:33 2007 UTC (17 years, 8 months ago) by dsl
Branches: MAIN
CVS tags: thorpej-atomic-base, thorpej-atomic
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +11 -13 lines
Change all the NETBSD32PTR64(SCARG(uap, xxx))) to SCARG_P32(uap, xxx).

Revision 1.119.6.1: download - view: text, markup, annotated - select for diffs
Sun Mar 18 00:06:37 2007 UTC (17 years, 8 months ago) by reinoud
Branches: reinoud-bufcleanup
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +7 -7 lines
First attempt to bring branch in sync with HEAD

Revision 1.120: download - view: text, markup, annotated - select for diffs
Fri Mar 16 22:21:42 2007 UTC (17 years, 9 months ago) by dsl
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +7 -7 lines
remove all the double (and triple) casts used to convert 32bit userspace
pointers to and from 64bit kernel pointers.  Instead use the defines
NETBSD32PTR64(p32) to read a 32bit pointer and (the new) NETBSD32PTR32(p32,p64)
to write a 32bit pointer throughout.
The 32bit pointer is now a struct to enforce the above.
amd64 (with linux emul) and sparc64 will both compile (when the arch stuff
goes in soon), and amd64 still runs some i386 binaries.

Revision 1.116.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:52:32 2007 UTC (17 years, 9 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.116.2.1: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.2.1: +14 -14 lines
Sync with HEAD.

Revision 1.119: download - view: text, markup, annotated - select for diffs
Sun Mar 4 07:54:08 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
Branch point for: vmlocking, reinoud-bufcleanup, mjf-ufs-trans
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +7 -7 lines
fix fallout from caddr_t changes.

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

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

Revision 1.90.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:09:31 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.90.2.2: preferred, colored
Changes since revision 1.90.2.2: +12 -20 lines
sync with head.

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

The libpthread regression tests now pass on amd64 and sparc64.

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

Revision 1.111.2.4: download - view: text, markup, annotated - select for diffs
Mon Feb 5 13:16:49 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.111.2.3: preferred, colored; branchpoint 1.111: preferred, colored; next MAIN 1.112: preferred, colored
Changes since revision 1.111.2.3: +10 -5 lines
- When clearing signals dequeue siginfo first and free later, once
  outside the lock permiter.
- Push kernel_lock back in a a couple of places.
- Adjust limcopy() to be MP safe (this needs redoing).
- Fix a couple of bugs noticed along the way.
- Catch up with condvar changes.

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

Revision 1.111.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:04:03 2007 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.111.2.1: preferred, colored; branchpoint 1.111: preferred, colored
Changes since revision 1.111.2.1: +43 -20 lines
Sync with head.

Revision 1.90.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:42 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.90.2.1: preferred, colored
Changes since revision 1.90.2.1: +111 -43 lines
sync with head.

Revision 1.111.4.1: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:16:48 2006 UTC (18 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.111: preferred, colored; next MAIN 1.112: preferred, colored
Changes since revision 1.111: +45 -22 lines
sync with head.

Revision 1.115: download - view: text, markup, annotated - select for diffs
Tue Nov 21 18:50:01 2006 UTC (18 years ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +10 -10 lines
deal with RLIM_INFINITY in the setrlimit case.

Revision 1.114: download - view: text, markup, annotated - select for diffs
Tue Nov 21 14:57:54 2006 UTC (18 years ago) by christos
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +38 -18 lines
Simplify previous commit not to use dosetrlimit(), since we don't want the
kauth tests etc.

Revision 1.113: download - view: text, markup, annotated - select for diffs
Tue Nov 21 14:32:27 2006 UTC (18 years ago) by christos
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +20 -17 lines
From Nicolas Joly:

> It seems that 32bits programs, running under compat_netbsd32, using
> setrlimit force all other programs to have their maximum data size
> fixed at 3GB, where native 64bits apps used 8GB previously.

I tracked this one to the `netbsd32_adjust_limits()' function (called
when creating a new process under compat_netbsd32), where data and
stack limits are set without checking for shared `p_limit' structure
(p_limit->p_refcnt > 1). This explain the side effect where processes
have their limits changed when a compat_netbsd32 (or compat_linux32)
program is run.

The fix is to use `dosetrlimit()' to ensure the needed copy-on-write
behaviour for shared structure.

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

Revision 1.112: download - view: text, markup, annotated - select for diffs
Tue Nov 14 13:34:29 2006 UTC (18 years, 1 month ago) by elad
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +4 -4 lines
Clean some KAUTH_GENERIC_ISSUSER usage in compat code.

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

Revision 1.100.2.4: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:23:46 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.100.2.3: preferred, colored; branchpoint 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100.2.3: +12 -3 lines
sync with head.

Revision 1.111: download - view: text, markup, annotated - select for diffs
Fri Sep 1 21:20:47 2006 UTC (18 years, 3 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.110: preferred, colored
Changes since revision 1.110: +11 -5 lines
When calling PTRACE from an LKM, use sysent[SYS_ptrace].sy_call in case
the sys_ptrace symbol isn't present.

Revision 1.110: download - view: text, markup, annotated - select for diffs
Wed Aug 30 13:56:48 2006 UTC (18 years, 3 months ago) by cube
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +5 -2 lines
Protect netbsd32_ptrace with options PTRACE.

Revision 1.100.2.3: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:43:29 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.100.2.2: preferred, colored; branchpoint 1.100: preferred, colored
Changes since revision 1.100.2.2: +60 -24 lines
sync with head

Revision 1.109: download - view: text, markup, annotated - select for diffs
Mon Jul 31 16:34:43 2006 UTC (18 years, 4 months ago) by martin
Branches: MAIN
CVS tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +9 -7 lines
Make filehandles opaque to userland

Revision 1.108: download - view: text, markup, annotated - select for diffs
Sun Jul 23 22:06:09 2006 UTC (18 years, 4 months ago) by ad
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +6 -8 lines
Use the LWP cached credentials where sane.

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

Revision 1.104.4.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:49:14 2006 UTC (18 years, 5 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104: +52 -14 lines
Merge from HEAD.

Revision 1.106: download - view: text, markup, annotated - select for diffs
Thu Jul 13 12:00:25 2006 UTC (18 years, 5 months ago) by martin
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +48 -29 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.105: download - view: text, markup, annotated - select for diffs
Mon Jun 26 21:23:57 2006 UTC (18 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +25 -6 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.90.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:59:35 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +543 -33 lines
sync with head.

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

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

Revision 1.100.2.2: download - view: text, markup, annotated - select for diffs
Wed May 24 10:57:31 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.100.2.1: preferred, colored; branchpoint 1.100: preferred, colored
Changes since revision 1.100.2.1: +17 -28 lines
sync with head.

Revision 1.104: download - view: text, markup, annotated - select for diffs
Sun May 14 21:24:50 2006 UTC (18 years, 7 months ago) by elad
Branches: MAIN
CVS tags: yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: gdamore-uart
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +13 -8 lines
integrate kauth.

Revision 1.100.4.6: download - view: text, markup, annotated - select for diffs
Fri May 12 14:50:52 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.100.4.5: preferred, colored; branchpoint 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100.4.5: +3 -2 lines
include sys/kauth.h where appropriate.

Revision 1.100.4.5: download - view: text, markup, annotated - select for diffs
Thu May 11 23:27:31 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.100.4.4: preferred, colored; branchpoint 1.100: preferred, colored
Changes since revision 1.100.4.4: +6 -22 lines
sync with head

Revision 1.103: download - view: text, markup, annotated - select for diffs
Thu May 11 00:59:10 2006 UTC (18 years, 7 months ago) by mrg
Branches: MAIN
CVS tags: elad-kernelauth-base
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +6 -6 lines
use socklen_t where appropriate.

Revision 1.102: download - view: text, markup, annotated - select for diffs
Fri May 5 13:31:30 2006 UTC (18 years, 7 months ago) by cube
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +2 -18 lines
Move fhstat as sys___fhstat30 in netbsd32_fs.c because it doesn't belong
to netbsd32_netbsd.c (which incidentally means it had been broken for a
while I guess).  Add compat_30 version.

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

Revision 1.100.4.4: download - view: text, markup, annotated - select for diffs
Wed Apr 19 04:01:22 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.100.4.3: preferred, colored; branchpoint 1.100: preferred, colored
Changes since revision 1.100.4.3: +17 -2 lines
sync with head.

Revision 1.100.4.3: download - view: text, markup, annotated - select for diffs
Tue Apr 18 13:34:47 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.100.4.2: preferred, colored; branchpoint 1.100: preferred, colored
Changes since revision 1.100.4.2: +2 -3 lines
zap unused var

Revision 1.100.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 1 12:06:41 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +17 -2 lines
sync with head.

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

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

Revision 1.100.4.2: download - view: text, markup, annotated - select for diffs
Tue Mar 14 02:52:47 2006 UTC (18 years, 9 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.100.4.1: preferred, colored; branchpoint 1.100: preferred, colored
Changes since revision 1.100.4.1: +3 -4 lines
Use kauth_cred_[sg]etgroups() where appropriate.

Revision 1.100.4.1: download - view: text, markup, annotated - select for diffs
Wed Mar 8 01:48:38 2006 UTC (18 years, 9 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +14 -8 lines
Adapt to kernel authorization KPI.

Revision 1.99.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 15:39:02 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.99: preferred, colored; next MAIN 1.100: preferred, colored
Changes since revision 1.99: +4 -2 lines
sync with head.

Revision 1.100: download - view: text, markup, annotated - select for diffs
Thu Feb 9 19:18:57 2006 UTC (18 years, 10 months ago) by manu
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +4 -2 lines
Add initial (but unfinished) COMPAT_LINUX32 for amd64. This is good enough so
that the i386 license manager part of amd64 version of Fluent works.

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

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

Revision 1.73.2.7: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:01:21 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.73.2.6: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73.2.6: +522 -4 lines
Sync with HEAD. Here we go again...

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

Revision 1.98: download - view: text, markup, annotated - select for diffs
Fri Aug 19 04:24:38 2005 UTC (19 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +3 -2 lines
Fix lossage I created with the 64 bit ino_t change.

Revision 1.97: download - view: text, markup, annotated - select for diffs
Tue Jul 12 15:06:17 2005 UTC (19 years, 5 months ago) by martin
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +9 -3 lines
When returning 64bit values (from netbsd32_lseek) fix up the return
value vector (of 32bit values, most likely) via a MD macro.

Revision 1.96: download - view: text, markup, annotated - select for diffs
Tue Jul 12 07:45:34 2005 UTC (19 years, 5 months ago) by cube
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +194 -2 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.95: download - view: text, markup, annotated - select for diffs
Mon Jul 11 20:18:05 2005 UTC (19 years, 5 months ago) by cube
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +18 -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.94: download - view: text, markup, annotated - select for diffs
Sun Jul 10 14:32:16 2005 UTC (19 years, 5 months ago) by cube
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +20 -2 lines
Add support for fsync_range(2).

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

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

Revision 1.91: download - view: text, markup, annotated - select for diffs
Fri Jul 8 21:39:39 2005 UTC (19 years, 5 months ago) by cube
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +244 -2 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.90: download - view: text, markup, annotated - select for diffs
Mon Jul 4 00:26:06 2005 UTC (19 years, 5 months ago) by cube
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +16 -2 lines
Implement uuidgen(2).

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

Revision 1.86.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:41 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86: +45 -6 lines
sync with -current

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

Revision 1.86.6.2: download - view: text, markup, annotated - select for diffs
Sat Mar 26 18:19:18 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.86.6.1: preferred, colored; branchpoint 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86.6.1: +41 -2 lines
sync with head.

Revision 1.88: download - view: text, markup, annotated - select for diffs
Sat Mar 26 05:12:35 2005 UTC (19 years, 8 months ago) by fvdl
Branches: MAIN
CVS tags: yamt-km-base4, kent-audio2-base
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +41 -2 lines
Fix some things regarding COMPAT_NETBSD32 and limits/VM addresses.

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

Tested on amd64, compile-tested on sparc64.

Revision 1.86.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:33:43 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +6 -6 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.73.2.5: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:40:20 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.73.2.4: preferred, colored
Changes since revision 1.73.2.4: +6 -6 lines
Sync with HEAD.

Hi Perry!

Revision 1.87: download - view: text, markup, annotated - select for diffs
Sat Feb 26 23:10:21 2005 UTC (19 years, 9 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base3, netbsd-3-base
Branch point for: netbsd-3
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +6 -6 lines
nuke trailing whitespace

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

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

Revision 1.73.2.2: download - view: text, markup, annotated - select for diffs
Thu Aug 26 19:28:30 2004 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.73.2.1: preferred, colored
Changes since revision 1.73.2.1: +6 -6 lines
Adapt to branch.

sparc64 GENERIC compiles.

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

Revision 1.86: download - view: text, markup, annotated - select for diffs
Thu Jun 17 18:29:40 2004 UTC (20 years, 5 months ago) by cube
Branches: MAIN
CVS tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +2 -21 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.85: download - view: text, markup, annotated - select for diffs
Thu Apr 22 12:04:03 2004 UTC (20 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +4 -4 lines
Add the missing 'v' to fhstatvfs1

Revision 1.84: download - view: text, markup, annotated - select for diffs
Wed Apr 21 11:50:26 2004 UTC (20 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +7 -4 lines
try to make this compile. XXX: this will not work yet (hi simon)

Revision 1.83: download - view: text, markup, annotated - select for diffs
Wed Apr 21 01:05:36 2004 UTC (20 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +4 -4 lines
Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Fri Mar 26 18:38:55 2004 UTC (20 years, 8 months ago) by drochner
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.81: preferred, colored
Changes since revision 1.81: +12 -3 lines
use netbsd32_sigcode with COMPAT_16 only

Revision 1.81: download - view: text, markup, annotated - select for diffs
Sun Mar 21 13:26:44 2004 UTC (20 years, 8 months ago) by mrg
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +3 -3 lines
fix a (syscall args) comment.

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

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

Patch reviewed by Christos.

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

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

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

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

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

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

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

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

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

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

Revision 1.75: download - view: text, markup, annotated - select for diffs
Fri Sep 26 21:28:24 2003 UTC (21 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +3 -2 lines
Add necessary include file.

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

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

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

originally from openbsd, adapted for netbsd by me.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:29:39 2003 UTC (21 years, 5 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +4 -4 lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Sun Jun 29 13:35:39 2003 UTC (21 years, 5 months ago) by martin
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +6 -6 lines
struct proc * -> struct lwp *

Revision 1.71: download - view: text, markup, annotated - select for diffs
Mon Jun 23 11:01:56 2003 UTC (21 years, 5 months ago) by martin
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +4 -2 lines
Make sure to include opt_foo.h if a defflag option FOO is used.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Sat Jan 18 08:28:26 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +350 -348 lines
Merge the nathanw_sa branch.

Revision 1.69.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 18 01:05:55 2002 UTC (21 years, 11 months ago) by gmcgarry
Branches: gmcgarry_ucred
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +7 -8 lines
Merge pcred and ucred, and poolify.  TBD: check backward compatibility
and factor-out some higher-level functionality.

Revision 1.57.2.10: download - view: text, markup, annotated - select for diffs
Wed Dec 11 06:37:37 2002 UTC (22 years ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.57.2.9: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.2.9: +4 -5 lines
Sync with HEAD.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Fri Dec 6 12:00:57 2002 UTC (22 years ago) by scw
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Branch point for: gmcgarry_ucred
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +6 -7 lines
After a discussion with various folks, fix the strict-alias warning
by ditching 'void *rt' and passing retval directly to sys_mmap().

Revision 1.68: download - view: text, markup, annotated - select for diffs
Fri Dec 6 10:02:40 2002 UTC (22 years ago) by scw
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +3 -3 lines
Avoid strict-alias warnings.

Revision 1.57.2.9: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:07:53 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.57.2.8: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.8: +7 -7 lines
Catch up to -current

Revision 1.67: download - view: text, markup, annotated - select for diffs
Fri Nov 1 19:26:22 2002 UTC (22 years, 1 month ago) by jdolecek
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -3 lines
set struct emul's nsysent to compat SYS_NSYSENT, not SYS_MAXSYSCALL

Revision 1.66: download - view: text, markup, annotated - select for diffs
Wed Oct 23 13:16:44 2002 UTC (22 years, 1 month ago) by scw
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +8 -8 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.57.2.8: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:41:16 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.57.2.7: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.7: +4 -2 lines
Catch up to -current.

Revision 1.60.2.4: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:38:06 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.60.2.3: preferred, colored; branchpoint 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60.2.3: +4 -2 lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

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

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

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

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

Revision 1.60.2.3: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:43:23 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.60.2.2: preferred, colored; branchpoint 1.60: preferred, colored
Changes since revision 1.60.2.2: +2 -20 lines
sync kqueue branch with HEAD

Revision 1.57.2.7: download - view: text, markup, annotated - select for diffs
Fri Aug 23 02:37:10 2002 UTC (22 years, 3 months ago) by petrov
Branches: nathanw_sa
Diff to: previous 1.57.2.6: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.6: +349 -348 lines
lwpification.

Revision 1.57.2.6: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:44:19 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.57.2.5: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.5: +2 -20 lines
Catch up to -current.

Revision 1.63.4.1: download - view: text, markup, annotated - select for diffs
Mon Jul 15 10:34:58 2002 UTC (22 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +2 -20 lines
catch up with -current.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Jul 7 23:23:41 2002 UTC (22 years, 5 months ago) by fvdl
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +2 -20 lines
Move netbsd32_sysarch to netbsd32_machdep.c

Revision 1.60.2.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:44:32 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.60.2.1: preferred, colored; branchpoint 1.60: preferred, colored
Changes since revision 1.60.2.1: +6 -6 lines
catch up with -current on kqueue branch

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

(Behold the Power of Ed)

Revision 1.57.2.4: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:44:33 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.57.2.3: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.3: +5 -5 lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sat Mar 16 20:43:54 2002 UTC (22 years, 9 months ago) by christos
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, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +6 -6 lines
make the stackgap_{init,alloc} functions MP friendly (i.e. pass struct proc *
in, instead of using curproc). While there add an optional size argument to
stackgap_init.

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

Revision 1.57.2.3: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:13:17 2001 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.57.2.2: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.2: +4 -1 lines
Catch up to -current.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Tue Nov 13 02:09:06 2001 UTC (23 years, 1 month ago) by lukem
Branches: MAIN
CVS tags: newlock-base, newlock, ifpoll-base
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +4 -1 lines
add RCSIDs (including regeneration of files as appropriate)

Revision 1.60.4.1: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:43:52 2001 UTC (23 years, 2 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60: +2 -1 lines
Catch up with -current.

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

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

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

Revision 1.60: download - view: text, markup, annotated - select for diffs
Tue Jun 19 00:36:21 2001 UTC (23 years, 5 months ago) by fvdl
Branches: MAIN
CVS tags: thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp, kqueue
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -3 lines
Some of this was sparc-specific, so ifdef __sparc__ it (XXX). Also,
change the alignment of one structure with an MD ifdef. Should
be moved into the netbsd32_machdep parts.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Mon Jun 18 02:00:53 2001 UTC (23 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +2 -1 lines
Add an e_trapsignal member to struct emul, so that emulated processes can
send the appropriate signal depending on the trap type.

Revision 1.28.2.5: download - view: text, markup, annotated - select for diffs
Sat Jun 16 20:18:45 2001 UTC (23 years, 6 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Diff to: previous 1.28.2.4: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.2.4: +15 -5 lines
Apply patch (from netbsd32_execve.c revision 1.4, requested by thorpej):
  Close a race condition between exec of a setuid binary and
  ptrace(2): check P_TRACED right before adjusting the privilege
  settings in the exec code.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Wed May 30 11:37:28 2001 UTC (23 years, 6 months ago) by mrg
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -2 lines
use _KERNEL_OPT.

Revision 1.19.2.5: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:14:14 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.19.2.4: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.2.4: +49 -3601 lines
Sync with HEAD.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Thu Feb 8 13:19:34 2001 UTC (23 years, 10 months ago) by mrg
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +27 -3250 lines
split up netbsd32_netbsd.c into 9 new files, leaving only those syscalls that
have no special interpretations besides simple syscall args conversion.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Wed Feb 7 15:22:39 2001 UTC (23 years, 10 months ago) by mrg
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +51 -475 lines
move the static inline conversion functions into a header file so other
files can see these.  note a bunch of functions that should be moved
into their own files.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Tue Feb 6 17:01:53 2001 UTC (23 years, 10 months ago) by eeh
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +5 -3 lines
Specify a process' address space limits for uvmspace_exec().

Revision 1.54: download - view: text, markup, annotated - select for diffs
Sun Feb 4 09:00:14 2001 UTC (23 years, 10 months ago) by mrg
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +17 -89 lines
change_utimes32() was copyin()ing a struct timeval, not netbsd32_timeval.
general clean up.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Sun Feb 4 07:08:51 2001 UTC (23 years, 10 months ago) by mrg
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +60 -2 lines
emulate kern.boottime.  now 32-bit w(1) works properly.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Sun Feb 4 06:35:08 2001 UTC (23 years, 10 months ago) by mrg
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +56 -2 lines
make sysctl vm.loadavg work.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sat Feb 3 12:46:55 2001 UTC (23 years, 10 months ago) by mrg
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +11 -5 lines
sync a comment from sys_execve().
make netbsd32_recvfrom() work.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Fri Feb 2 13:05:18 2001 UTC (23 years, 10 months ago) by mrg
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +38 -1 lines
implement netbsd32_lchflags & netbsd32_utrace

Revision 1.49: download - view: text, markup, annotated - select for diffs
Fri Feb 2 07:08:18 2001 UTC (23 years, 10 months ago) by mrg
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +21 -11 lines
de-static netbsd32_exec_aout_prep_[zno]magic().
de-static netbsd32_from_stat43().
move the guts of netbsd32_execve() into netbsd32_execve2().

all of are for the forthcoming sunos32 compat mode (for sparc64).

Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon Jan 22 20:08:05 2001 UTC (23 years, 10 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +2 -2 lines
Use CHECK_ALT_SYMLINK() instead CHECK_ALT_EXISTS() where appropriate.
This addresses kern/11757.

Revision 1.19.2.4: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:35:28 2001 UTC (23 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.19.2.3: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.2.3: +1 -1 lines
Sync with HEAD

Revision 1.47: download - view: text, markup, annotated - select for diffs
Fri Dec 22 22:58:59 2000 UTC (23 years, 11 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +2 -2 lines
split off thread specific stuff from struct sigacts to struct sigctx, leaving
    only signal handler array sharable between threads
move other random signal stuff from struct proc to struct sigctx

This addresses kern/10981 by Matthew Orgass.

Revision 1.19.2.3: download - view: text, markup, annotated - select for diffs
Wed Dec 13 15:49:50 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.19.2.2: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.2.2: +26 -13 lines
Sync with HEAD (for UBC fixes).

Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Dec 12 08:00:26 2000 UTC (24 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +14 -4 lines
Do the __HAVE_SYSCALL_INTERN and __HAVE_MINIMAL_EMUL dance.

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

Revision 1.44: download - view: text, markup, annotated - select for diffs
Fri Dec 8 19:42:12 2000 UTC (24 years ago) by jdolecek
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +10 -13 lines
add infrastructure to load emulations and their executable support dynamically
via LKM

Revision 1.19.2.2: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:08:34 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.19.2.1: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.2.1: +146 -41 lines
Sync with HEAD.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Dec 3 14:48:29 2000 UTC (24 years ago) by fvdl
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +11 -1 lines
Use a copied fktrace syscall arg structure with out 'const int' for the
filedescriptor to copy arguments, avoiding a warning. XXX

Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Dec 1 21:48:24 2000 UTC (24 years ago) by jdolecek
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +46 -13 lines
always define COMPAT_OLDSOCK (this tracks rev.1.55 of kern/uipc_syscalls.c)
move definition of emul_netbsd32 from netbsd32_exec.c here
fix couple of compile nits I encountered while compiling this with
sparc cross-compiler

Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Dec 1 12:28:34 2000 UTC (24 years ago) by jdolecek
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +8 -8 lines
add e_path (emulation path) to struct emul, which replaces emulation-specific
*_emul_path variables

change macros CHECK_ALT_{CREAT|EXIST} to use that, 'root' doesn't need
to be passed explicitly any more and *_CHECK_ALT_{CREAT|EXIST} are removed
change explicit emul_find() calls in probe functions to get the emulation
path from the checked exec switch entry's emulation

remove no longer needed header files

add e_flags and e_syscall to struct emul; these are unsed and empty for now

Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Nov 30 12:54:38 2000 UTC (24 years ago) by jdolecek
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +47 -6 lines
sync netbsd32_execve() with sys_execve() - this involves
VMCMD_RELATIVE support, couple of debugging printfs and addition of
doexechooks() call
also fix one FREE() which should be free()

Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Nov 28 13:07:27 2000 UTC (24 years ago) by mrg
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +39 -18 lines
make this compile again, after execsw/lkm changes.

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

Revision 1.28.2.4: download - view: text, markup, annotated - select for diffs
Wed Oct 18 16:23:58 2000 UTC (24 years, 1 month ago) by tv
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA
Diff to: previous 1.28.2.3: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.2.3: +12 -4 lines
Pullup by patch [eeh]:
Support userspace at multiple addresses by making PSSTRINGS variable (using
p_psstr), and fix stackgap_init() appropriately.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Sep 28 19:05:07 2000 UTC (24 years, 2 months ago) by eeh
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +12 -4 lines
Add support for variable end of user stacks needed to support COMPAT_NETBSD32:

	`struct vmspace' has a new field `vm_minsaddr' which is the user TOS.

	PS_STRINGS is deprecated in favor of curproc->p_pstr which is derived
	from `vm_minsaddr'.

	Bump the kernel version number.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Sep 24 13:09:31 2000 UTC (24 years, 2 months ago) by martin
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +18 -1 lines
The ovadvise syscall is (correctly) listed as STD, so move it's implementation
to another place. This makes kernels without options COMPAT_43 link.

Revision 1.28.2.3: download - view: text, markup, annotated - select for diffs
Sat Aug 26 01:09:34 2000 UTC (24 years, 3 months ago) by mrg
Branches: netbsd-1-5
Diff to: previous 1.28.2.2: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.2.2: +19 -1 lines
pull up 1.36.  approved by thorpej:
>Fix netbsd32_ioctls.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Aug 19 14:38:19 2000 UTC (24 years, 3 months ago) by eeh
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +19 -1 lines
Fix netbsd32_ioctls.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu Aug 3 20:41:14 2000 UTC (24 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -4 lines
Convert namei pathname buffer allocation to use the pool allocator.

Revision 1.28.2.2: download - view: text, markup, annotated - select for diffs
Fri Jul 14 18:10:49 2000 UTC (24 years, 5 months ago) by thorpej
Branches: netbsd-1-5
CVS tags: netbsd-1-5-ALPHA2
Diff to: previous 1.28.2.1: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.2.1: +22 -40 lines
Update from trunk:
- Fix the likely cause of the "ps(1) hangs machine" problem.  Always
  vslock the user pages for the data being copied out to userspace,
  so that we won't sleep while holding a lock in case we need to
  fault the pages in.
- Sprinkle some const and ANSI'ify some things while here.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri Jul 14 07:21:21 2000 UTC (24 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +22 -40 lines
- Fix the likely cause of the "ps(1) hangs machine" problem.  Always
  vslock the user pages for the data being copied out to userspace,
  so that we won't sleep while holding a lock in case we need to
  fault the pages in.
- Sprinkle some const and ANSI'ify some things while here.

Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 20:20:27 2000 UTC (24 years, 5 months ago) by thorpej
Branches: netbsd-1-5
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +13 -11 lines
Pull up rev. 1.33:
Sync w/ kern_time.c and sys_generic.c

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:39:03 2000 UTC (24 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +13 -11 lines
Sync w/ kern_time.c and sys_generic.c

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun Jul 9 13:39:31 2000 UTC (24 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +17 -16 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.31: download - view: text, markup, annotated - select for diffs
Sun Jul 9 03:03:35 2000 UTC (24 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +15 -5 lines
look in /emul/netbsd32 for __stat13() and __lstat13().

Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Jun 28 15:39:32 2000 UTC (24 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +1 -3 lines
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Jun 26 14:21:08 2000 UTC (24 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -2 lines
remove/move more mach vm header files:

	<vm/pglist.h> -> <uvm/uvm_pglist.h>
	<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
	<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
	<vm/vm_object.h> -> nothing
	<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.

Revision 1.27.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:05:49 2000 UTC (24 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +6 -1 lines
Sync w/ netbsd-1-5-base.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue May 30 20:54:26 2000 UTC (24 years, 6 months ago) by eeh
Branches: MAIN
CVS tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +6 -1 lines
Include "opt_DDB.h" to enable the DDB sysctls.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat May 27 04:52:34 2000 UTC (24 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2 lines
sleep() -> tsleep()

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat May 27 00:40:44 2000 UTC (24 years, 6 months ago) by sommerfeld
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +6 -6 lines
Reduce use of curproc in several places:

 - Change ktrace interface to pass in the current process, rather than
p->p_tracep, since the various ktr* function need curproc anyway.

 - Add curproc as a parameter to mi_switch() since all callers had it
handy anyway.

 - Add a second proc argument for inferior() since callers all had
curproc handy.

Also, miscellaneous cleanups in ktrace:

 - ktrace now always uses file-based, rather than vnode-based I/O
(simplifies, increases type safety); eliminate KTRFLAG_FD & KTRFAC_FD.
Do non-blocking I/O, and yield a finite number of times when receiving
EWOULDBLOCK before giving up.

 - move code duplicated between sys_fktrace and sys_ktrace into ktrace_common.

 - simplify interface to ktrwrite()

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Mar 30 11:27:18 2000 UTC (24 years, 8 months ago) by augustss
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +30 -30 lines
Kill register declarations.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Mar 23 06:48:17 2000 UTC (24 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -3 lines
New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Feb 6 16:45:56 2000 UTC (24 years, 10 months ago) by eeh
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -3 lines
Add support for -current's ELF32 exec format.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Jan 31 16:41:20 2000 UTC (24 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3 lines
Regen

Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Dec 31 22:26:21 1999 UTC (24 years, 11 months ago) by eeh
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +53 -23 lines
netbsd32_close() would work better if it called sys_close() rather than
sys_write().
netbsd32_getfsstat() cannot just copyin()/copyout(), convert the structures,
and call sys_getffstat().  sys_getffstat() wants to do its own
copyin()/copyout().  So we need to implent the whole of sys_getffstat()
in netbsd32_getfsstat().

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Dec 30 15:40:45 1999 UTC (24 years, 11 months ago) by eeh
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +577 -50 lines
Update to 32-bit compatibility routines.

Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:34:29 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +344 -343 lines
Pull up to last week's -current.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Oct 11 01:36:23 1999 UTC (25 years, 2 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.18: preferred, colored
Changes since revision 1.18: +344 -343 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.18: download - view: text, markup, annotated - select for diffs
Tue Sep 28 14:47:02 1999 UTC (25 years, 2 months ago) by bouyer
Branches: MAIN
Branch point for: wrstuden-devbsize
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
Remplace kern.shortcorename sysctl with a more flexible sheme,
core filename format, which allow to change the name of the core dump,
and to relocate it in a directory. Credits to Bill Sommerfeld for giving me
the idea :)
The default core filename format can be changed by options DEFCORENAME and/or
kern.defcorename
Create a new sysctl tree, proc, which holds per-process values (for now
the corename format, and resources limits). Process is designed by its pid
at the second level name. These values are inherited on fork, and the corename
fomat is reset to defcorename on suid/sgid exec.
Create a p_sugid() function, to take appropriate actions on suid/sgid
exec (for now set the P_SUGID flag and reset the per-proc corename).
Adjust dosetrlimit() to allow changing limits of one proc by another, with
credential controls.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Aug 5 18:08:15 1999 UTC (25 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
Change the semantics of splsoftclock() to be like other spl*() functions,
that is priority is rasied.  Add a new spllowersoftclock() to provide the
atomic drop-to-softclock semantics that the old splsoftclock() provided,
and update calls accordingly.

This fixes a problem with using the "rnd" pseudo-device from within
interrupt context to extract random data (e.g. from within the softnet
interrupt) where doing so would incorrectly unblock interrupts (causing
all sorts of lossage).

XXX 4 platforms do not have priority-raising capability: newsmips, sparc,
XXX sparc64, and VAX.  This platforms still have this bug until their
XXX spl*() functions are fixed.

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

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Jul 20 21:54:05 1999 UTC (25 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +1 -7 lines
Move the call of cpu_wait() out of the wait4() functions, and into the
body of reaper(), right before the call to uvm_exit().  cpu_wait() must
be done before uvm_exit() because the resources it frees might be located
in the PCB.

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

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Jun 17 15:47:23 1999 UTC (25 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +12 -2 lines
Make uvm_vslock() return the error code from uvm_fault_wire().  All places
which use uvm_vslock() should now test the return value.  If it's not
KERN_SUCCESS, wiring the pages failed, so the operation which is using
uvm_vslock() should error out.

XXX We currently just EFAULT a failed uvm_vslock().  We may want to do
more about translating error codes in the future.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Jun 9 04:50:10 1999 UTC (25 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +1 -22 lines
Propagate kern changes

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed May 26 01:07:07 1999 UTC (25 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +8 -3 lines
XXX Pass VM_PROT_NONE to uvm_vslock() as access_type.  Why are we even
vslocking here?!  copyout() on its own seems to suffice just about everwhere
else, and it's not like the process is going to exit; it's in a system
call!

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed May 5 20:01:04 1999 UTC (25 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +31 -12 lines
Add "use counting" to file entries.  When closing a file, and it's reference
count is 0, wait for use count to drain before finishing the close.

This is necessary in order for multiple processes to safely share file
descriptor tables.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Mar 25 16:58:40 1999 UTC (25 years, 8 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.10: preferred, colored
Changes since revision 1.10: +275 -275 lines
SPARC32->NETBSD32

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Mar 25 16:22:49 1999 UTC (25 years, 8 months ago) by mrg
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +741 -828 lines
move sparc32 to netbsd32; split out MD part (signal handling) (mostly via repository copy, rename and perl -pi :-)

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Mar 25 15:34:37 1999 UTC (25 years, 8 months ago) by mrg
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1 -4 lines
formatting nits

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Mar 24 05:51:19 1999 UTC (25 years, 8 months ago) by mrg
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -17 lines
completely remove Mach VM support.  all that is left is the all the
header files as UVM still uses (most of) these.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Dec 18 13:18:43 1998 UTC (25 years, 11 months ago) by drochner
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +10 -1 lines
solve the COMPAT_OLDSOCK/MSG_COMPAT problem differently:
The source files which need MSG_COMPAT define COMPAT_OLDSOCK.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Oct 1 14:27:57 1998 UTC (26 years, 2 months ago) by eeh
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2445 -685 lines
Overhaul.  Now will run simple things like /bin/sh and /bin/echo.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Sep 11 00:01:57 1998 UTC (26 years, 3 months ago) by eeh
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +72 -39 lines
Add some copyin()/copyout()s.  These need to be done but there are more
annoying issues, so I'll just check in this snapshot.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Aug 30 15:32:20 1998 UTC (26 years, 3 months ago) by eeh
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +32 -1 lines
Some more 64-bit cleanup.  Now everything compiles.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Aug 29 18:16:57 1998 UTC (26 years, 3 months ago) by eeh
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +99 -3 lines
Some more 64-bit-ification.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Aug 26 13:42:22 1998 UTC (26 years, 3 months ago) by mrg
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +37 -4 lines
use right syscalls.  add converters for timespec and semid_ds

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Aug 26 10:20:36 1998 UTC (26 years, 3 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>