martin
ca5048732f
Use the right type in sizeof() for copyin() in adjtime
2015-07-12 14:06:52 +00:00
njoly
fc005ae43f
Handle case where compat_ifioctl() is called with ocmd != cmd, as found in
...
compat Linux. Do not crash by ensuring that oifr is correctly set.
Fix crash reported by Robert Swindells on tech-kern@.
2015-07-11 07:43:32 +00:00
christos
1ae3462030
PR/50021: Rin Okuyama: Fix linux affinity syscalls
...
XXX: pullup-7
2015-07-03 02:24:28 +00:00
christos
8661aac84a
whitespace police.
2015-06-30 11:56:27 +00:00
martin
90ce5da580
Fix reversed arguments in copyin(9), c.f. kern/sys_mqueue.c rev 1.39.
2015-06-30 06:01:04 +00:00
dholland
111d12c32a
add missing opt_nfsserver.h
2015-06-23 06:28:29 +00:00
dholland
ea5d0337c5
regen
2015-06-23 04:45:53 +00:00
dholland
91962d21a7
Don't reference netbsd32_nfssvc unless NFSSERVER is defined.
...
Fixes PR 49994.
2015-06-23 04:44:08 +00:00
mrg
8dc77cd94a
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.
2015-06-22 10:35:00 +00:00
mrg
bad97058ff
s/sparc64/native 64 bit/ in a comment...
2015-06-21 14:03:38 +00:00
martin
de7fce508e
Implement trivial conversion for pset_*
2015-06-21 12:54:33 +00:00
martin
44c9bcba16
Regen (pset_*)
2015-06-21 12:52:40 +00:00
martin
dd2a19c8fb
Add pset_* calls
2015-06-21 12:51:33 +00:00
martin
562fee01d0
Cosmetics: fill in details about some currently unimplemented syscalls.
2015-06-21 12:29:48 +00:00
martin
bcae189392
Move compat calls, requested by mrg@
2015-06-21 08:47:15 +00:00
martin
4a59e4a66e
Fix compat/versioning confusion and add the missing new versioned ones.
2015-06-21 08:32:36 +00:00
martin
b56ceb540f
regen (versioned mq_* calls)
2015-06-21 08:29:52 +00:00
martin
d86daecc04
Add the two versioned mq_* calls I missed in the last round
2015-06-21 08:28:36 +00:00
msaitoh
34476fc305
Add missing sys/kauth.h
2015-06-21 06:51:05 +00:00
martin
021a80b600
Implement modctl, sigqueinfo and mq_*
2015-06-20 19:58:40 +00:00
martin
95e5bbaeef
Regen (sigqueinfo, modctl, mq_*)
2015-06-20 19:56:24 +00:00
martin
2cfad306cd
Add sigqueuinfo, modctl and mq_*.
2015-06-20 19:55:07 +00:00
martin
59c35335bf
Implement posix_fallocate and fdiscard compat
2015-06-16 10:42:38 +00:00
martin
681b650f7f
Regen for posix_fallocate and fdiscard
2015-06-16 10:42:13 +00:00
martin
74085ed4a7
Add posix_fallocate and fdiscard
2015-06-16 10:41:34 +00:00
matt
93b5ceb986
Fix a comment.
2015-06-16 07:29:46 +00:00
christos
9198a032e7
we need compat_sysv now.
2015-06-13 22:17:04 +00:00
matt
d99aa73f39
Force *stackp to (uintptr_t) before possibly moving to a smaller pointer size.
2015-06-11 02:54:00 +00:00
roy
cb53724789
Add support for NPF ioctls.
2015-06-01 16:07:27 +00:00
roy
555a592508
Back out prior
...
gimpy1@ we don't #include driver .h in netbsd32
2015-06-01 00:15:07 +00:00
roy
643289594b
Revert prior change, optionally include PPPOE and SPPP support again.
...
Fix compat_netbsd32 module building by enforcing both.
2015-05-31 23:40:19 +00:00
roy
cf18a8ed2e
It seems we cannot depend on kernel config in modules, so always compile
...
in PPP(,oE) support.
2015-05-31 22:58:50 +00:00
roy
fc67b5dc14
Add support for PPPOEGETPARMS and PPPOESETPARMS.
2015-05-31 22:19:41 +00:00
roy
27cf308b62
Support SPPPGETAUTHCFG and SPPPSETAUTHCFG.
2015-05-31 22:16:16 +00:00
roy
c4fd6408ee
Fixup ifdrv parameter order.
2015-05-31 15:08:14 +00:00
njoly
dc12bdee6f
Regen for write(2) size argument fix.
2015-05-31 10:50:04 +00:00
njoly
e72b8ff8b4
Fix write(2) size argument (int -> size_t).
2015-05-31 10:49:27 +00:00
matt
aeae3560b3
Fix netbsd32 ifdrv copy routines to not use memcpy.
2015-05-27 21:56:43 +00:00
matt
0d007d00e3
Add missing SIOCGDRVSPEC32
...
Fix SIOCGETSGCNT32
2015-05-27 21:42:43 +00:00
rtr
d3607ec6c2
convert remaining linux_get_sa() users to use linux_get_sa_sb() and
...
pass the pointer to the sockaddr in msghdr.msg_name, while removing
the MSG_NAMEMBUF flag.
now that the original linux_get_sa() is unused remove it and to make
function names consistent again rename linux_get_sa_sb() to linux_get_sa().
2015-05-24 17:07:26 +00:00
rtr
04ca548b64
get rid of unnecessary use of mbuf to hold sockaddr, which was leaked...
...
while here change use to typed pointer sockaddr * instead of void * which
also lets us get rid of sasize variable used to track length (since we
can now use sa_len easily)
2015-05-23 15:27:55 +00:00
matt
95b88ec007
Use Elf_Sym
2015-05-20 07:24:49 +00:00
matt
0828cd07d4
Rework ksym defines and includes.
2015-05-20 04:37:45 +00:00
matt
cdbc8d4e56
Only define the KIOC netbsd32 stuff if the KIOC ioctls have been defined.
2015-05-20 04:09:37 +00:00
matt
d0c9fc59d2
Change the ksyms ioctls to more compat_netbsd32 friendly. Use _IOWR ioctls
...
to avoid extra copyouts. With these changes, netstat and vmstat work on
mips64eb with the normal N32 userland and a N64 kernel.
2015-05-20 02:45:20 +00:00
martin
c5617ba863
Implement SIOCIFGCLONERS for netbsd32, so ifconfig -C works.
2015-05-18 06:38:59 +00:00
matt
b2ae998f66
machine_arch on mips depends on the ABI so we need a routine to return
...
the right value.
2015-05-17 18:52:37 +00:00
matt
fd223cea42
Simplify a tiny bit.
2015-05-15 07:56:25 +00:00
matt
c3824aa5ce
In lwp_ctl, convert ptr to 32 bits before copyout.
2015-05-15 07:52:51 +00:00
matt
397eb68d6f
Fix _lwp_ctl for big endian 64-bit platforms. (little-endian too but not
...
as noticable).
2015-05-15 07:45:15 +00:00