summaryrefslogtreecommitdiff
path: root/sys/compat/linux
AgeCommit message (Collapse)Author
2003-03-01Do the syscall_plain/syscall_fancy dance on ARM. Shaves a fair numberthorpej
of cycles off the syscall overhead. Since all COMPAT_LINUX platforms now support __HAVE_SYSCALL_INTERN, garbage-collect the LINUX_SYSCALL_FUNCTION stuff.
2003-02-27make compat_linux struct file interlock friendly.yamt
2003-02-23Remember the allocated ptimer object so that it won't leak.enami
2003-02-19update emul alarm syscalls to recent timer changesjdolecek
problem encountered by Luke Mewburn for linux emul, problem spot found by Enami Tsugutomo
2003-01-19Merge the nathanw_sa branch.thorpej
2003-01-18Regen for correct RCS ID.thorpej
2003-01-18Regen for correct RCS IDs.thorpej
2003-01-18Regen to get correct RCS IDs.thorpej
2003-01-18Regen to get correct RCS ID.thorpej
2003-01-18LWPifyjdolecek
2003-01-18Merge the nathanw_sa branch.thorpej
2003-01-18Regen: Merge the nathanw_sa branch.thorpej
2003-01-18Merge the nathanw_sa branch.thorpej
2003-01-18Regen: Merge the nathanw_sa branch.thorpej
2003-01-18Merge the nathanw_sa branch.thorpej
2003-01-06writable, not writeable.wiz
2002-12-22Use yield() for voluntary context switches.gmcgarry
2002-12-17Use the already-filled-in-but-not-used native syscall args insimonb
linux_sys_mknod().
2002-12-17Include "uvm/uvm_param.h" to get definition of PAGE_MASK required fortron
last change.
2002-12-16Don't allow non-page-aligned offsets! So dumb. From Jason Ish, thanks.christos
2002-12-11linux_sys_mknod(): if creating device file (i.e. !fifo case), maskjdolecek
the passed device number to only contain lower 16 bits; older glibc appears to pass some junk in upper bits sometimes, resulting in incorrect device entries being created Problem initially analyzed by Thor Lancelot Simon.
2002-12-08- Rename struct linux_ctx to linux_fpctx.junyoung
- KNF.
2002-12-06Fix namespace collision caused by recent change to "linux_machdep.h".tron
2002-12-06Fix compile error.junyoung
2002-12-06add a linux_rt_sigframe to support SA_SIGINFO, and use it when SA_SIGINFOchristos
is requested. This appears to be how linuxthreads decides which signal handler to use.
2002-11-29Get the dynamic interpreter location using emul_find_interp(), so thatjdolecek
it checks both the alternative/emul tree, and the non-emul tree. This makes it possible to run chrooted emulated binaries without need to setup shadow /emul tree within the chroot hierarchy. Only tested for COMPAT_LINUX, changes to other compat modules were mechanical. Fixes kern/19161 by Christian Groessler.
2002-11-29Patch that actually works for previous, from Jaromir Dolecek.fvdl
2002-11-29setsockopt(IPPROTO_IPV6, IPV6_V6ONLY, 0) for AF_INET6 sockets,itojun
to meet with the default behavior of linux. review: fvdl/christos XXX interactions with net.inet6.ip6.v6only?
2002-11-28minor KNF (indent)itojun
2002-11-26rename: s/sa_/<compat>sa/gchristos
2002-11-26rename sa_ -> linux_sa_christos
first attempt at providing siginfo_t to the signal handler.
2002-11-25Report ourselves as Linux 2.4.18 on powerpc, too.schmonz
2002-11-25Add ULL to a 64-bit integer constant.thorpej
2002-11-21g/c also mips-specific linux ELF copyargs function prototype andjdolecek
linux ELF defines, use generic Aux32Info instead this also adresses kern/19047 by FUKAUMI Naoki
2002-11-21back previous off; port can only supply LINUX_ELF_AUX_ENTRIES if it alsojdolecek
overrides the ELF copyargs function
2002-11-21g/c local definition of LINUX_ELF_AUX_ENTRIESjdolecek
2002-11-15Fix LINUX_ELF_AUX_ENTRIES sociability issue with Mips based portswdk
2002-11-13we now export information about CLK_TCK via ELF aux args, no need tojdolecek
hardcode '100' for times(2) anymore; use 'hz' instead
2002-11-13add generic linux compat ELF copyargs functionjdolecek
this gives: * linux sysconf(_SC_CLK_TCK) gives correct value for linux binaries (hz) even if hz != 100 * glibc gets proper information on real/effective uid and enables secure mode for suid binaries g/c LINUX_COPYARGS_FUNCTION, replaced by linux ELF copyargs function g/c alpha-specific linux ELF copyargs function and linux ELF defines
2002-11-13need to use Aux32Info explicitly, not AuxInfo alone, to workjdolecek
within context of kern/exec_conf.c
2002-11-13eliminate remaining LinuxAuxInfojdolecek
2002-11-13need to use LINUX_ELF_AUX_ENTRIES in LINUX_ELF_AUX_ARGSIZjdolecek
how this ever could have worked?
2002-11-13use generic ELF AuxInfo, no need to define a 'linux' variant herejdolecek
simplify LINUX_ELF_AUX_ARGSIZ definition, LINUX_SP_WRAP is always defined here
2002-11-13linux_sys_times(): if tms is NULL, just return the number of ticks sincejdolecek
boot, don't error out; this matches what Linux does Fixes problem reported in kern/19027
2002-11-01regen: nsysent set to 256jdolecek
2002-11-01nsysent set to 256, and use linux_sys_nosys()jdolecek
2002-11-01add appropriate nsysent, and use linux_sys_nosys as sys_nosysjdolecek
2002-11-01add appropriate nsysentjdolecek
2002-11-01add appropriate sys_nosys and nsysent (not that it matters here too much)jdolecek
2002-11-01set struct emul's nsysent to compat SYS_NSYSENT, not SYS_MAXSYSCALLjdolecek