dsl
be74e0a9c9
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.
2014-01-01 18:57:15 +00:00
njoly
465ae6432a
Add easy parts (TCOOFF/TCOON) of the TCXONC linux termios ioctl.
2013-12-27 16:58:50 +00:00
njoly
27180d99da
Rename ipcall/socketcall specific defines to avoid conflict with
...
syscalls definitions. No functional changes.
2013-12-27 15:10:53 +00:00
njoly
825f0d0c2c
Regen.
2013-12-27 14:17:32 +00:00
njoly
87ffdd525a
Add struct linux_stat64 definition for alpha, and enable syscalls that
...
use it.
2013-12-27 14:17:11 +00:00
njoly
32701b7213
Regen for fcntl64().
2013-12-24 13:41:55 +00:00
njoly
71c7929bf4
Reduce diffs between arches, add fcntl64() to m68k.
2013-12-24 13:41:25 +00:00
njoly
b50661d98e
CTASSERT that native to compat errno translation tables are kept in
...
sync with native errno list.
Remove extra entries (linux) which resulted in bad translated values,
and add missing ones (ibcs2, osf1 and svr4) which made some out of
bounds accesses.
2013-12-22 17:14:22 +00:00
njoly
b647d3d5d8
Cleanup compat linux errnos by adding generic errnos in a single file.
...
Use it for all arches except alpha and mips.
Add a few missing native to linux errno conversions.
2013-12-17 22:14:24 +00:00
martin
4d03a889b8
Free pathbuf in an error path.
...
From Maxime Villard.
2013-12-17 20:45:22 +00:00
njoly
b5db486fb6
Regen.
2013-12-10 14:55:07 +00:00
njoly
2882c93e6b
Add *at() syscalls like other arches.
2013-12-10 14:54:36 +00:00
dsl
8acb81ad2b
Missing change to the fxsave structure rename
2013-12-09 08:33:48 +00:00
njoly
4aa28cc3f1
Regen.
2013-12-08 15:56:12 +00:00
njoly
7baf52cd9a
Sprinkle a few more linux_umode_t where appropriate.
...
Reduce diffs between archs.
2013-12-08 15:55:10 +00:00
njoly
d16d72eb65
Add missing syscall argument fd in comment.
2013-12-08 14:59:43 +00:00
christos
f0ceb57840
revert fpu/pcu changes until we figure out what's wrong; they cause random
...
freezes
2013-12-01 01:05:16 +00:00
christos
9d605174d9
Change the queue.3 *_END(&head) macros to NULL. Since we don't have CIRCLEQ
...
anymore, all the macros expand to NULL anyway, so this improves readability.
Requested by rmind@
2013-11-27 17:24:43 +00:00
christos
2ff9a720d1
fix previous, list ends in NULL, and don't open-code
2013-11-23 23:34:04 +00:00
christos
d2c05345c3
fix previous the end of the list is NULL, and don't open-code.
2013-11-23 23:30:39 +00:00
christos
7813233f96
fix open-coded mountlist scan
2013-11-23 20:53:46 +00:00
riz
4d884f3fb4
Since mountlist is now a TAILQ, convert some missed usages
...
so things build again.
2013-11-23 16:15:24 +00:00
christos
0b725b63c7
change the mountlist CIRCLEQ into a TAILQ
2013-11-23 13:35:36 +00:00
chs
6aed52509c
regen
2013-11-19 03:53:09 +00:00
chs
e3ea522918
add the *at() syscalls.
2013-11-19 03:52:07 +00:00
christos
ae496e1598
Regen
2013-11-18 19:23:35 +00:00
christos
35ec66cc18
Fix extended attribute syscalls to use the proper types and call their netbsd32
...
counterparts for now.
2013-11-18 19:23:27 +00:00
chs
42fa7e34f4
claim to be linux 3.11.6 (opensuse 13.1).
2013-11-18 01:36:49 +00:00
chs
c1e3376b22
regen
2013-11-18 01:36:35 +00:00
chs
29a841b371
implement the *at() syscalls.
...
bring the unimplemented syscall list up to date.
2013-11-18 01:32:52 +00:00
chs
9b4603f5cc
initialize %ds to something valid to help ptrace().
2013-11-18 01:32:32 +00:00
chs
2084516c98
implement AT_RANDOM.
2013-11-18 01:32:22 +00:00
slp
69abcb6960
On linux_sys_getdents, insert d_type at the end of each record.
...
Fixes PR kern/47806.
2013-11-10 12:07:52 +00:00
njoly
c0dc7e32cd
Regen for dup/dup2/dup3 argument types fix.
2013-11-07 19:39:57 +00:00
njoly
dffea6ad6b
Fix dup/dup2/dup3 argument types (u_int -> int).
2013-11-07 19:37:18 +00:00
christos
50d0979a7a
fix incorrect sizes to memset
2013-11-04 16:52:08 +00:00
martin
5252413f60
Remove a variable
2013-10-25 14:46:35 +00:00
drochner
23780ff8df
Use the MI "pcu" framework for bookkeeping of npx/fpu states on x86.
...
This reduces the amount of MD code enormously, and makes it easier
to implement support for newer CPU features which require more fpu
state, or for fpu usage by the kernel.
For access to FPU state across CPUs, an xcall kthread is used now
rather than a dedicated IPI.
No user visible changes intended.
2013-10-23 20:18:50 +00:00
christos
c829de6452
remove unused variable
2013-10-17 21:08:16 +00:00
njoly
4a806b5236
Regen for mknodat(2) device argument type change.
2013-10-17 18:04:40 +00:00
njoly
349036b521
Change mknodat(2) device argument type from uint32_t to dev_t.
...
Adds needed extra PAD argument for 64bit alignment, and libc wrapper.
2013-10-17 18:01:11 +00:00
christos
fda5f877e5
prefix compat with __ in case __dso_hidden is not available
2013-10-04 21:07:37 +00:00
christos
ca2d95d15f
avoid linker warning for compat symbols that are used internally in libc,
...
by introducing a hidden compat_foo() function, using that internally in
libc, and exposing foo as a strong alias to compat_foo(). I am open for
better ideas.
2013-10-04 20:49:16 +00:00
njoly
a4d690b0d1
Regen for utimensat(2).
2013-09-24 13:28:50 +00:00
njoly
eb2a213af4
Add utimensat(2) for compat linux.
2013-09-24 13:27:49 +00:00
christos
721e82b55a
exec modules need to be of the exec kind
2013-09-19 18:50:35 +00:00
njoly
1b3ff581a5
Regen.
2013-09-15 12:59:17 +00:00
njoly
9692d5cd1c
Make alpha use linux_sys_utimes() just like other archs.
2013-09-15 12:58:34 +00:00
matt
db7576897d
Use <arm/locore.h>
2013-08-18 07:01:45 +00:00
pooka
2ad17e87e5
regen
2013-08-11 18:35:19 +00:00