Commit Graph

4981 Commits

Author SHA1 Message Date
christos
074b003f13 regen 2013-06-26 16:29:50 +00:00
christos
edba8af487 remove dups document more. From FreeBSD. Still there is disagreement as
to where sigreturn is.
2013-06-26 16:29:41 +00:00
riz
d68d012c39 UNIMP->UNIMPL 2013-06-25 04:10:17 +00:00
stacktic
a69c3c1394 Typo 2013-06-08 12:50:32 +00:00
christos
16ccb1669c handle timeouts like before. 2013-04-17 14:39:40 +00:00
christos
3d6e1ab522 Add some more futex gunk and explain why it does not work (yet).
Now skype aborts with a futex timeout, instead of a stack smash leading
to a SEGV.
2013-04-16 23:03:05 +00:00
christos
890d27ce13 alpha uses standard utimes. 2013-04-15 19:24:04 +00:00
pooka
801602f013 Fix COMPAT_LINUX32. 2013-04-09 08:00:20 +00:00
pooka
b84b9e7d01 regen for utimes 2013-04-08 20:58:21 +00:00
pooka
a2e804b2bc support utimes on non-alpha linux platforms 2013-04-08 20:54:47 +00:00
christos
3335fd3b29 regen 2013-03-29 01:14:09 +00:00
christos
52c1f729ca lwp park glue 2013-03-29 01:13:54 +00:00
christos
14184f73a9 compat glue for new lwp_park 2013-03-29 01:04:30 +00:00
christos
ab470567c6 compat glue for new lwp_park() 2013-03-29 01:02:49 +00:00
pooka
de7fce08a0 Fix stat64 by making it match i386. Other archs might still be broken,
but this is the one I could test.
2013-03-21 15:03:47 +00:00
christos
6b28c645f3 remove empty #if 2013-02-21 14:13:01 +00:00
skrll
a0267f89e6 Wrap sysctl_teardown(&compat_clog) with the appropriate #if defined()s 2013-02-21 10:22:04 +00:00
pgoyette
e8ac3e27f9 Move boottime50 and its associated sysctl into the compat module. As
noted on tech-kern.  Should fix PR/47579.

OK christos@

Will request pull-up to 6.0 in a few days.
2013-02-21 01:39:54 +00:00
mbalmer
c826b564cf exitting -> exiting. 2013-01-27 14:47:37 +00:00
christos
8a8a278a1c Simplify the ifdef mess. No functional context. 2013-01-22 01:47:20 +00:00
hannken
33458e7a0a netbsd32_posix_spawn_fa_alloc: use the right length for path allocation.
This error lead to memory pool corruption when freeing kmem with wrong size.
2013-01-15 17:14:11 +00:00
christos
dcd6f42793 Use copyin/copyout and linux-specific ifreq structures (they are the same
as the netbsd ones, but this disconnects them)
2013-01-11 19:01:36 +00:00
christos
d2e2a457fe add the futex PI commands (not implemented yet)
PI = Priotity Inheritance
2013-01-11 02:49:09 +00:00
dsl
e3bc48d8f4 Put the kernel function prototypes inside #ifdef _KERNEL 2013-01-02 18:50:07 +00:00
dsl
d208828f20 These files don't need compat/osf1/osf1_cvt.h 2013-01-02 18:48:22 +00:00
matt
449a824898 Fix inverted error check. 2012-12-13 15:16:57 +00:00
chs
e0ade4fb6d fix these *stat routines: don't pass a kernel stack buffer
to a function that will try to copyout() to it.
just do both layers of compat translation here.
2012-12-10 02:21:58 +00:00
njoly
1ebbf7b605 Move rusage computation to a new getrusage1() function. Adjust all
compat/emulations to make use of it.
2012-11-03 23:22:21 +00:00
apb
4502ad7c73 Also copy the sfd element of struct ptmget. This somehow
got lost between testing and commit.
2012-10-19 19:44:06 +00:00
apb
a4201c34b6 This file getscompiled even if COMPAT_60 is not defined, so
protect most of the contents with #ifdef COMPAT_60
2012-10-19 17:32:20 +00:00
apb
81fe99fc5d Fix NetBSD version number in a comment 2012-10-19 17:16:55 +00:00
apb
f6297d7676 Add COMPAT_60 versions of the TIOCPTMGET and TIOCPTSNAME ioctls. 2012-10-19 16:55:22 +00:00
christos
e7a665c4ec fix pre-5 stat system call structure which should have used the pre-64-time_t
timestamps!
2012-10-12 19:45:47 +00:00
christos
96cec820de compat hook. 2012-10-10 22:51:12 +00:00
christos
8e4cb02016 regen 2012-10-02 01:46:20 +00:00
christos
1ec743232e kernel portion of clock_nanosleep() 2012-10-02 01:44:27 +00:00
chs
2ccc2d5e7f remove a debug printf. 2012-09-23 01:14:40 +00:00
joerg
511ffdeb22 LINUX_RLIM_INFINITY doesn't fit into the value range for linux32, so
introduce a variant with correct value.
2012-09-22 22:34:02 +00:00
pooka
cc9292b397 regen for ppoll (and, apparently, SYCALL_ARG_PTR) 2012-09-19 21:24:36 +00:00
bouyer
f2b31f39d0 Add a pass-through ioctl for mfi(4), allowing userland to send raw commands
to the controller. This is compatible with the linux and FreeBSD
implementations.
Add the needed conversion for mfi ioctls in COMPAT_LINUX
Allocate a character major number, and create /dev/mfi0 by default
on amd64 and i386.
This allows (along with a hand-created /emul/linux/proc/devices file)
to run the MegaCLI linux binary provided by LSI.
2012-09-19 21:24:28 +00:00
pooka
c44c9c4953 emulate ppoll which is essentially our pollts 2012-09-19 21:19:14 +00:00
pooka
97fc939fe6 Rename structure members to make the code compile in environments
where "linux" is #defined.
2012-09-13 13:59:33 +00:00
matt
d31df9582e Add missing <machine/pcb.h> include 2012-09-04 00:08:59 +00:00
drochner
312c339026 Extend the CPU microcode update framework to support Intel x86 CPUs.
Contrary to the AMD implementation, it doesn't use xcalls to distribute
the update to all CPUs but relies on cpuctl(8) to bind itself to the
right CPU -- to keep it simple and avoid possible problems with
hyperthreading.
Also, it doesn't parse the vendor supplied file to pick the right
part for the present CPU model but relies on userland to prepare
files with specific filenames. I'll commit a pkg for this in a minute
(pkgsrc/sysutils/intel-microcode).
The ioctl interface changed; compatibility is provided (should be
limited to COMPAT_NETBSD6 as soon as this is available).
2012-08-29 17:13:21 +00:00
martin
53ae4e4337 Do not use a userland pointer, but the copied-in kernel version instead.
While there, reorder loop end condition for efficency.
Fixes net/fdpass tests on all archs with separate kernel/userland VA.
2012-08-18 15:25:15 +00:00
matt
f622e63a0c Rename process_frame to lwp_trapframe 2012-08-16 16:41:53 +00:00
skrll
3677c27bea Ensure correct alignment for stack buffers when long != 64-bit, e.g.
arm.
2012-08-06 08:27:49 +00:00
matt
0745a95c9d Only do COMPAT_NETBSD32 stuff if _LP64 2012-08-03 07:51:21 +00:00
matt
7a84f3ad29 Only set EXEC_32 if on LP64 platform. 2012-08-03 07:49:18 +00:00
matt
130ede3ac2 Make SCM_RIGHTS work correctly. (make sure to advance m if we've completely
dealt with, the next mbuf (if any) comes into play).
2012-07-30 07:31:16 +00:00