summaryrefslogtreecommitdiff
path: root/sys/compat/linux/common
AgeCommit message (Collapse)Author
2000-07-13Add a comment about the hzto() return value.thorpej
2000-06-29remove include of <vm/vm.h>mrg
2000-06-26remove redundant vm includesmrg
2000-06-26remove redundant vm includes.mrg
2000-05-28Rather than starting init and creating kthreads by forking and thenthorpej
doing a cpu_set_kpc(), just pass the entry point and argument all the way down the fork path starting with fork1(). In order to avoid special-casing the normal fork in every cpu_fork(), MI code passes down child_return() and the child process pointer explicitly. This fixes a race condition on multiprocessor systems; a CPU could grab the newly created processes (which has been placed on a run queue) before cpu_set_kpc() would be performed.
2000-05-03Remove junk after #undef.thorpej
2000-04-11add a new function vn_marktext() for exec code to let others knowchs
that the vnode is now being used as process text.
2000-04-10sparc -> __sparc__chs
2000-03-30Kill register declarations.augustss
2000-03-28Centralise the declarations of cpu_model, machine, machine_arch,simonb
osrelease, and ostype and remove "extern char foo[];" (for hostname and domainname too). Also delete redunctant decl of boottime in kern_info_43.c.
2000-03-23New callout mechanism with two major improvements over the oldthorpej
timeout()/untimeout() API: - Clients supply callout handle storage, thus eliminating problems of resource allocation. - Insertion and removal of callouts is constant time, important as this facility is used quite a lot in the kernel. The old timeout()/untimeout() API has been removed from the kernel.
2000-03-18Add linux_sys_reboot.erh
2000-03-18Add defines for linux_sys_reboot.erh
2000-03-18Adjust linux_sys_ptrace_args to reflect inconsistencies across ports. ↵erh
Temporarily ifndef alpha around getfsuid since Linux/alpha doesn't seem to have it.
2000-03-13Fix doubled 'the's in comments.soren
2000-02-17Update patch from Witold Wnuk in PR 9335 to solve potential securityabs
issue noted by tls.
2000-02-03Add Linux fsuid system calls - from Witold J. Wnuk in PR kern/9335abs
2000-01-12Improve emulation of SIOCGIFHWADDR ioctl:jdolecek
* when finding an interface, try the real name first before faking eth* * Linux kernel returns ENODEV if the request goes to unknown interface, so do the same here This change makes Linux ICA client work. Patch sent by Zdenek Salvet <salvet@ics.muni.cz> in kern/9169.
1999-12-16Move MI parts of ptrace(2) emulation to "linux_misc.c".tron
1999-12-11Architecture independent definitions for Linux's ptrace(2) system call.tron
1999-12-05Add proper stub code to make emulation of Linux's pread(2) and pwrite(2)tron
work. Fixes PR kern/8945 by Dave Sainty.
1999-12-04Add bound checks in emulation of kill(2). This fixes the last part oftron
PR kern/8904 by Dave Sainty.
1999-12-04Add bound checks in emulation of sigaction(2). This fixes a part oftron
PR kern/8904 by Dave Sainty.
1999-12-04Fix typo in last commit.tron
1999-12-04Adapt to renamed system call argument.tron
1999-12-04Add bound checks in emulation of signal(2) and return SIG_ERR on failure.tron
This fixes a part of PR kern/8904 by Dave Sainty.
1999-12-04Allow signal numbers upto 63 in clone(2) emulation.tron
1999-11-02undo confusion.erh
1999-10-29Emulate the Linux DVD_* ioctls(2). This gets us 90% of the way to running themycroft
LiViD DVD player. (See forthcoming mail to current-users.) XXX NOTE: We should do something to probe capabilities, rather than allowing these ioctls on any device.
1999-10-25Update to match new SVR4-style definition names in <sys/exec_elf.h>.kleink
1999-10-21Add #include <machine/cpu.h> for need_resched() macro.itohy
1999-10-11Fix typos in the license notice.thorpej
1999-10-05After linux_sys_clone() has been moved to "linux_sched.c" we don't needtron
to include "linux_sched.h" any more.
1999-10-04Handle the newer, larger sigset_t Linux now uses.fvdl
1999-10-04Add emulation for scheduler related syscalls. Although they are dummiestron
even under Linux the posix thread library for "glibc2" requires them.
1999-09-30NetBSD's signal number 11 is SIGSYS nog SIGSEGV.tron
1999-09-08Use DEBUG_LINUX exclusively. Fixes PR#7684.jdolecek
1999-08-25Update for new msgctl()/semctl()/shmctl() calls.thorpej
1999-08-16Add emulation for Linux stime(2) required for MuPAD's X11 interface.tron
1999-07-17implement emulation of SIOCGIFHWADDR, PR 7997jtk
1999-07-17add LINUX_SIOCGIFHWADDRjtk
1999-07-15A few things to make the Linux clone(2) emulation work a bit better:thorpej
- When the exit signal is specified to be 0, don't just assume they meant SIGCHLD. In the Linux world, this appears to mean "don't deliver an exit signal at all". - Simplify P_EXITSIG(); don't check against initproc here, just change the exit signal to SIGCHLD if reparenting to initproc. A very simple clone(2) test program now works, and the MpegTV package starts, but doesn't run properly yet (I believe there is a separate bug which keeps it from working properly).
1999-05-27Add support for SETALL and GETALL to the Linux emulation of semctl()tron
and improve handling of SETVAL. Patches supplied by YAMAMOTO Jiro in PR kern/7621.
1999-05-17Oops, completely forgot to translate the exit signal in clone(2).thorpej
1999-05-14Emulate the Linux {get,set}resgid(2) system calls.thorpej
1999-05-14Emulate the Linux {get,set}resuid(2) system calls.thorpej
1999-05-13Emulate the Linux clone(2) system call.thorpej
1999-05-13Fully emulate the Linux wait4(2) system call, including the __WCLONEthorpej
flag (which is equivalent to our new WALTSIG).
1999-05-13Define the flags used by the Linux wait4() system call.thorpej
1999-05-12Add scheduling-related definitions. Currently we have the flags passedthorpej
to the __clone(2) system call.