matt
6a9dc55430
More variable sized MALLOC -> malloc changes.
2006-03-19 22:39:28 +00:00
matt
170f4f3a59
MALLOC -> malloc
2006-03-18 18:56:19 +00:00
cube
daab1bf18c
Move malloc calls outside of the block where a lock is held.
2006-03-15 11:36:42 +00:00
cube
37b7f4fbd8
SA introduce a new case of siginfo structure. Be ready for it when the
...
time comes to support SA in COMPAT_NETBSD32 (which is soon).
2006-03-15 09:09:47 +00:00
thorpej
be8b235384
Clean up fallout proc_is_traced_p() change:
...
- proc_is_traced_p() -> trace_is_enabled(), to match trace_enter() and
trace_exit().
- trace_is_enabled() becomes a real function.
- Remove unnecessary include files from various files that used to care
about KTRACE and SYSTRACE, but do no more.
2006-03-07 03:32:04 +00:00
cube
ceafd0acdb
Regen (SysV IPC).
2006-03-06 14:41:28 +00:00
cube
754cf030b7
Implement the SysV IPC family of syscalls.
2006-03-06 14:40:55 +00:00
cube
40a483cd0b
Regen (ksem_*).
2006-03-05 01:29:28 +00:00
cube
6d0cb97ff8
Implement the ksem_* family of syscalls.
2006-03-05 01:28:20 +00:00
yamt
ec5a93183a
merge yamt-uio_vmspace branch.
...
- use vmspace rather than proc or lwp where appropriate.
the latter is more natural to specify an address space.
(and less likely to be abused for random purposes.)
- fix a swdmover race.
2006-03-01 12:38:10 +00:00
he
1f315c6ab1
Paste in the conditional declaration of the pps_* extern variables
...
from kern_ntptime.c, so that this file can build under PPS_SYNC.
2006-02-17 15:44:17 +00:00
perry
fbae48b901
Change "inline" back to "__inline" in .h files -- C99 is still too
...
new, and some apps compile things in C89 mode. C89 keywords stay.
As per core@.
2006-02-16 20:17:12 +00:00
manu
ee0c5b44de
Add initial (but unfinished) COMPAT_LINUX32 for amd64. This is good enough so
...
that the i386 license manager part of amd64 version of Fluent works.
While I'm here, add SysV IPC to COMPAT_LINUX/amd64
2006-02-09 19:18:56 +00:00
cube
16b23e6e66
More ktrace-lwp merge fallout: netbsd_elf32_signature's prototype has
...
changed. Too bad C doesn't have signatures in symbols.
Fixes PR#32388 by Nicolas Joly.
2005-12-27 00:36:00 +00:00
perry
0f0296d88a
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
2005-12-24 20:45:08 +00:00
christos
fa7190ea1a
more proc to lwp problems.
2005-12-12 02:51:07 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
christos
0e0397d742
netbsd32_timevalp_t is not really a pointer.
2005-12-06 13:37:35 +00:00
christos
58b2cd40fa
remove conflict.
2005-12-05 15:17:18 +00:00
christos
9612f9a4de
untagle a bit.
2005-12-05 15:16:51 +00:00
kleink
cb3b376555
Sync with kern_time.c rev. 1.98:
...
- make settime take timespec.
- pass struct proc down so that we can log a detailed message.
2005-12-05 10:31:00 +00:00
simonb
a21c456e2e
Call nanotime() directly, instead of doing the
...
microtime()/TIMEVAL_TO_TIMESPEC() dance.
2005-11-11 07:07:42 +00:00
christos
82eba32c06
need compat/sys/shm.h
2005-11-10 18:47:53 +00:00
cube
75d561e358
Move prototypes for siginfo32 to/from siginfo converters at the right
...
place.
2005-10-24 15:28:09 +00:00
cube
fc1218444f
Regen (kqueue, kevent).
2005-10-23 01:34:33 +00:00
cube
97e4d77453
- 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.
2005-10-23 01:33:32 +00:00
cube
388b97e039
Implement a few changes needed to properly resolve PR#30924, as
...
discussed in the PR.
- introduce sys/timevar.h to hold kernel-specific stuff relevant to
sys/time.h. Ideally, timevar.h would contain all (or almost) of the
#ifdef _KERNEL part of time.h, but that's a pretty big and tedious
change to make. For now, it will contain only the prototypes I
introduced when working on COMPAT_NETBSD32.
- split copyinout_t into copyin_t and copyout_t, it makes prototypes more
explicit about the meaning of a given argument. Suggested by yamt@.
- move copyinout_t definition in sys/time.h to systm.h as copyin_t and
copyout_t
- make everything uses the new types and include the proper headers at
the proper places.
2005-10-23 00:09:14 +00:00
chs
ffd3aa297e
make the previous apply only to x86_64.
2005-10-07 14:46:04 +00:00
chs
26a2ca0397
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.
2005-10-07 14:40:06 +00:00
chs
8a6025c821
this needs stuff from compat/sys/siginfo.h now, just include it here.
2005-09-27 15:09:04 +00:00
chs
94be8205d7
make this compile again.
2005-09-27 14:37:06 +00:00
christos
a5d6ab9188
need compat/sys/socket.h
2005-09-24 21:34:35 +00:00
christos
91e84b20b0
make the siginfo converters static and comment out the one that is not used.
2005-09-24 21:34:18 +00:00
christos
dd40a9f6f6
include new compat siginfo header.
2005-09-24 17:29:47 +00:00
chs
33359b3121
need to include sys/socket.h here now, sys/mount.h no longer does it for us.
2005-09-24 15:42:58 +00:00
christos
58b392c018
make this compile again.
2005-09-13 03:23:09 +00:00
kent
868a42c866
fix a compilation problem on NetBSD/amd64
2005-08-20 15:02:36 +00:00
christos
b041fac92d
Fix lossage I created with the 64 bit ino_t change.
2005-08-19 04:24:38 +00:00
christos
758a209d23
64 bit inode changes.
2005-08-19 02:03:49 +00:00
cube
ae35d4a4e9
Regen (__sigtimedwait(2)).
2005-07-23 22:04:12 +00:00
cube
73fe747f11
Implement __sigtimedwait(2).
2005-07-23 22:03:45 +00:00
cube
a6b803a79f
Constify conversion functions.
2005-07-23 21:51:29 +00:00
cube
21472d491b
Regen (timer_create(2) and friends).
2005-07-23 18:57:07 +00:00
cube
23a1110cbd
Implement the timer_create(2) family of syscalls.
2005-07-23 18:56:15 +00:00
cube
ee24060ae4
Remove duplication of code for netbsd32_wait4() by using stackgap(9).
2005-07-22 22:46:29 +00:00
cube
86f97cc446
Do the CHECK_ALT_EXIST dance again in netbsd32_execve(). It was lost in
...
previous commit.
2005-07-13 11:55:19 +00:00
cube
e13e6c14c7
netbsd32_execve2() doesn't exist anymore.
2005-07-13 11:53:57 +00:00
martin
e14ba58310
When returning 64bit values (from netbsd32_lseek) fix up the return
...
value vector (of 32bit values, most likely) via a MD macro.
2005-07-12 15:06:17 +00:00
cube
e937141b42
Regen (*xattr(2)).
2005-07-12 07:46:19 +00:00
cube
728e5e01bd
Add the *xattr(2) family of syscalls. Just like the *extattr(2) family,
...
they're waiting for an actual FS back-end to be tested, but are still
straightforward enough.
2005-07-12 07:45:34 +00:00