christos
516181531f
union was removed
2018-01-26 09:29:15 +00:00
skrll
ac34435581
Remove port-acorn26
...
OK core@
2018-01-24 09:04:40 +00:00
macallan
baced4fe27
add conversion goop for WSDISPLAYIO_LDFONT and _SFONT
...
tested on mips64
2018-01-19 23:38:56 +00:00
maxv
9b17ef8e3a
Don't return the address of the kernel modules if the user is not
...
privileged. Discussed on tech-kern@.
2018-01-18 13:31:20 +00:00
maya
45b55008a4
remove struct emul's e_fault.
...
It used to be used by COMPAT_IRIX for the purpose of overriding
uvm_fault (only implemented in MIPS), now removed.
Ride 8.99.12 version bump.
2018-01-09 20:55:42 +00:00
christos
a38ead8b43
ignore signal 64 for now (go uses it)
...
XXX: pullup-8
2018-01-07 21:16:00 +00:00
christos
dda917e683
Ignore signal 64 for now (go uses it)
...
XXX: pullup-8
2018-01-07 21:14:38 +00:00
kamil
f98f70a745
Revert vadvise(2) removal
...
This system call was used in legacy Lisp code, that was inherited to modern
age and still compiled against supported compat layers (e.g. in clisp,
oaklisp, Franz Lisp).
It used to instruct the kernel about paging policy (G/C aware, flush etc).
Newly compiled code (assuming that it will detect vadvise()) will use the
libc stub for vadvise(). The headers for this interface are gone.
vadvise(2) could be marked as COMPAT_80, but as long as we support ultrix,
sunos or aout68k ABI, don't bother with this.
Requested by <mrg>
2018-01-06 16:41:23 +00:00
maxv
98ae6a49f7
Use the default %cs, and mask the other segregs.
2018-01-01 08:03:43 +00:00
kamil
d46f49d32a
Refactor pipe1() and correct a bug in sys_pipe2() (SYS_pipe2)
...
sys_pipe2() returns two integers (values), the 2nd one is a copy of the 2nd
file descriptor that lands in fildes[2]. This is a side effect of reusing
the code for sys_pipe() (SYS_pipe) and not cleaning it up.
The first returned value is (on success) 0.
Introduced a small refactoring in pipe1() that it does not operate over
retval[], but on an array int[2]. A user sets retval[] for pipe() when
desired and needed.
This refactoring touches compat code: netbsd32, linux, linux32.
Before the changes on NetBSD/amd64:
$ ktruss -i ./a.out
[...]
15131 1 a.out pipe2(0x7f7fff2e62b8, 0) = 0, 4
[...]
After the changes:
$ ktruss -i ./a.out
[...]
782 1 a.out pipe2(0x7f7fff97e850, 0) = 0
[...]
There should not be a visible change for current users.
Sponsored by <The NetBSD Foundation>
2017-12-26 08:30:57 +00:00
maya
854802fe20
Pass LDFLAGS to ld.
...
Without this, mips64-ld thinks we want to link our n64 objects with the
default ABI, n32.
2017-12-20 04:46:19 +00:00
kamil
102875f88e
Drop SYS_vadvise
...
The (o)vadvise syscall is dummy since the beginning of NetBSD.
It is an obsolete remnant from the old UNIX.
Sponsored by <The NetBSD Foundation>
2017-12-19 19:40:03 +00:00
kamil
c7fbece140
compat/ultrix: Drop SYS_vadvise
...
The (o)vadvise syscall is dummy since the beginning of NetBSD.
Sponsored by <The NetBSD Foundation>
2017-12-19 19:20:30 +00:00
kamil
3805245bdb
compat/sunos32: Drop SYS_vadvise
...
The (o)vadvise syscall is dummy since the beginning of NetBSD.
Sponsored by <The NetBSD Foundation>
2017-12-19 19:19:50 +00:00
kamil
7c821851a7
compat/sunos: Drop SYS_vadvise
...
The (o)vadvise syscall is dummy since the beginning of NetBSD.
Sponsored by <The NetBSD Foundation>
2017-12-19 19:19:16 +00:00
kamil
124aa7a756
compat/freebsd: Drop SYS_vadvise
...
The (o)vadvise syscall is dummy since the beginning of NetBSD.
Sponsored by <The NetBSD Foundation>
2017-12-19 19:18:18 +00:00
kamil
146ecadb3f
compat/aoutm68k: Drop SYS_vadvise
...
The (o)vadvise syscall is dummy since the beginning of NetBSD.
Sponsored by <The NetBSD Foundation>
2017-12-19 19:17:17 +00:00
kamil
885229d011
Drop SYS_sbrk
...
sbrk - change data segment size
This syscall is dummy since the inception of the project.
Sponsored by <The NetBSD Foundation>
2017-12-19 18:34:47 +00:00
kamil
7211c03683
compat/sunos32: Drop SYS_sbrk
...
sbrk - change data segment size
This syscall is dummy since the inception of the project.
Sponsored by <The NetBSD Foundation>
2017-12-19 18:25:53 +00:00
kamil
93b13730c3
compat/sunos: Drop SYS_sbrk
...
sbrk - change data segment size
This syscall is dummy since the inception of the project.
Sponsored by <The NetBSD Foundation>
2017-12-19 18:24:21 +00:00
kamil
1796e0e896
compat/ultrix: Drop SYS_sbrk
...
sbrk - change data segment size
This syscall is dummy since the inception of the project.
Sponsored by <The NetBSD Foundation>
2017-12-19 18:20:11 +00:00
kamil
c252b01325
compat/freebsd: Drop SYS_sbrk
...
sbrk - change data segment size
This syscall is dummy since the inception of the project.
Sponsored by <The NetBSD Foundation>
2017-12-19 18:15:08 +00:00
kamil
b20edd1a94
compat/aoutm68k: Drop SYS_sbrk
...
sbrk - change data segment size
This syscall is dummy since the inception of the project. It's implemented
in userland in libc.
Sponsored by <The NetBSD Foundation>
2017-12-19 18:10:22 +00:00
kamil
438b670525
Drop the sstk(2) syscall stub
...
sstk - change stack section size
This functionality has never been implemented and is a remnant from 16-bit
UNIX. This stub appeared with the first NetBSD commit.
Sponsored by <The NetBSD Foundation>
2017-12-19 08:48:19 +00:00
kamil
82bc226748
compat freebsd: Drop the sstk(2) syscall
...
sstk(2) has never been implemented by the NetBSD kernel.
Sponsored by <The NetBSD Foundation>
2017-12-19 08:27:05 +00:00
kamil
688d12a3d7
compat sunos: Drop the sstk(2) syscall
...
sstk(2) has never been implemented by the NetBSD kernel.
Sponsored by <The NetBSD Foundation>
2017-12-19 08:25:37 +00:00
kamil
3d589eb938
compat sunos32: Drop the sstk(2) syscall
...
sstk(2) has never been implemented by the NetBSD kernel.
Sponsored by <The NetBSD Foundation>
2017-12-19 08:24:41 +00:00
kamil
62e75dc456
compat ultrix: Drop the sstk(2) syscall
...
sstk(2) has never been implemented by the NetBSD kernel.
Sponsored by <The NetBSD Foundation>
2017-12-19 08:23:22 +00:00
kamil
fc1871a14a
compat aoutm68k: Mark sstk(2) as OBSOL
...
Remove the sstk(2) syscall support and mark it as obsolete.
It has never been implemented in the kernel.
Sponsored by <The NetBSD Foundation>
2017-12-19 08:09:36 +00:00
kamil
5bf457c4f0
Sync syscalls.master in compat_netbsd32(8) with kern/syscalls.master
...
___lwp_part60 removed 'const' from the ts argument.
'const struct timespec *ts' -> 'struct timespec *ts'
Sponsored by <The NetBSD Foundation>
2017-12-19 07:58:50 +00:00
mrg
2449b0a157
include <compat/sys/siginfo.h> for siginfo32_t.
2017-12-18 00:33:32 +00:00
christos
f818d5c42e
handle siginfo requests for ptrace32
2017-12-17 20:59:27 +00:00
maxv
e9069ab139
compat_util.c must be compiled by default in the kernel. It is needed by
...
generic non-compat code, so it must not depend on anything (libcompat or
whatever option we choose to associate it to).
2017-12-16 10:15:12 +00:00
maxv
cd4e50d80d
Build these functions regardless of whether COMPAT_50 or COMPAT_70 are
...
enabled. They must be there, because they are needed in rtsock.c even
when no compat option is enabled.
2017-12-16 09:10:30 +00:00
maxv
b1fa3d10bb
Build libcompat as an object, not as a library. We want all of its
...
functions compiled in, because compat modules loaded from the filesystem
may depend on them.
2017-12-16 08:31:36 +00:00
mrg
56320bfe05
remove check for netbsd 1.5 without 5.0. it doesn't happen.
2017-12-16 07:59:14 +00:00
kre
a2da047f16
Finally (hopefully) return completely to the state where compat_linux is
...
enabled by default.
While here make it possible to enable this if already enabled, or disable
if already disabled, without error. Some minor KNF.
2017-12-10 00:43:05 +00:00
kre
9f22166744
Finish the previous change - as well as setting the default for these
...
compat modules back to enabled, stop forcing it to switch back to
disabled any time the module is init'd (which is truly barbaric behaviour.)
2017-12-08 15:31:13 +00:00
christos
8ff9f539e7
disable 32 bit signal ktrace records; 32 bit traced process produce 64 bit
...
trace records, the only record that we can't parse is that one :-)
XXX: pullup-8
2017-12-06 19:15:27 +00:00
christos
ce69bf4a1a
don't forget to convert the timespec.
...
XXX: pullup-8
2017-12-06 04:12:25 +00:00
christos
6d44e11a08
Make code look the same, in particular zero out the rest of the directory
...
record.
XXX: pullup-8
2017-12-03 15:23:30 +00:00
maxv
2180dcb46d
Fix uninitialized pointer, found by Mootja. Not a surprise in untested
...
code.
2017-12-03 12:53:52 +00:00
joerg
c08407dd01
Unbreak Linux emulation by default. While not loading it automatically
...
is somewhat sensible, breaking functionality of GENERIC is not and has
been objected to on a regular base.
2017-12-01 22:14:52 +00:00
christos
ea05286d92
add fo_name so we can identify the fileops in a simple way.
2017-11-30 20:25:54 +00:00
jmcneill
17b1a5f764
Add support for SIOCGIFGENERIC and SIOCSIFGENERIC ioctls.
2017-11-26 17:46:13 +00:00
martin
3f44d155bc
#idef the label next_ifa: just like the only goto using it.
2017-11-22 15:25:34 +00:00
ozaki-r
a78ad86cbf
Fix and make consistent of usages of psz/psref in ifconf variants
2017-11-22 10:19:14 +00:00
maxv
f5676abd4d
This should be "linux_sg_version", not "version".
2017-11-21 10:45:12 +00:00
kre
41a73baf28
unconst machine_arch32 for sysctl data .. pointed out by Riccardo Mottola
2017-10-31 16:10:25 +00:00
martin
9356c11652
PR kern/52681: fix msghdr conversion.
2017-10-31 12:43:56 +00:00