manu
88a5eb33ed
Instead of ifdef'ing __amd64__ all the Linux NPTL stuff, introduce an
...
ifdef LINUX_NPTL.
Also implement SETTLS flag to Linux clone()
2005-11-05 00:47:26 +00:00
chs
df018c387b
make this compile on m68k by including sys/device.h explicitly.
...
on other platforms it's apparently included implicitly, probably through cpu.h.
2005-11-04 17:00:43 +00:00
manu
b72e0d5382
Fix machine name returned by uname on Linux
2005-11-04 16:58:14 +00:00
manu
78ad642708
regen
2005-11-04 16:57:03 +00:00
manu
e7609e6478
Implement Linux futex ang gettid
2005-11-04 16:54:11 +00:00
manu
3b8100b96a
register_t is not an int on amd64
2005-11-04 16:52:51 +00:00
manu
e1c0c1c9dd
Implement Linux futex and gettid system calls for amd64
2005-11-04 16:51:56 +00:00
manu
0a3dbc01d5
build fix
2005-11-04 16:49:55 +00:00
manu
b7ba0ebc16
Fix pipe linux emulation on amd64
2005-10-31 18:00:30 +00:00
manu
5d2a593dcd
build fix
2005-10-31 17:58:07 +00:00
chs
d17f6e14bc
add support for the linux PROT_GROWS{DOWN,UP} mprotect() flags.
...
fixes PR 30008.
2005-10-30 16:25:50 +00:00
cube
75d561e358
Move prototypes for siginfo32 to/from siginfo converters at the right
...
place.
2005-10-24 15:28:09 +00:00
christos
6f981830a9
PR/31905: Wolfgang Stukenbrock: Termios ioctls TIOCMBIC and TIOCMBIS missing
...
in linux emulation code
2005-10-24 12:58:34 +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
christos
78063c9188
regen.
2005-10-20 15:35:42 +00:00
christos
0270612ce7
Conditionalize the sigreturn syscall inclusion; from Patrick Welche
2005-10-20 15:35:25 +00:00
christos
e780c5edaf
regen
2005-10-18 19:52:07 +00:00
christos
8fc452caf8
add the missing %% that confused joerg and the parser.
2005-10-18 19:51:47 +00:00
joerg
5e74202601
Regen.
2005-10-18 19:08:51 +00:00
joerg
39fcee12fe
sys_uselib is needed by COMPAT_LINUX for EXEC_AOUT. Since it doesn't get
...
build when EXEC_AOUT is not defined, the syscalls.master entry has to be
conditionalized. Alpha did so already, so let the other archs catch up
with it.
Go-on: christos
2005-10-18 18:37:44 +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
manu
bc210edac8
Fix COMPAT_DARWIN build. This closes PR#31336
2005-10-03 17:11:25 +00:00
he
c6c2d9e696
Suddenly these need explicit inclusion of <sys/socket.h>; they use
...
the MSG_OOB and AF_LINK symbols (among others). Fixes build problem.
2005-09-28 06:40:15 +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
1e20ffb8a1
regen
2005-09-27 15:07:54 +00:00
chs
ad1b7e8d5c
include "opt_compat_sunos.h", netbsd32_syscallargs.h wants it.
2005-09-27 15:07:40 +00:00
chs
94be8205d7
make this compile again.
2005-09-27 14:37:06 +00:00
martin
3faf969174
Adapt to struct vfsops changes during the NFS export rototill.
2005-09-27 13:26:03 +00:00
jmmv
20ac358c50
Instead of trying to clear ufs_args' export member, zero the whole
...
structure so that we don't rely on that (renamed) field. Should fix
the build. Found by he@.
2005-09-24 21:44:15 +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
6c8e87cff8
add struct forwards.
2005-09-24 21:33:48 +00:00
christos
dd40a9f6f6
include new compat siginfo header.
2005-09-24 17:29:47 +00:00
christos
5c03cd2255
more header cleanup.
2005-09-24 17:27:44 +00:00
christos
ca3a193432
factor out some of the osockaddr, omsghdr code.
2005-09-24 15:51:03 +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
03ec972e58
maplen was uninitialized.
2005-09-19 02:47:15 +00:00
christos
d359ae5c43
MINSIGSTKSZ on linux is different depending on the platform and usually
...
smaller than ours.
2005-09-19 02:46:49 +00:00
christos
e20c28140a
Add compat signal headers.
2005-09-18 14:30:15 +00:00
yamt
a0bdf5ef81
irix_sys_swapctl: follow uvm_swap_stats changes.
2005-09-17 14:52:55 +00:00
yamt
209478cccf
protect p_nrlwps by sched_lock.
2005-09-17 14:35:51 +00:00
christos
29f3692018
add <compat/sys/signal*.h>
2005-09-16 17:09:52 +00:00
christos
c315b31f19
Fix a comment.
2005-09-15 03:00:16 +00:00
he
70fe9e01e8
This now needs <compat/sys/signal.h> to build.
2005-09-14 13:49:50 +00:00
he
87e3d67bce
This file now needs <compat/sys/stat.h> to build.
2005-09-14 13:49:27 +00:00
christos
ff66f5797e
need linux_syscallargs.h to compile, and remove inline function.
2005-09-13 22:08:21 +00:00
christos
c83d281198
Forgot to reverse the conditional test.
2005-09-13 16:35:24 +00:00