CVS log for src/sys/compat/netbsd32/netbsd32.h
Up to [cvs.NetBSD.org] / src / sys / compat / netbsd32
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.143: download - view: text, markup, annotated - select for diffs
Sun Jul 30 06:52:20 2023 UTC (16 months ago) by rin
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +10 -1
lines
COMPAT_NETBSD32: Add support for epoll(2).
Revision 1.142: download - view: text, markup, annotated - select for diffs
Sat Jul 29 12:38:25 2023 UTC (16 months, 1 week ago) by rin
Branches: MAIN
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +14 -1
lines
COMPAT_NETBSD32: Catch up with sys___kevent100() addition.
XXX
Add epoll_* and memfd_create.
Revision 1.114.8.4: download - view: text, markup, annotated - select for diffs
Wed Jun 21 20:38:35 2023 UTC (17 months, 2 weeks ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.114.8.3: preferred, colored; branchpoint 1.114: preferred, colored; next MAIN 1.115: preferred, colored
Changes since revision 1.114.8.3: +5 -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.141: download - view: text, markup, annotated - select for diffs
Sun Feb 12 16:28:32 2023 UTC (21 months, 3 weeks ago) by andvar
Branches: MAIN
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +3 -3
lines
s/strucure/structure/ and s/structues/structures/ in comments.
Revision 1.123.4.3: 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.123.4.2: preferred, colored; branchpoint 1.123: preferred, colored; next MAIN 1.124: preferred, colored
Changes since revision 1.123.4.2: +5 -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.123.4.2: download - view: text, markup, annotated - select for diffs
Sun Apr 24 16:39:00 2022 UTC (2 years, 7 months ago) by martin
Branches: netbsd-9
Diff to: previous 1.123.4.1: preferred, colored; branchpoint 1.123: preferred, colored
Changes since revision 1.123.4.1: +20 -1
lines
Pull up following revision(s) (requested by reinoud in ticket #1438):
sys/compat/netbsd32/netbsd32.h: revision 1.140
sys/compat/netbsd32/netbsd32_fs.c: revision 1.95
sys/fs/udf/udf_subr.c: revision 1.169
Fix endian issue with UDF extended attribute handling
Implement support for mounting UDF in compat32
Fixes PR#56801
Revision 1.140: download - view: text, markup, annotated - select for diffs
Sat Apr 23 17:46:23 2022 UTC (2 years, 7 months ago) by reinoud
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.139: preferred, colored
Changes since revision 1.139: +20 -1
lines
Implement support for mounting UDF in compat32
Fixes PR#56801
Revision 1.139: download - view: text, markup, annotated - select for diffs
Thu Nov 11 17:32:46 2021 UTC (3 years ago) by martin
Branches: MAIN
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +6 -2
lines
Adapt to recent posix_spawn extensions.
Revision 1.138: download - view: text, markup, annotated - select for diffs
Sat Nov 6 20:42:56 2021 UTC (3 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +5 -3
lines
COMPAT_NETBSD32 is all about running the 32-bit flavor of native
binaries on a 64-bit platform[*], as such:
- Make the logic about which "sendsig" flavor to call MI (as it is in the
native 64-bit environment) and follow the same rules as the native 32-bit
environment.
- Make COMPAT_NETBSD32 x COMPAT_16 work the same as it would in the
native 32-bit environment by providing a netbsd32_sendsig_sigcontext_16_hook,
rather than overriding the entire sendsig logic with a netbsd32_sendsig_hook.
- In netbsd32___sigaction_sigtramp(), make sure the compat_netbsd32_16
module is loaded if the trampoline version specifies a sigcontext style
handler, otherwise return EINVAL so that libc can try again with siginfo
style.
[*] ...except for arm32, which uses it to mean "run 32-bit OABI binaries
from the 32-bit EABI environment". Doing it this way was arguably a mistake,
but we are stuck with it for now, so support it by providing a machine-
dependent override for netbsd32_sendsig() that also disables the corresponding
logic in netbsd32___sigaction_sigtramp().
Fixes PR kern/56487.
Revision 1.133.2.2: 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.133.2.1: preferred, colored; next MAIN 1.134: preferred, colored
Changes since revision 1.133.2.1: +8 -4
lines
Sync with HEAD.
Revision 1.137: 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.136: preferred, colored
Changes since revision 1.136: +5 -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.136: download - view: text, markup, annotated - select for diffs
Mon Jan 18 23:14:22 2021 UTC (3 years, 10 months ago) by simonb
Branches: MAIN
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +3 -3
lines
s/u_intN_t/uintN_t/
Revision 1.135: download - view: text, markup, annotated - select for diffs
Thu Jan 14 08:00:45 2021 UTC (3 years, 10 months ago) by simonb
Branches: MAIN
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +2 -1
lines
Handle FSSIOCSET and FSSIOCGET; vndconfig(8) works with compat32 now.
XXX: FSSIOCSET50 and FSSIOCGET50 are not (yet) handled.
Revision 1.133.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 14 14:38:04 2020 UTC (3 years, 11 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +2 -1
lines
Sync w/ HEAD.
Revision 1.134: download - view: text, markup, annotated - select for diffs
Sun Nov 1 18:51:02 2020 UTC (4 years, 1 month ago) by pgoyette
Branches: MAIN
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +2 -1
lines
Separate the compat_netbsd32_coredump from the compat_netbsd32 and
coredump modules, into its own module.
Welcome to 7.99.75 !!!
Revision 1.133: 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
Branch point for: thorpej-futex
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +2 -1
lines
Add ACL support for FFS. From FreeBSD.
Revision 1.118.2.3: 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.118.2.2: preferred, colored; branchpoint 1.118: preferred, colored; next MAIN 1.119: preferred, colored
Changes since revision 1.118.2.2: +39 -6
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.118.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:01 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.118.2.1: preferred, colored; branchpoint 1.118: preferred, colored
Changes since revision 1.118.2.1: +14 -1
lines
Merge changes from current as of 20200406
Revision 1.132: download - view: text, markup, annotated - select for diffs
Tue Dec 24 14:50:59 2019 UTC (4 years, 11 months ago) by kamil
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +14 -1
lines
Introduce PT_LWPSTATUS + PT_LWPNEXT, obsolete PT_LWPINFO
PT_LWPINFO is a legacy ptrace(2) operation that was originally intended
to retrieve the thread (LWP) information inside a traced process.
It has a number of flaws and is confused with PT_LWPINFO from FreeBSD.
PT_LWPSTATUS and PT_LWPNEXT address the problems (shortly by: rename,
removal of pl_event) and introduces new features: signal context
(pl_sigpend, pl_sigmask), LWP name (pl_name), LWP TLS base address
(pl_private). The private pointer was so far missing information for
a debugger.
PT_LWPSTATUS@nnn is now shipped with core(5) files and contain LWP specific
information, so far missed in the core(5) files.
PT_LWPSTATUS retrieves LWP information for the prompted thread.
PT_LWPNEXT retrieves LWP information for the next thread, borrowing the
semantics from NetBSD specific PT_LWPINFO.
PT_LWPINFO is namespaced with __LEGACY_PT_LWPINFO and still available for
the foreseeable future, without plans of removing it.
Add ATF tests for PT_LWPSTATUS + PT_LWPNEXT.
Keep ATF tests for PT_LWPINFO.
Switch GDB to new API.
Proposed on tech-kern@.
Revision 1.123.4.1: download - view: text, markup, annotated - select for diffs
Tue Nov 19 13:36:25 2019 UTC (5 years ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +5 -1
lines
Pull up following revision(s) (requested by rin in ticket #457):
sys/compat/sys/siginfo.h: revision 1.9
sys/compat/netbsd32/netbsd32.h: revision 1.131
8-byte objects on i386 or arm-oabi are aligned in 4-byte boundary.
Therefore, we must use __attribute__((__aligned__(4))) for them.
netbsd32_{,u}int64 are provided for this purpose. However, we
cannot use it in <compat/sys/siginfo.h> due to circular dependency
b/w <machine/netbsd32_machdep.h>.
In order to distangle it, we choose here to have a duplicate type,
netbsd32_siginfo_uint64, in <compat/sys/siginfo.h>. The equivalence
with netbsd32_uint64 is asserted in <compat/netbsd32/netbsd32.h>.
Now, gdb for i386 works again on amd64 kernel.
Based on patch provided by kamil. Thanks!
XXX
pullup to netbsd-9
Revision 1.131: download - view: text, markup, annotated - select for diffs
Mon Nov 18 12:06:26 2019 UTC (5 years ago) by rin
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +5 -1
lines
8-byte objects on i386 or arm-oabi are aligned in 4-byte boundary.
Therefore, we must use __attribute__((__aligned__(4))) for them.
netbsd32_{,u}int64 are provided for this purpose. However, we
cannot use it in <compat/sys/siginfo.h> due to circular dependency
b/w <machine/netbsd32_machdep.h>.
In order to distangle it, we choose here to have a duplicate type,
netbsd32_siginfo_uint64, in <compat/sys/siginfo.h>. The equivalence
with netbsd32_uint64 is asserted in <compat/netbsd32/netbsd32.h>.
Now, gdb for i386 works again on amd64 kernel.
Based on patch provided by kamil. Thanks!
XXX
pullup to netbsd-9
Revision 1.130: download - view: text, markup, annotated - select for diffs
Mon Nov 18 04:17:08 2019 UTC (5 years ago) by rin
Branches: MAIN
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +13 -8
lines
Sorry, revert unintentional parts of the previous commit:
http://mail-index.netbsd.org/source-changes/2019/11/18/msg110946.html
I was going to commit only netbsd32_signal.c.
Revision 1.129: download - view: text, markup, annotated - select for diffs
Mon Nov 18 04:09:53 2019 UTC (5 years ago) by rin
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +9 -14
lines
Belatedly catch up with kern_sig.c rev 1.358:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/kern/kern_sig.c#rev1.358
Provide syscall information with SIGTRAP TRAP_SCE/TRAP_SCX so that
picotrace/truss, for example, works fine on COMPAT_NETBSD32.
With some minor changes:
- Centralize netbsd32_si{,32}_si{32,}() into netbsd32_ksi{,32}_ksi{32,}().
- Provide si_status with SIGCHLD.
- Remove the remaining of SA.
XXX
pullup to netbsd-9
Revision 1.128: download - view: text, markup, annotated - select for diffs
Thu Nov 7 15:21:55 2019 UTC (5 years ago) by rin
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +2 -2
lines
For netbsd32_statvfs, f_spare should be netbsd32_uint64, not uint64_t.
Fix syscalls using struct statvfs on COMPAT_NETBSD32 on amd64, where
NETBSD32_INT64_ALIGN is __attribute__((__aligned__(4))).
Revision 1.127: download - view: text, markup, annotated - select for diffs
Thu Oct 3 22:16:53 2019 UTC (5 years, 2 months ago) by kamil
Branches: MAIN
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +2 -2
lines
Switch kevent udata from intptr_t void*
Synchromize the struct field format with other BSDs and Darwin.
No ABI change between older and newer struct form on the ports.
The change will require no changes to most C users during the transition
period as the header keeps a caller cast.
Discussed with core@ and there were no objections for this move.
Revision 1.126: download - view: text, markup, annotated - select for diffs
Thu Sep 26 01:30:46 2019 UTC (5 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +2 -2
lines
accrightslen should be u_int for compat too
Revision 1.125: download - view: text, markup, annotated - select for diffs
Wed Sep 25 21:40:42 2019 UTC (5 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +4 -4
lines
avoid signed-compare warning; use uintmax_t to print.
Revision 1.124: download - view: text, markup, annotated - select for diffs
Sun Sep 22 22:59:38 2019 UTC (5 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +31 -2
lines
Add a new member to struct vfsstat and grow the unused members
The new member is caled f_mntfromlabel and it is the dkw_wname
of the corresponding wedge. This is now used by df -W to display
the mountpoint name as NAME=
Revision 1.118.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:01 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +89 -13
lines
Sync with HEAD
Revision 1.123: download - view: text, markup, annotated - select for diffs
Wed Feb 20 06:04:28 2019 UTC (5 years, 9 months ago) by mrg
Branches: MAIN
CVS tags: phil-wifi-20190609,
netbsd-9-base,
isaki-audio2-base,
isaki-audio2
Branch point for: netbsd-9
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +4 -2
lines
use KASSERTMSG() in netbsd32_ptr32i().
Revision 1.122: download - view: text, markup, annotated - select for diffs
Sat Feb 9 11:30:13 2019 UTC (5 years, 9 months ago) by mrg
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +32 -10
lines
- expand the comment about what netbsd32_machdep.h should provide.
- add missing NETBSD32_POINTER_TYPE
- add static inline functions to convert pointers to/from 32 bit,
inclusing an overflow check for NETBSD32PTR32PLUS().
Revision 1.121: 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
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +37 -1
lines
Merge the [pgoyette-compat] branch
Revision 1.116.2.19: download - view: text, markup, annotated - select for diffs
Fri Jan 25 09:36:09 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.116.2.18: preferred, colored; branchpoint 1.116: preferred, colored; next MAIN 1.117: preferred, colored
Changes since revision 1.116.2.18: +1 -3
lines
Move the netbsd32_machine32_hook into the main kernel with most of
the other hooks.
Although this hook might better belong in compat/netbsd32/ code,
there are some machines without a netbsd32 module (for example, i386
and sgimips) which still have consumers/users of this hook. :(
Revision 1.116.2.18: download - view: text, markup, annotated - select for diffs
Thu Jan 24 04:08:09 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.116.2.17: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.2.17: +3 -1
lines
Rework placement of the new netbsd32_machine32_hook
Revision 1.116.2.17: download - view: text, markup, annotated - select for diffs
Mon Jan 14 13:34:27 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.116.2.16: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.2.16: +4 -3
lines
Create a variant of the HOOK macros that handles hook routines of
type void, and use them where appropriate.
Revision 1.116.2.16: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:29 2018 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.116.2.15: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.2.15: +8 -1
lines
Sync with HEAD, resolve a couple of conflicts
Revision 1.120: download - view: text, markup, annotated - select for diffs
Sun Nov 25 17:58:29 2018 UTC (6 years ago) by mlelstv
Branches: MAIN
CVS tags: pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +8 -1
lines
Restore netbsd32 compat code for new NPF ABI.
Revision 1.116.2.15: download - view: text, markup, annotated - select for diffs
Thu Sep 27 03:53:30 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.116.2.14: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.2.14: +3 -1
lines
Hook up the arm compat_netbsd32_13 & _16 code
Revision 1.116.2.14: download - view: text, markup, annotated - select for diffs
Mon Sep 24 23:06:02 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.116.2.13: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.2.13: +2 -2
lines
syntax: add missing )
Revision 1.116.2.13: download - view: text, markup, annotated - select for diffs
Mon Sep 24 22:56:45 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.116.2.12: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.2.12: +2 -2
lines
Convert yet another function pointer to the MP-safe mechanism
Revision 1.116.2.12: download - view: text, markup, annotated - select for diffs
Sun Sep 23 11:57:09 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.116.2.11: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.2.11: +1 -8
lines
The kern_proc_32 hook is defined in non-compat code. Don't redefine.
Revision 1.116.2.11: download - view: text, markup, annotated - select for diffs
Sun Sep 23 11:23:47 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.116.2.10: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.2.10: +8 -1
lines
More work on kern_proc_32
Revision 1.116.2.10: download - view: text, markup, annotated - select for diffs
Sun Sep 23 09:16:49 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.116.2.9: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.2.9: +2 -1
lines
White space for readability
Revision 1.116.2.9: download - view: text, markup, annotated - select for diffs
Tue Sep 18 23:03:54 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.116.2.8: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.2.8: +3 -3
lines
The COMPAT_HOOK macros were renamed to MODULE_HOOK, adjust all callers
Revision 1.116.2.8: download - view: text, markup, annotated - select for diffs
Tue Sep 18 10:35:04 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.116.2.7: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.2.7: +4 -3
lines
Use the MP-safe compat hooks for netbsd32_compat_80.c's modctl
Revision 1.116.2.7: download - view: text, markup, annotated - select for diffs
Fri Sep 14 09:21:33 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.116.2.6: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.2.6: +2 -1
lines
Forward declaration of struct netbsd32_modctl_args
Revision 1.116.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.116.2.5: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.2.5: +12 -1
lines
Move some extern definitions into netbsd32_netbsd.h rather than having
them in the .c files.
Revision 1.116.2.5: download - view: text, markup, annotated - select for diffs
Fri Sep 14 08:38:37 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.116.2.4: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.2.4: +12 -1
lines
OMG it builds!
Finish rearranging the amd64 MD compat_netbsd32 code.
XXX Other architectures will be dealt with later.
Revision 1.116.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 11 21:18:32 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.116.2.3: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.2.3: +9 -1
lines
Put the ``extern struct emul'' into the netbsd32_netbsd.h header
so it doesn't have to be separately declared in each source file.
Thanks mrg@
Revision 1.116.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.116.2.2: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.2.2: +13 -4
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.114.8.3: download - view: text, markup, annotated - select for diffs
Sat Aug 25 11:13:05 2018 UTC (6 years, 3 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.114.8.2: preferred, colored; branchpoint 1.114: preferred, colored
Changes since revision 1.114.8.2: +13 -4
lines
Pull up following revision(s) (requested by mrg in ticket #977):
sys/compat/netbsd32/netbsd32_fs.c: revision 1.81
sys/compat/netbsd32/netbsd32.h: revision 1.119
support nullfs in netbsd32.
Revision 1.119: download - view: text, markup, annotated - select for diffs
Sat Aug 11 03:41:06 2018 UTC (6 years, 3 months ago) by mrg
Branches: MAIN
CVS tags: pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +13 -4
lines
support nullfs in netbsd32.
Revision 1.116.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.116.2.1: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.2.1: +7 -1
lines
Sync with HEAD
Revision 1.118: download - view: text, markup, annotated - select for diffs
Thu May 10 02:36:07 2018 UTC (6 years, 6 months ago) by christos
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.117: preferred, colored
Changes since revision 1.117: +7 -1
lines
add {send,recv}mmsg
Revision 1.116.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 16 01:59:56 2018 UTC (6 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +2 -3
lines
Sync with HEAD, resolve some conflicts
Revision 1.117: download - view: text, markup, annotated - select for diffs
Sat Apr 14 04:04:39 2018 UTC (6 years, 7 months ago) by mrg
Branches: MAIN
CVS tags: pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +2 -3
lines
redo the previous -- compat/sys/siginfo.h is already included
later, as is another header. move them up near the top.
Revision 1.114.8.2: download - view: text, markup, annotated - select for diffs
Sat Apr 14 03:04:06 2018 UTC (6 years, 7 months ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1
Diff to: previous 1.114.8.1: preferred, colored; branchpoint 1.114: preferred, colored
Changes since revision 1.114.8.1: +2 -1
lines
Pull up revision 1.116 of sys/compat/netbsd32/netbsd32.h to fix fallout
from ticket #713:
include <compat/sys/siginfo.h> for siginfo32_t.
Revision 1.114.8.1: download - view: text, markup, annotated - select for diffs
Thu Apr 12 13:42:49 2018 UTC (6 years, 7 months ago) by martin
Branches: netbsd-8
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +10 -1
lines
Pull up following revision(s) (requested by kamil in ticket #713):
sys/modules/procfs/Makefile: revision 1.4
sys/miscfs/procfs/procfs_vfsops.c: revision 1.98
bin/ps/ps.1: revision 1.108
sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.32
sys/miscfs/procfs/procfs_vnops.c: revision 1.198
sys/kern/sys_ptrace_common.c: revision 1.23
sys/kern/sys_ptrace_common.c: revision 1.24
sbin/mount_procfs/mount_procfs.8: revision 1.36
sys/kern/sys_ptrace_common.c: revision 1.25
sys/kern/sys_ptrace.c: revision 1.5
sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.30
sys/sys/proc.h: revision 1.342
sys/kern/sys_ptrace_common.c: revision 1.26
sys/miscfs/procfs/procfs_ctl.c: file removal
sys/kern/sys_ptrace_common.c: revision 1.27
sys/miscfs/procfs/procfs_subr.c: revision 1.109
sys/kern/sys_ptrace_common.c: revision 1.28
sys/secmodel/extensions/secmodel_extensions.c: revision 1.8
sys/kern/sys_ptrace_common.c: revision 1.29
sys/sys/ptrace.h: revision 1.62
sys/compat/netbsd32/netbsd32_signal.c: revision 1.45
share/man/man9/kauth.9: revision 1.109
sys/miscfs/procfs/files.procfs: revision 1.12
sys/compat/netbsd32/netbsd32.h: revision 1.115
sys/miscfs/procfs/procfs.h: revision 1.72
sys/compat/netbsd32/netbsd32_ptrace.c: revision 1.5
sys/kern/kern_sig.c: revision 1.337
sys/sys/kauth.h: revision 1.75
sys/sys/sysctl.h: revision 1.224
sys/kern/sys_ptrace_common.c: revision 1.30
sys/kern/sys_ptrace_common.c: revision 1.31
sys/kern/sys_ptrace_common.c: revision 1.32
sys/kern/sys_ptrace_common.c: revision 1.33
sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.20
sys/kern/sys_ptrace_common.c: revision 1.34
sys/kern/sys_ptrace_common.c: revision 1.36
sys/kern/kern_proc.c: revision 1.207
sys/kern/kern_exit.c: revision 1.269
doc/TODO.ptrace: revision 1.29
Make {s,g}et{db,fp,}regs work again for PK_32 processes
XXX: pullup-8
add disgusting magic to handle compat_netbsd32 as a module.
use process_*reg32 instead of struct *reg32.
Remove the filesystem tracing feature
This is a legacy interface from 4.4BSD, and it was
introduced to overcome shortcomings of ptrace(2) at that time, which are
no longer relevant (performance). Today /proc/#/ctl offers a narrow
subset of ptrace(2) commands and is not applicable for modern
applications use beyond simplistic tracing scenarios.
This removal will simplify kernel internals. Users will still be able to
use all the other /proc files.
This change won't affect other procfs files neither Linux compat
features within mount_procfs(8). /proc/#/ctl isn't available on Linux.
Remove:
- /proc/#/ctl from mount_procfs(8)
- P_FSTRACE note from the documentation of ps(1)
- /proc/#/ctl and filesystem tracing documentation from mount_procfs(8)
- KAUTH_REQ_PROCESS_PROCFS_CTL documentation from kauth(9)
- source code file miscfs/procfs/procfs_ctl.c
- PFSctl and procfs_doctl() from sys/miscfs/procfs/procfs.h
- KAUTH_REQ_PROCESS_PROCFS_CTL from sys/sys/kauth.h
- PSL_FSTRACE (0x00010000) from sys/sys/proc.h
- P_FSTRACE (0x00010000) from sys/sys/sysctl.h
Reduce code complexity after removal of this functionality.
Update TODO.ptrace accordingly: remove two entries about /proc tracing.
Do not keep legacy notes as comments in the headers about removed
PSL_FSTRACE / P_FSTRACE, as this interface had little number of users
(close or equal to zero).
Proposed on tech-kern@.
All filesystem tracing utility users are encouraged to switch to ptrace(2).
Sponsored by <The NetBSD Foundation>
untangle the mess:
- factor out common code
- break each ptrace subcall to its own sub-function
.. more to come ...
- reduce ifdef ugliness by moving it up top.
- factor out PT_IO and make PT_{READ,WRITE}_{I,D} use it
- factor out PT_DUMPCORE
- factor out sendsig code
.. more to come ...
handle siginfo requests for ptrace32
ptrace: Partially undo PT_{READ,WRITE}_{I,D} and unbreak these commands
The refactored code did not work and was generating EFAULT.
Sponsored by <The NetBSD Foundation>
Merge the code back; the problem was that since we are reading/writing
to a kernel address for PT_{READ,WRITE}_{I,D} we need the kernel vmspace.
provide separate read and write functions to accomodate register functions
that need a size argument.
don't ignore error from copyout_piod
Use the proper process (the tracee) to get information about lwps and
registers and the tracer for vmspace.
Add new sysctl(3) entry: security.models.extensions.user_set_dbregs
Model this new sysctl(3) entry after "user_set_cpu_affinity" in the same
level of sysctl(3) switches.
Allow to read unconditionally Debug Registers (no change here). This is
convenient as even if a user of a debugger does not use hardware assisted
watchpoints/breakpoints, a debugger can still prompt these values to store
in an internal cache with context of registers. Reading them should have
no security concerns.
Add a paranoid MI switch that prohibits by default setting these registers
by a regular user (non-superuser). Make this switch disabled by default.
There are enough reserved bits out there to allow using them
unconditionally on hardened hosts.
Features shipped with Debug Registers are optional features in debuggers.
There is no reduction in elementary functionality.
Reviewed by <christos>
Sponsored by <The NetBSD Foundation>
Revision 1.116: download - view: text, markup, annotated - select for diffs
Mon Dec 18 00:33:32 2017 UTC (6 years, 11 months ago) by mrg
Branches: MAIN
CVS tags: pgoyette-compat-base,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +2 -1
lines
include <compat/sys/siginfo.h> for siginfo32_t.
Revision 1.115: download - view: text, markup, annotated - select for diffs
Sun Dec 17 20:59:27 2017 UTC (6 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +10 -1
lines
handle siginfo requests for ptrace32
Revision 1.95.2.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:55 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.95.2.2: preferred, colored; branchpoint 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95.2.2: +113 -9
lines
update from HEAD
Revision 1.109.2.2: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:30 2017 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.109.2.1: preferred, colored; branchpoint 1.109: preferred, colored; next MAIN 1.110: preferred, colored
Changes since revision 1.109.2.1: +2 -2
lines
Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
Revision 1.103.2.4: 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.103.2.3: preferred, colored; branchpoint 1.103: preferred, colored; next MAIN 1.104: preferred, colored
Changes since revision 1.103.2.3: +12 -2
lines
Sync with HEAD
Revision 1.114: download - view: text, markup, annotated - select for diffs
Sun Nov 13 13:52:41 2016 UTC (8 years ago) by rin
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
netbsd-8-base,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: netbsd-8
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +2 -2
lines
tv_usec in netbsd32_timeval is suseconds_t (aka int32_t) rather than
netbsd32_long (considered harmless)
approved by martin
Revision 1.109.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.109: preferred, colored
Changes since revision 1.109: +25 -2
lines
Sync with HEAD
Revision 1.113: 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: pgoyette-localcount-20161104
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +11 -1
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.103.2.3: 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.103.2.2: preferred, colored; branchpoint 1.103: preferred, colored
Changes since revision 1.103.2.2: +15 -2
lines
Sync with HEAD
Revision 1.112: download - view: text, markup, annotated - select for diffs
Fri Sep 23 14:16:32 2016 UTC (8 years, 2 months ago) by skrll
Branches: MAIN
CVS tags: nick-nhusb-base-20161004
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +2 -2
lines
Trailing whitespace
Revision 1.111: download - view: text, markup, annotated - select for diffs
Fri Sep 23 14:12:00 2016 UTC (8 years, 2 months ago) by skrll
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +8 -1
lines
Types for wait6 and clock_getcpuclockid2
Revision 1.110: 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
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +7 -1
lines
deal with not having KTRACE
Revision 1.103.2.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.103.2.1: preferred, colored; branchpoint 1.103: preferred, colored
Changes since revision 1.103.2.1: +2 -2
lines
Sync with HEAD (as of 26th Dec)
Revision 1.109: download - view: text, markup, annotated - select for diffs
Thu Nov 26 13:15:34 2015 UTC (9 years ago) by martin
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +2 -2
lines
We never exec(2) with a kernel vmspace, so do not test for that, but instead
KASSERT() that we don't.
When calculating the load address for the interpreter (e.g. ld.elf_so),
we need to take into account wether the exec'd process will run with
topdown memory or bottom up. We can not use the current vmspace's flags
to test for that, as this happens too early. Luckily the execpack already
knows what the new state will be later, so instead of testing the current
vmspace, pass the info as additional argument to struct emul
e_vm_default_addr.
Fix all such functions and adopt all callers.
Revision 1.102.2.1: download - view: text, markup, annotated - select for diffs
Wed Nov 4 17:46:21 2015 UTC (9 years, 1 month ago) by riz
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1
Diff to: previous 1.102: preferred, colored; next MAIN 1.103: preferred, colored
Changes since revision 1.102: +48 -2
lines
Pull up following revision(s) (requested by mrg in ticket #956):
sys/compat/netbsd32/files.netbsd32: revision 1.36
sys/compat/netbsd32/netbsd32_sysent.c: revision 1.115
sys/compat/netbsd32/netbsd32_syscallargs.h: revision 1.116
sys/nfs/nfs_var.h: revision 1.93
sys/compat/netbsd32/netbsd32_conv.h: revision 1.30
sys/compat/netbsd32/netbsd32_syscall.h: revision 1.116
sys/compat/netbsd32/netbsd32_syscalls.c: revision 1.115
sys/compat/netbsd32/netbsd32_nfssvc.c: revision 1.1
sys/compat/netbsd32/netbsd32_nfssvc.c: revision 1.3
sys/nfs/nfs_syscalls.c: revision 1.156
sys/compat/netbsd32/syscalls.master: revision 1.108
sys/compat/netbsd32/netbsd32.h: revision 1.107
add netbsd32 support for nfssvc(2). we do this by defining 5 copyin/out
functions that do all the ugly work, are just plain copyin/out for the
native system calls, and do the necessary translations for netbsd32.
with this i'm able to run 32 bit nfsd and mountd on 64 bit kernel and
mount the file systems remotely.
don't copy the first netbsd32_export_args nexports times, but actually
advance the userland pointer each entry through the loop. oops.
Revision 1.103.2.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.103: preferred, colored
Changes since revision 1.103: +73 -7
lines
Sync with HEAD
Revision 1.108: download - view: text, markup, annotated - select for diffs
Mon Aug 10 04:48:53 2015 UTC (9 years, 3 months ago) by mrg
Branches: MAIN
CVS tags: nick-nhusb-base-20150921
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +6 -4
lines
move some header-specific pointer-typedefs into a header-specific area.
Revision 1.107: download - view: text, markup, annotated - select for diffs
Mon Jun 22 10:35:00 2015 UTC (9 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +48 -2
lines
add netbsd32 support for nfssvc(2). we do this by defining 5 copyin/out
functions that do all the ugly work, are just plain copyin/out for the
native system calls, and do the necessary translations for netbsd32.
with this i'm able to run 32 bit nfsd and mountd on 64 bit kernel and
mount the file systems remotely.
Revision 1.106: download - view: text, markup, annotated - select for diffs
Sun Jun 21 14:03:38 2015 UTC (9 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +2 -2
lines
s/sparc64/native 64 bit/ in a comment...
Revision 1.105: 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.104: preferred, colored
Changes since revision 1.104: +2 -1
lines
Implement trivial conversion for pset_*
Revision 1.104: download - view: text, markup, annotated - select for diffs
Sat Jun 20 19:58:40 2015 UTC (9 years, 5 months ago) by martin
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +19 -2
lines
Implement modctl, sigqueinfo and mq_*
Revision 1.103: download - view: text, markup, annotated - select for diffs
Sun Oct 5 20:17:28 2014 UTC (10 years, 2 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +16 -1
lines
add tmpfs.
Revision 1.95.2.2: 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.95.2.1: preferred, colored; branchpoint 1.95: preferred, colored
Changes since revision 1.95.2.1: +22 -3
lines
Rebase to HEAD as of a few days ago.
Revision 1.99.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:33 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.99: preferred, colored; next MAIN 1.100: preferred, colored
Changes since revision 1.99: +3 -2
lines
Rebase.
Revision 1.102: 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
CVS tags: tls-maxphys-base,
tls-earlyentropy-base,
netbsd-7-base,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Branch point for: netbsd-7
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +2 -2
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.101: download - view: text, markup, annotated - select for diffs
Fri Jun 13 10:37:02 2014 UTC (10 years, 5 months ago) by joerg
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +2 -2
lines
delete -> remove
Revision 1.88.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.88.2.2: preferred, colored; branchpoint 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88.2.2: +21 -2
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.96.2.1: 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.96: preferred, colored; next MAIN 1.97: preferred, colored
Changes since revision 1.96: +21 -2
lines
sync with head
Revision 1.100: 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,
rmind-smpnet-nbase,
rmind-smpnet-base
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +2 -1
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.92.2.3: 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.92.2.2: preferred, colored; branchpoint 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92.2.2: +11 -1
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.99: download - view: text, markup, annotated - select for diffs
Mon Feb 3 17:03:16 2014 UTC (10 years, 10 months ago) by manu
Branches: MAIN
CVS tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +11 -1
lines
Properly translate struct swapent for COMPAT_NETBSD32 (missing commit)
Revision 1.98: download - view: text, markup, annotated - select for diffs
Fri Jan 24 22:10:47 2014 UTC (10 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +8 -1
lines
sigaction until 1.4 had an int sigmask, don't trash the stack.
Revision 1.97: download - view: text, markup, annotated - select for diffs
Wed Jan 1 18:57:16 2014 UTC (10 years, 11 months ago) by dsl
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +3 -2
lines
Change the type of the 'cookie' that holds the state of the core dump file
from 'void *' to the actual type 'struct coredump_iostate *'.
In most of the code the contents of the structure are still unknown.
This just stops the wrong type of pointer being passed to the 'void *'
parameter.
I hope I've found everything, amd64 GENERIC and i386 GENERIC & ALL compile.
Revision 1.92.2.2: download - view: text, markup, annotated - select for diffs
Thu Dec 13 23:47:57 2012 UTC (11 years, 11 months ago) by riz
Branches: netbsd-6
CVS tags: netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1
Diff to: previous 1.92.2.1: preferred, colored; branchpoint 1.92: preferred, colored
Changes since revision 1.92.2.1: +14 -1
lines
Pull up following revision(s) (requested by bouyer in ticket #742):
sys/compat/netbsd32/netbsd32.h: revision 1.94
sys/compat/netbsd32/netbsd32_fs.c: revision 1.63
allow mounting ext2fs and msdosfs
while there also enable lfs but that's untested
Revision 1.95.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:01:56 2012 UTC (12 years ago) by tls
Branches: tls-maxphys
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +11 -11
lines
Resync to 2012-11-19 00:00:00 UTC
Revision 1.88.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:20:46 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.88.2.1: preferred, colored; branchpoint 1.88: preferred, colored
Changes since revision 1.88.2.1: +11 -11
lines
sync with head
Revision 1.96: download - view: text, markup, annotated - select for diffs
Fri Oct 12 19:45:47 2012 UTC (12 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: rmind-smpnet
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +11 -11
lines
fix pre-5 stat system call structure which should have used the pre-64-time_t
timestamps!
Revision 1.88.6.4: download - view: text, markup, annotated - select for diffs
Sun Apr 29 23:04:45 2012 UTC (12 years, 7 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.88.6.3: preferred, colored; branchpoint 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88.6.3: +27 -1
lines
sync to latest -current.
Revision 1.88.2.1: 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
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +103 -9
lines
sync with head
Revision 1.92.2.1: download - view: text, markup, annotated - select for diffs
Thu Apr 12 17:05:37 2012 UTC (12 years, 7 months ago) by riz
Branches: netbsd-6
CVS tags: netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +27 -1
lines
Pull up following revision(s) (requested by martin in ticket #175):
sys/kern/kern_exit.c: revision 1.238
tests/lib/libc/gen/posix_spawn/t_fileactions.c: revision 1.4
tests/lib/libc/gen/posix_spawn/t_fileactions.c: revision 1.5
sys/uvm/uvm_extern.h: revision 1.183
lib/libc/gen/posix_spawn_fileactions.c: revision 1.2
sys/kern/kern_exec.c: revision 1.348
sys/kern/kern_exec.c: revision 1.349
sys/compat/netbsd32/syscalls.master: revision 1.95
sys/uvm/uvm_glue.c: revision 1.159
sys/uvm/uvm_map.c: revision 1.317
sys/compat/netbsd32/netbsd32.h: revision 1.95
sys/kern/exec_elf.c: revision 1.38
sys/sys/spawn.h: revision 1.2
sys/sys/exec.h: revision 1.135
sys/compat/netbsd32/netbsd32_execve.c: revision 1.34
Rework posix_spawn locking and memory management:
- always provide a vmspace for the new proc, initially borrowing from proc0
(this part fixes PR 46286)
- increase parallelism between parent and child if arguments allow this,
avoiding a potential deadlock on exec_lock
- add a new flag for userland to request old (lockstepped) behaviour for
better error reporting
- adapt test cases to the previous two and add a new variant to test the
diagnostics flag
- fix a few memory (and lock) leaks
- provide netbsd32 compat
Fix asynchronous posix_spawn child exit status (and test for it).
Revision 1.95: download - view: text, markup, annotated - select for diffs
Sun Apr 8 11:27:44 2012 UTC (12 years, 7 months ago) by martin
Branches: MAIN
CVS tags: yamt-pagecache-base5,
yamt-pagecache-base4,
jmcneill-usbmp-base9,
jmcneill-usbmp-base10
Branch point for: tls-maxphys
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +27 -1
lines
Rework posix_spawn locking and memory management:
- always provide a vmspace for the new proc, initially borrowing from proc0
(this part fixes PR 46286)
- increase parallelism between parent and child if arguments allow this,
avoiding a potential deadlock on exec_lock
- add a new flag for userland to request old (lockstepped) behaviour for
better error reporting
- adapt test cases to the previous two and add a new variant to test the
diagnostics flag
- fix a few memory (and lock) leaks
- provide netbsd32 compat
Revision 1.88.6.3: download - view: text, markup, annotated - select for diffs
Tue Mar 6 18:26:40 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.88.6.2: preferred, colored; branchpoint 1.88: preferred, colored
Changes since revision 1.88.6.2: +14 -1
lines
sync to -current
Revision 1.94: download - view: text, markup, annotated - select for diffs
Tue Mar 6 07:37:05 2012 UTC (12 years, 9 months ago) by macallan
Branches: MAIN
CVS tags: jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +14 -1
lines
allow mounting ext2fs and msdosfs
while there also enable lfs but that's untested
Revision 1.88.6.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.88.6.1: preferred, colored; branchpoint 1.88: preferred, colored
Changes since revision 1.88.6.1: +1 -8
lines
sync to -current.
Revision 1.93: 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: jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +1 -8
lines
Remove COMPAT_SA / KERN_SA. Welcome to 6.99.3!
Approved by core@.
Revision 1.88.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:33:56 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +64 -2
lines
merge to -current.
Revision 1.92: download - view: text, markup, annotated - select for diffs
Wed Feb 1 05:46:46 2012 UTC (12 years, 10 months ago) by dholland
Branches: MAIN
CVS tags: netbsd-6-base,
jmcneill-usbmp-base2
Branch point for: netbsd-6
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +2 -2
lines
Be consistent about whether idtype and objtype codes are signed or
unsigned. They are signed. (While unsigned might have been a better
choice, it doesn't really matter and the majority of preexisting uses
were signed. And consistency is good.)
Revision 1.91: 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
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +3 -3
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.90: 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.89: preferred, colored
Changes since revision 1.89: +63 -2
lines
Update compat_netbsd32 for new quotactl.
Revision 1.89: download - view: text, markup, annotated - select for diffs
Tue Jan 31 22:51:41 2012 UTC (12 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +2 -1
lines
Add netbsd32_socklenp_t
Revision 1.88: download - view: text, markup, annotated - select for diffs
Wed Oct 12 23:04:22 2011 UTC (13 years, 1 month ago) by dholland
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
jmcneill-usbmp
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +2 -1
lines
As a precaution, add sys/param.h explicitly to some headers that will
no longer get it via sys/ucred.h and don't already include it
explicitly. These should in turn be removed when it can be confirmed
that it's safe to do so. (Because sys/param.h is full of things that
are often tested with #if, it's not in general safe to remove it
without checking, as such tests fail silently if the symbol goes
missing.)
Revision 1.87: download - view: text, markup, annotated - select for diffs
Thu Jun 30 20:09:39 2011 UTC (13 years, 5 months ago) by wiz
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +3 -3
lines
dependant -> dependent
Revision 1.84.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:07:32 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84: +29 -1
lines
Sync with HEAD.
Revision 1.84.4.2: 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.84.4.1: preferred, colored; branchpoint 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.4.1: +6 -0
lines
sync with head
Revision 1.86: 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
CVS tags: rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base,
cherry-xenmp
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +7 -1
lines
merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.
See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
Revision 1.84.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:52:54 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +22 -0
lines
sync with head
Revision 1.84.8.2: 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.84.8.1: preferred, colored; branchpoint 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.8.1: +7 -1
lines
implement COMPAT_NETBSD32 quotactl syscalls (both new and COMPAT_50)
Revision 1.84.8.1: download - view: text, markup, annotated - select for diffs
Tue Feb 8 16:19:47 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +23 -1
lines
Sync with HEAD
Revision 1.85: download - view: text, markup, annotated - select for diffs
Sat Jan 22 22:26:10 2011 UTC (13 years, 10 months ago) by matt
Branches: MAIN
CVS tags: bouyer-quota2-nbase,
bouyer-quota2-base
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +23 -1
lines
Add the ability to mount NFS filesystems in COMPAT_NETBSD32
If in the kernel and NFS_ARGS_ONLY, just export struct nfs_args and its flags.
Revision 1.74.10.2: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:17 2010 UTC (14 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.74.10.1: preferred, colored; branchpoint 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74.10.1: +36 -5
lines
sync with head
Revision 1.84: download - view: text, markup, annotated - select for diffs
Mon Dec 14 00:47:11 2009 UTC (14 years, 11 months ago) by matt
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip,
matt-mips64-premerge-20101231,
jruoho-x86intr-base
Branch point for: rmind-uvmplock,
jruoho-x86intr,
bouyer-quota2
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +32 -1
lines
Merge from matt-nb5-mips64
Revision 1.83: download - view: text, markup, annotated - select for diffs
Sat Dec 12 10:32:26 2009 UTC (14 years, 11 months ago) by njoly
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +5 -5
lines
Remove semicolon from NETBSD32TOx_UAP macro definitions.
Revision 1.77.4.1.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 12 18:02:32 2009 UTC (15 years, 2 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15
Diff to: previous 1.77.4.1: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77.4.1: +32 -1
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.81.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:18:59 2009 UTC (15 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81: +6 -5
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.74.10.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.74: preferred, colored
Changes since revision 1.74: +176 -32
lines
sync with head.
Revision 1.77.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.77.2.2: preferred, colored; branchpoint 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77.2.2: +6 -5
lines
Sync with HEAD.
Revision 1.82: 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-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +6 -5
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.77.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.77.2.1: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.2.1: +2 -2
lines
Sync with HEAD.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Wed Jan 28 00:43:04 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.80: preferred, colored
Changes since revision 1.80: +4 -4
lines
Revert the previous packed attribute fix. Instead make netbsd32_time_t
of type netbsd32_int64 which provides a 64-bit value with a 32-bit
alignment.
Suggested by dsl.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Wed Jan 28 00:02:39 2009 UTC (15 years, 10 months ago) by njoly
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +3 -3
lines
Make netbsd32_timespec/netbsd32_timeval structures packed. This fix an
alignment problem between 64-bit kernel and 32-bit userland versions,
which ended in different structure sizes.
Revision 1.77.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.77: preferred, colored
Changes since revision 1.77: +158 -20
lines
Sync with HEAD.
Revision 1.74.6.2: 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.74.6.1: preferred, colored; branchpoint 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74.6.1: +164 -19
lines
Sync with HEAD.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Sun Jan 11 02:45:49 2009 UTC (15 years, 10 months ago) by christos
Branches: MAIN
CVS tags: mjf-devfs2-base
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +153 -19
lines
merge christos-time_t
Revision 1.78.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.78.4.1: preferred, colored; branchpoint 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78.4.1: +865 -0
lines
add new syscalls.
Revision 1.76.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:14:02 2008 UTC (15 years, 11 months ago) by haad
Branches: haad-dm
Diff to: previous 1.76.4.1: preferred, colored; branchpoint 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76.4.1: +6 -2
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.77.4.1: 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.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77: +6 -2
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.78.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.78: +0 -731
lines
file netbsd32.h was added on branch christos-time_t on 2009-01-04 01:56:02 +0000
Revision 1.78: 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.77: preferred, colored
Changes since revision 1.77: +6 -2
lines
implement netbsd32__sched_setparam(), netbsd32__sched_getparam(),
netbsd32__sched_setaffinity() and netbsd32__sched_getaffinity().
Revision 1.76.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.76: preferred, colored
Changes since revision 1.76: +8 -1
lines
Sync with HEAD.
Revision 1.77: 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.76: preferred, colored
Changes since revision 1.76: +8 -1
lines
Merge wrstuden-revivesa into HEAD.
Revision 1.74.12.4: download - view: text, markup, annotated - select for diffs
Wed Sep 24 19:24:00 2008 UTC (16 years, 2 months ago) by skrll
Branches: wrstuden-revivesa
Diff to: previous 1.74.12.3: preferred, colored; branchpoint 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74.12.3: +8 -1
lines
Some build fixes.
Revision 1.74.12.3: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:30:54 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.74.12.2: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.12.2: +7 -9
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.74.8.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.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74: +7 -9
lines
sync with head
Revision 1.74.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:06 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +7 -9
lines
Sync with HEAD.
Revision 1.76: 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.75: preferred, colored
Changes since revision 1.75: +1 -3
lines
remove clause #3 from my license where there are no other
copyright holders involved.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Sat May 24 16:02:44 2008 UTC (16 years, 6 months ago) by njoly
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +7 -7
lines
Fix netbsd32_ipc_perm and netbsd32_shmid_ds structures to use correct
types.
Revision 1.74.12.2: download - view: text, markup, annotated - select for diffs
Wed May 14 01:35:09 2008 UTC (16 years, 6 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.74.12.1: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.12.1: +1 -2
lines
Per discussion with ad, remove most of the #include <sys/sa.h> lines
as they were including sa.h just for the type(s) needed for syscallargs.h.
Instead, create a new file, sys/satypes.h, which contains just the
types needed for syscallargs.h. Yes, there's only one now, but that
may change and it's probably more likely to change if it'd be difficult
to handle. :-)
Per discussion with matt at n dot o, add an include of satypes.h to
sigtypes.h. Upcall handlers are kinda signal handlers, and signalling
is the header file that's already included for syscallargs.h that
closest matches SA.
This shaves about 3000 lines off of the diff of the branch relative
to the base. That also represents about 18% of the total before this
checkin.
I think this reduction is very good thing.
Revision 1.74.12.1: download - view: text, markup, annotated - select for diffs
Sat May 10 23:48:57 2008 UTC (16 years, 6 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +2 -1
lines
Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.
Also, kern_sa.c has received partial cleanup. There's still more
to do, though.
Revision 1.66.8.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.66.8.2: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.8.2: +122 -130
lines
sync with HEAD
Revision 1.68.4.3: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:27 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.68.4.2: preferred, colored; branchpoint 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68.4.2: +122 -130
lines
Sync with HEAD.
Revision 1.34.2.7: download - view: text, markup, annotated - select for diffs
Mon Feb 4 09:23:10 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.34.2.6: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.2.6: +122 -130
lines
sync with head.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Sat Feb 2 15:17:06 2008 UTC (16 years, 10 months ago) by dsl
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,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp,
wrstuden-revivesa,
mjf-devfs2
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +3 -3
lines
Fix build
Revision 1.73: download - view: text, markup, annotated - select for diffs
Sat Feb 2 14:34:56 2008 UTC (16 years, 10 months ago) by dsl
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +34 -42
lines
Use the netbsd32_[u]int64 type for all 64bit items to ensure we have the
correct alignment/padding rules.
Removed the now-unnecessary #pragma packed for amd64.
Should fix the alignment of 'struct netbsd32_kevent' on non-amd64.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Sat Feb 2 13:58:18 2008 UTC (16 years, 10 months ago) by dsl
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +98 -98
lines
Change u_intxx_t to uintxx_t and uint to unsigined int etc.
Fix indentation.
Revision 1.34.2.6: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:41:48 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.34.2.5: preferred, colored
Changes since revision 1.34.2.5: +9 -5
lines
sync with head
Revision 1.66.8.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:51:33 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.66.8.1: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.8.1: +9 -5
lines
sync with HEAD
Revision 1.69.4.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:53:05 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +8 -5
lines
Sync with HEAD
Revision 1.68.4.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:44:22 2007 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.68.4.1: preferred, colored; branchpoint 1.68: preferred, colored
Changes since revision 1.68.4.1: +5 -2
lines
Sync with HEAD.
Revision 1.68.6.2: download - view: text, markup, annotated - select for diffs
Wed Dec 26 21:39:05 2007 UTC (16 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.68.6.1: preferred, colored; branchpoint 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68.6.1: +8 -5
lines
Sync with head.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Tue Dec 25 18:33:36 2007 UTC (16 years, 11 months ago) by perry
Branches: MAIN
CVS tags: vmlocking2-base3,
matt-armv6-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +4 -4
lines
Convert many of the uses of __attribute__ to equivalent
__packed, __unused and __dead macros from cdefs.h
Revision 1.70: download - view: text, markup, annotated - select for diffs
Thu Dec 20 23:03:00 2007 UTC (16 years, 11 months ago) by dsl
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +5 -2
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.66.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:37:17 2007 UTC (16 years, 11 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.66.6.1: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.6.1: +2 -1
lines
Sync with HEAD.
Revision 1.60.6.3: download - view: text, markup, annotated - select for diffs
Sun Dec 9 16:03:56 2007 UTC (17 years ago) by reinoud
Branches: reinoud-bufcleanup
Diff to: previous 1.60.6.2: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60.6.2: +2 -1
lines
Pullup to HEAD
Revision 1.68.4.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:18:57 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +2 -1
lines
Sync with HEAD.
Revision 1.68.6.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 17:56:57 2007 UTC (17 years ago) by ad
Branches: vmlocking2
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +2 -1
lines
Sync with head.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Fri Dec 7 22:41:05 2007 UTC (17 years ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base2,
reinoud-bufcleanup-nbase,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf
Branch point for: bouyer-xeni386
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +2 -1
lines
Add: _lwp_setname, _lwp_getname, _lwp_ctl.
Revision 1.66.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:25:09 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +25 -14
lines
sync with HEAD
Revision 1.34.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:29:45 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.34.2.4: preferred, colored
Changes since revision 1.34.2.4: +25 -14
lines
sync with head.
Revision 1.60.2.6: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:44:05 2007 UTC (17 years, 2 months ago) by ad
Branches: vmlocking
Diff to: previous 1.60.2.5: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60.2.5: +25 -14
lines
Sync with head.
Revision 1.67.2.1: download - view: text, markup, annotated - select for diffs
Sat Oct 6 15:30:14 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67: +9 -9
lines
sync with head.
Revision 1.66.6.1: 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.66: preferred, colored
Changes since revision 1.66: +25 -14
lines
Sync with HEAD.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Sat Sep 29 10:47:45 2007 UTC (17 years, 2 months ago) by dsl
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
vmlocking2-base1,
vmlocking-nbase,
vmlocking-base,
reinoud-bufcleanup-base,
jmcneill-base,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: vmlocking2,
mjf-devfs
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +9 -9
lines
Use netbsd32_uint64 instead of fsblkcnt_t and fsfilcnt_t in order to get
the correct alignment (4 bytes for i386) for the whole structure.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Sun Sep 16 22:35:02 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.66: preferred, colored
Changes since revision 1.66: +17 -6
lines
Define netbsd32_uint64 for 64bit integers with the alignment requirement
of the corresponding 32bit architecture.
Use it for the 64bit items in netbsd32_statvfs so that the structure
doesn't collect 8byte alignment (and 4 bytes of trailing padding).
This replaces the 'packed' attribute which wasn't architecture specific
and would cause massive overheads accessing every member of sparc64.
Should allow the MIPS64 port do DTRT.
Revision 1.34.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:32:36 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.34.2.3: preferred, colored
Changes since revision 1.34.2.3: +42 -8
lines
sync with head.
Revision 1.60.2.5: download - view: text, markup, annotated - select for diffs
Mon Aug 20 21:25:56 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.60.2.4: preferred, colored
Changes since revision 1.60.2.4: +2 -1
lines
Sync with HEAD.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Tue Jul 17 20:36:11 2007 UTC (17 years, 4 months ago) by christos
Branches: MAIN
CVS tags: nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: matt-armv6,
jmcneill-pm
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +2 -1
lines
include <compat/sys/mount.h> MFSNAMELEN
Revision 1.60.2.4: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:27:12 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.60.2.3: preferred, colored
Changes since revision 1.60.2.3: +4 -1
lines
Sync with head.
Revision 1.60.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:04:26 2007 UTC (17 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60: +41 -8
lines
Sync with head.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Sat Jun 30 15:31:49 2007 UTC (17 years, 5 months ago) by dsl
Branches: MAIN
CVS tags: mjf-ufs-trans-base
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +4 -1
lines
Changes to sompat socket function to avoid the dreaded stackgap.
Revision 1.60.2.3: download - view: text, markup, annotated - select for diffs
Sat Jun 9 23:57:44 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.60.2.2: preferred, colored
Changes since revision 1.60.2.2: +2 -1
lines
Sync with head.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Jun 3 10:55:10 2007 UTC (17 years, 6 months ago) by dsl
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +2 -1
lines
Split netbsd32___semctl14() so that it is callable from
compat_10_netbsd32_sys_semsys() (where the one parameter is already in
kernel space).
Note that the code in compat_10_netbsd32_sys_semsys() has always been wrong,
since it called compat_14_sys___semctl() - which would read 64bit values!
Revision 1.60.2.2: download - view: text, markup, annotated - select for diffs
Sun May 27 14:35:15 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.60.2.1: preferred, colored
Changes since revision 1.60.2.1: +1 -3
lines
Sync with head.
Revision 1.57.2.3: download - view: text, markup, annotated - select for diffs
Mon May 7 10:55:15 2007 UTC (17 years, 7 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.57.2.2: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.2.2: +1 -3
lines
sync with head.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Mon Apr 30 14:05:47 2007 UTC (17 years, 7 months ago) by dsl
Branches: MAIN
CVS tags: yamt-idlelwp-base8
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +1 -3
lines
Rework compat stat() and statvfs() code so that it no longer uses the stackgap.
Revision 1.60.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 10 13:26:26 2007 UTC (17 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +37 -6
lines
Sync with head.
Revision 1.60.6.2: download - view: text, markup, annotated - select for diffs
Thu Mar 29 19:27:39 2007 UTC (17 years, 8 months ago) by reinoud
Branches: reinoud-bufcleanup
Diff to: previous 1.60.6.1: preferred, colored
Changes since revision 1.60.6.1: +2 -2
lines
Pullup to -current
Revision 1.57.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 24 14:55:13 2007 UTC (17 years, 8 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.57.2.1: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.1: +37 -6
lines
sync with head.
Revision 1.62: 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.61: preferred, colored
Changes since revision 1.61: +2 -2
lines
Change all the NETBSD32PTR64(SCARG(uap, xxx))) to SCARG_P32(uap, xxx).
Revision 1.60.6.1: download - view: text, markup, annotated - select for diffs
Sun Mar 18 00:06:35 2007 UTC (17 years, 8 months ago) by reinoud
Branches: reinoud-bufcleanup
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +37 -6
lines
First attempt to bring branch in sync with HEAD
Revision 1.61: download - view: text, markup, annotated - select for diffs
Fri Mar 16 22:21:41 2007 UTC (17 years, 8 months ago) by dsl
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +37 -6
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.60: download - view: text, markup, annotated - select for diffs
Sun Mar 4 07:54:07 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
Branch point for: vmlocking,
reinoud-bufcleanup,
mjf-ufs-trans
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +6 -6
lines
fix fallout from caddr_t changes.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:01:25 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +6 -6
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:53:38 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -1
lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
Revision 1.34.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:09:29 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.34.2.2: preferred, colored
Changes since revision 1.34.2.2: +3 -9
lines
sync with head.
Revision 1.58: 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.57: preferred, colored
Changes since revision 1.57: +3 -1
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.57: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:22 2007 UTC (17 years, 9 months ago) by ad
Branches: MAIN
CVS tags: post-newlock2-merge
Branch point for: yamt-idlelwp
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +1 -9
lines
Merge newlock2 to head.
Revision 1.54.4.2: 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.54.4.1: preferred, colored; branchpoint 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.4.1: +1 -9
lines
Remove support for SA. Ok core@.
Revision 1.54.4.1: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:04:03 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +1 -1
lines
Sync with head.
Revision 1.34.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.34.2.1: preferred, colored
Changes since revision 1.34.2.1: +2 -1
lines
sync with head.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Tue Nov 21 15:02:18 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.55: preferred, colored
Changes since revision 1.55: +2 -2
lines
adjust limits takes struct proc again.
Revision 1.55: 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.54: preferred, colored
Changes since revision 1.54: +2 -2
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.48.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.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +25 -3
lines
sync with head
Revision 1.49.2.6: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:43:29 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.49.2.5: preferred, colored; branchpoint 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49.2.5: +2 -1
lines
sync with head
Revision 1.53.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:49:14 2006 UTC (18 years, 4 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +2 -1
lines
Merge from HEAD.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Thu Jul 13 12:00:25 2006 UTC (18 years, 4 months ago) by martin
Branches: MAIN
CVS tags: yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-splraiseipl,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
rpaulo-netinet-merge-pcb-base,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: newlock2
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -1
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.49.2.5: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:46:18 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.49.2.4: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.4: +9 -2
lines
sync with head.
Revision 1.34.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.34: preferred, colored
Changes since revision 1.34: +95 -10
lines
sync with head.
Revision 1.52.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 03:46:29 2006 UTC (18 years, 5 months ago) by chap
Branches: chap-midi
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +9 -2
lines
Sync with head.
Revision 1.48.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.48.6.1: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.6.1: +10 -3
lines
Sync with head.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed May 31 09:52:27 2006 UTC (18 years, 6 months ago) by drochner
Branches: MAIN
CVS tags: yamt-pdpolicy-base6,
simonb-timecounters-base,
gdamore-uart-base,
chap-midi-nbase,
chap-midi-base
Branch point for: gdamore-uart
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +9 -2
lines
support ntp_gettime again
compile tested by Havard Eidnes
Revision 1.50.4.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.50.4.1: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.4.1: +1 -1
lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.49.2.4: 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.49.2.3: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.3: +2 -2
lines
sync with head.
Revision 1.50.2.2: download - view: text, markup, annotated - select for diffs
Thu May 11 23:27:31 2006 UTC (18 years, 6 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.50.2.1: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.2.1: +2 -2
lines
sync with head
Revision 1.52: download - view: text, markup, annotated - select for diffs
Thu May 11 00:58:25 2006 UTC (18 years, 6 months ago) by mrg
Branches: MAIN
CVS tags: yamt-pdpolicy-base5,
elad-kernelauth-base
Branch point for: chap-midi
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +2 -2
lines
add an extra (uintptr_t) cast to NETBSD32TOP.
Revision 1.48.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:38:16 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +15 -1
lines
Sync with head.
Revision 1.50.2.1: 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.50: preferred, colored
Changes since revision 1.50: +12 -1
lines
sync with head.
Revision 1.49.2.3: 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.49.2.2: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.2: +12 -1
lines
sync with head.
Revision 1.50.4.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.50: preferred, colored
Changes since revision 1.50: +12 -1
lines
Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
Revision 1.51: 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.50: preferred, colored
Changes since revision 1.50: +12 -1
lines
Implement the _lwp* and sa_* families of syscalls, using the newly
introduced hooks in the native code.
Revision 1.49.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 13 09:07:07 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.49.2.1: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.1: +668 -0
lines
sync with head.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Mon Mar 6 14:40:55 2006 UTC (18 years, 9 months ago) by cube
Branches: MAIN
CVS tags: yamt-pdpolicy-base2,
peter-altq-base
Branch point for: peter-altq,
elad-kernelauth
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -1
lines
Implement the SysV IPC family of syscalls.
Revision 1.49.2.1
Sun Mar 5 01:28:20 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-pdpolicy
FILE REMOVED
Changes since revision 1.49: +0 -667
lines
file netbsd32.h was added on branch yamt-pdpolicy on 2006-03-13 09:07:07 +0000
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Mar 5 01:28:20 2006 UTC (18 years, 9 months ago) by cube
Branches: MAIN
CVS tags: yamt-pdpolicy-base
Branch point for: yamt-pdpolicy
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -1
lines
Implement the ksem_* family of syscalls.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:20:22 2005 UTC (18 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace
Branch point for: simonb-timecounters,
rpaulo-netinet-merge-pcb
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +1 -1
lines
merge ktrace-lwp.
Revision 1.24.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:01:20 2005 UTC (19 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.24.2.5: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.2.5: +76 -9
lines
Sync with HEAD. Here we go again...
Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Wed Oct 26 08:32:44 2005 UTC (19 years, 1 month ago) by yamt
Branches: yamt-vop
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +17 -2
lines
sync with head
Revision 1.47: download - view: text, markup, annotated - select for diffs
Mon Oct 24 15:28:09 2005 UTC (19 years, 1 month ago) by cube
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
ktrace-lwp-base
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -5
lines
Move prototypes for siginfo32 to/from siginfo converters at the right
place.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun Oct 23 01:33:32 2005 UTC (19 years, 1 month ago) by cube
Branches: MAIN
CVS tags: thorpej-vnode-attr-base,
thorpej-vnode-attr
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +18 -1
lines
- Split sys_kevent into kevent1 so that it can be used by COMPAT_NETBSD32
code.
- To achieve COMPAT_NETBSD32 compatibility, introduce a parameter to
kevent1 that points to functions that do the actual copyin/copyout
operations. This is similar to what was done in FreeBSD by Paul Saab.
- Add the COMPAT_NETBSD32 definitions and hooks.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Fri Oct 7 14:46:04 2005 UTC (19 years, 2 months ago) by chs
Branches: MAIN
CVS tags: yamt-vop-base
Branch point for: yamt-vop
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +6 -2
lines
make the previous apply only to x86_64.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Fri Oct 7 14:40:06 2005 UTC (19 years, 2 months ago) by chs
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -2
lines
add __attribute__((packed)) to struct netbsd32_stat13. the alignment of
64-bit values is annoying in the x86 world: they require 64-bit alignment
in 64-bit mode but only 32-bit alignment in 32-bit mode.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Sep 27 15:09:04 2005 UTC (19 years, 2 months ago) by chs
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -1
lines
this needs stuff from compat/sys/siginfo.h now, just include it here.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Sep 27 14:37:06 2005 UTC (19 years, 2 months ago) by chs
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -1
lines
make this compile again.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Sep 24 21:34:18 2005 UTC (19 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +1 -4
lines
make the siginfo converters static and comment out the one that is not used.
Revision 1.30.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.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +4 -1
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.40: download - view: text, markup, annotated - select for diffs
Sat Aug 20 15:02:36 2005 UTC (19 years, 3 months ago) by kent
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3
lines
fix a compilation problem on NetBSD/amd64
Revision 1.39: 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
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +4 -4
lines
Fix lossage I created with the 64 bit ino_t change.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Aug 19 02:03:57 2005 UTC (19 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +29 -6
lines
64 bit inode changes.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Jul 23 22:04:12 2005 UTC (19 years, 4 months ago) by cube
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -1
lines
Regen (__sigtimedwait(2)).
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Jul 23 18:56:15 2005 UTC (19 years, 4 months ago) by cube
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +22 -1
lines
Implement the timer_create(2) family of syscalls.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Jul 13 11:53:57 2005 UTC (19 years, 4 months ago) by cube
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +1 -2
lines
netbsd32_execve2() doesn't exist anymore.
Revision 1.34: 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.33: preferred, colored
Changes since revision 1.33: +4 -1
lines
Implement uuidgen(2).
Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Jun 10 05:10:13 2005 UTC (19 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2
lines
Rework the coredump code to have no explicit knownledge of how coredump
i/o is done. Instead, pass an opaque cookie which is then passed to a
new routine, coredump_write, which does the actual i/o. This allows the
method of doing i/o to change without affecting any future MD code.
Also, make netbsd32_core.c [re]use core_netbsd.c (in a similar manner that
core_elf64.c uses core_elf32.c) and eliminate that code duplication.
cpu_coredump{,32} is now called twice, first with a NULL iocookie to fill
the core structure and a second to actually write md parts of the coredump.
All i/o is nolonger random access and is suitable for shipping over a stream.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Jun 2 10:27:43 2005 UTC (19 years, 6 months ago) by drochner
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -3
lines
in siginfo conversion functions, declare the source operand as "const"
Revision 1.29.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.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +5 -2
lines
sync with -current
Revision 1.24.2.5: 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.24.2.4: preferred, colored
Changes since revision 1.24.2.4: +4 -1
lines
Sync with HEAD.
Revision 1.29.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.29.6.1: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.6.1: +4 -1
lines
sync with head.
Revision 1.31: 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.30: preferred, colored
Changes since revision 1.30: +4 -1
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.29.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:33:42 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.24.2.4: 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.24.2.3: preferred, colored
Changes since revision 1.24.2.3: +2 -2
lines
Sync with HEAD.
Hi Perry!
Revision 1.30: 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.29: preferred, colored
Changes since revision 1.29: +2 -2
lines
nuke trailing whitespace
Revision 1.24.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:25:53 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.24.2.2: preferred, colored
Changes since revision 1.24.2.2: +1 -1
lines
Fix the sync with head I botched.
Revision 1.24.2.2: 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.24.2.1: preferred, colored
Changes since revision 1.24.2.1: +0 -0
lines
Sync with HEAD.
Revision 1.24.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.24: preferred, colored
Changes since revision 1.24: +40 -1
lines
Sync with HEAD
Revision 1.29: 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.28: preferred, colored
Changes since revision 1.28: +31 -1
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.27.2.1: download - view: text, markup, annotated - select for diffs
Sun May 23 10:44:52 2004 UTC (20 years, 6 months ago) by tron
Branches: netbsd-2-0
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-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
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +4 -1
lines
Pull up revision 1.28 (requested by atatat in ticket #374):
Tweak sysctl setup functions (the macros, actually) for use in lkms,
and tweak lkminit_*.c (where applicable) to call them, and to call
sysctl_teardown() when being unloaded.
This consists of (1) making setup functions not be static when being
compiled as lkms (change to sys/sysctl.h), (2) making prototypes
visible for the various setup functions in header files (changes to
various header files), and (3) making simple "load" and "unload"
functions in the actual lkminit stuff.
linux_sysctl.c also needs its root exposed (ie, made not static) for
this (when built as an lkm).
Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu May 20 06:34:25 2004 UTC (20 years, 6 months ago) by atatat
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -1
lines
Tweak sysctl setup functions (the macros, actually) for use in lkms,
and tweak lkminit_*.c (where applicable) to call them, and to call
sysctl_teardown() when being unloaded.
This consists of (1) making setup functions not be static when being
compiled as lkms (change to sys/sysctl.h), (2) making prototypes
visible for the various setup functions in header files (changes to
various header files), and (3) making simple "load" and "unload"
functions in the actual lkminit stuff.
linux_sysctl.c also needs its root exposed (ie, made not static) for
this (when built as an lkm).
Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Jan 21 11:28:30 2004 UTC (20 years, 10 months ago) by mrg
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +1 -5
lines
delete ktrsyscall32() prototype
Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Jan 15 14:34:38 2004 UTC (20 years, 10 months ago) by mrg
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +5 -1
lines
add a copy of the ktrsyscall() entry point for 32 bit emulated calls.
the main purpose of this function is to adjust the "argsize" value of
the ktrace syscall record, otherwise userland will see N/2 (rounded
down) arguments instead of N.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Oct 13 18:55:30 2003 UTC (21 years, 1 month ago) by fvdl
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +7 -1
lines
Implement 32bit get/setcontext entry points.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Jan 18 08:28:25 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -3
lines
Merge the nathanw_sa branch.
Revision 1.17.2.7: download - view: text, markup, annotated - select for diffs
Wed Dec 11 06:37:35 2002 UTC (21 years, 11 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.17.2.6: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.2.6: +3 -3
lines
Sync with HEAD.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Nov 27 16:44:02 2002 UTC (22 years ago) by atatat
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -4
lines
Complete the rename: s/sa_/<compat>_sa_/g
Also tweak the darwin siginfo stuff to avoid the same type of collision.
Revision 1.17.2.6: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:07:45 2002 UTC (22 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.17.2.5: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.5: +80 -71
lines
Catch up to -current
Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Oct 23 13:16:40 2002 UTC (22 years, 1 month ago) by scw
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +80 -71
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.17.2.5: download - view: text, markup, annotated - select for diffs
Fri Aug 23 02:37:09 2002 UTC (22 years, 3 months ago) by petrov
Branches: nathanw_sa
Diff to: previous 1.17.2.4: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.4: +3 -3
lines
lwpification.
Revision 1.17.2.4: download - view: text, markup, annotated - select for diffs
Wed May 29 21:32:47 2002 UTC (22 years, 6 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.17.2.3: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.3: +2 -1
lines
#include <sys/sa.h> before <sys/syscallargs.h>, to provide sa_upcall_t
now that <sys/param.h> doesn't include <sys/sa.h>.
(Behold the Power of Ed)
Revision 1.19.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:51:52 2002 UTC (22 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.19.2.1: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.2.1: +2 -3
lines
Sync kqueue branch with -current.
Revision 1.17.2.3: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:29:07 2002 UTC (22 years, 11 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.17.2.2: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.2: +2 -3
lines
Catch up to -current.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Dec 8 00:35:27 2001 UTC (23 years ago) by thorpej
Branches: MAIN
CVS tags: newlock-base,
newlock,
netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6,
kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
ifpoll-base,
gehenna-devsw-base,
gehenna-devsw,
eeh-devprop-base,
eeh-devprop
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -3
lines
Make the coredump routine exec-format/emulation specific. Split
out traditional NetBSD coredump routines into core_netbsd.c and
netbsd32_core.c (for COMPAT_NETBSD32).
Revision 1.17.2.2: download - view: text, markup, annotated - select for diffs
Fri Sep 21 22:35:20 2001 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.17.2.1: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.1: +2 -2
lines
Catch up to -current.
Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:15:26 2001 UTC (23 years, 2 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2
lines
Update the kqueue branch to HEAD.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Aug 25 15:06:02 2001 UTC (23 years, 3 months ago) by mrg
Branches: MAIN
CVS tags: thorpej-mips-cache-base,
thorpej-mips-cache,
thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2
lines
update copyright notices.
Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 19:59:58 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +9 -2
lines
Catch up to -current.
Revision 1.19: 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
Branch point for: kqueue
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +6 -2
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.18: download - view: text, markup, annotated - select for diffs
Wed Jun 6 21:45:56 2001 UTC (23 years, 6 months ago) by mrg
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -1
lines
proto for coredump32
Revision 1.9.2.4: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:14:09 2001 UTC (23 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.9.2.3: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.3: +11 -1
lines
Sync with HEAD.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Feb 4 06:35:07 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.16: preferred, colored
Changes since revision 1.16: +6 -1
lines
make sysctl vm.loadavg work.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Feb 2 07:08:17 2001 UTC (23 years, 10 months ago) by mrg
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +6 -1
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.9.2.3: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:08:32 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.9.2.2: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.2.2: +1 -6
lines
Sync with HEAD.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Dec 3 13:15:38 2000 UTC (24 years ago) by fvdl
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -1
lines
Add systm.h to pull in copyout* prototypes.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Dec 1 12:28:33 2000 UTC (24 years ago) by jdolecek
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +1 -7
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.9.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 22 16:02:50 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.9.2.1: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.2.1: +2 -2
lines
Sync with HEAD.
Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:08:27 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +44 -19
lines
Update thorpej_scsipi to -current as of a month ago
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Nov 18 02:00:50 2000 UTC (24 years ago) by mrg
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2
lines
kill gcc warnings.
Revision 1.10.4.1: download - view: text, markup, annotated - select for diffs
Sat Aug 26 01:04:46 2000 UTC (24 years, 3 months ago) by mrg
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +9 -1
lines
pull up 1.12. approved by thorpej:
>Fix netbsd32_ioctls.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Aug 22 03:35:14 2000 UTC (24 years, 3 months ago) by mrg
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +9 -1
lines
declare struct firm_event32
Revision 1.11: 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.10: preferred, colored
Changes since revision 1.10: +15 -1
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.10: 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
CVS tags: netbsd-1-5-base,
netbsd-1-5-ALPHA2,
minoura-xpg4dl-base,
minoura-xpg4dl,
chs-ubc2-newbase
Branch point for: netbsd-1-5
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +22 -19
lines
Update to 32-bit compatibility routines.
Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:34:28 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +47 -4
lines
Pull up to last week's -current.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Oct 11 01:36:22 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.8: preferred, colored
Changes since revision 1.8: +47 -4
lines
Add netbsd32_compat_14.c
Rename everything from compat_netbsd32 -> netbsd32 so we don't have silly
names like compat_14_compat_netbsd32_sys_shmctl().
Revision 1.7.4.1: download - view: text, markup, annotated - select for diffs
Mon Aug 2 21:53:07 1999 UTC (25 years, 4 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +3 -1
lines
Regen.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Jul 12 21:55:20 1999 UTC (25 years, 4 months ago) by kleink
Branches: MAIN
CVS tags: chs-ubc2-base
Branch point for: wrstuden-devbsize
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -1
lines
XSH5: change function signature to `void *sbrk(intptr_t)'.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Mar 25 17:57:21 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.6: preferred, colored
Changes since revision 1.6: +8 -5
lines
clean and up make compile
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Mar 25 16:58:39 1999 UTC (25 years, 8 months ago) by mrg
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +24 -16
lines
SPARC32->NETBSD32
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Mar 25 16:27:56 1999 UTC (25 years, 8 months ago) by mrg
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2
lines
include the MD header.
Revision 1.4: 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.3: preferred, colored
Changes since revision 1.3: +184 -191
lines
move sparc32 to netbsd32; split out MD part (signal handling) (mostly via repository copy, rename and perl -pi :-)
Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Oct 1 14:27:56 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.2: preferred, colored
Changes since revision 1.2: +59 -56
lines
Overhaul. Now will run simple things like /bin/sh and /bin/echo.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Sep 7 01:38:03 1998 UTC (26 years, 3 months ago) by eeh
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2
lines
Need to make sure high bits of addresses are zeroed out.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Aug 26 10:20:34 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.
CVSweb <webmaster@jp.NetBSD.org>