summaryrefslogtreecommitdiff
path: root/sys/compat/linux
AgeCommit message (Collapse)Author
2002-03-24Fix problem with assumption non-socket == vnode in F_{G,S}ETOWN different wayjdolecek
(revisions 1.47 & 1.48 effectively backed off): * for all but vnodes, just fallback to sys_fcntl(); assumming state of support for F_SETOWN/F_GETOWN and even hardcoding it here is not right (e.g. rev. 1.47 had this incorrect for DTYPE_PIPE) * fallback to sys_fcntl() also for vnodes which don't represent tty * don't need to use FILE_{,UN}USE() here, the code won't block while using the pointer * add/fix some comments
2002-03-23correct placement for FILE_UNUSE [from Izumi Tsutsui]christos
2002-03-23make this compile again (PS_STRINGS is gone).chs
2002-03-22sync with current reality and fix debugging.christos
2002-03-22gc debugging printfs.christos
2002-03-22nuke mmap2, cleanup mmap, add mprotectchristos
2002-03-22regenchristos
2002-03-22nuke mmap2, add mprotectchristos
2002-03-22regenchristos
2002-03-22add mprotect, nuke mmap2christos
2002-03-22regenchristos
2002-03-22add mprotect, nuke mmap2christos
2002-03-22regenchristos
2002-03-22nuke mmap2 add mprotectchristos
2002-03-22regen.christos
2002-03-22nuke mmap2, add mprotectchristos
2002-03-22regenchristos
2002-03-221. make sure lines don't wrapchristos
2. fix mmap and call it mmap like other ports do, not mmap2 3. implement fcntl64 4. implement mprotect because linux treats args slightly differently.
2002-03-22implement the locking calls for linux_file64.christos
2002-03-22- obey FILE_USE and FILE_UNUSEchristos
- don't assume that non sockets point to vnodes.
2002-03-21Don't bitch if we don't have support for a particular arch. This makes itchristos
easier to include this header from userland binaries [sysctl] on archs that don't support compat-linux without incurring ifdef hell.
2002-03-20emulation specific sysctls. Also change the kernel date to nov 11 as requestedchristos
by bad.
2002-03-19- Now that RT-signals fit, fix the array to deliver them. [i386 only].christos
- jdk-1.4 works perfectly now. :-)
2002-03-16make the stackgap_{init,alloc} functions MP friendly (i.e. pass struct proc *christos
in, instead of using curproc). While there add an optional size argument to stackgap_init.
2002-03-16Replace unused padding in struct linux_stat64 by lst_ino64 as found inpooka
linux's m68k struct stat64. makes linux compat compile again
2002-03-10__RCSID -> __KERNEL_RCSIDbjh21
2002-03-10Id -> NetBSD in RCSID (oops).bjh21
2002-02-20proper statfs emulation...christos
2002-02-20allow writing of kernel.version, kernel.osrelease, kernel.ostype... I mightchristos
revert that l8r if I come up with something better.
2002-02-19fix some swapped parametersis
2002-02-19Regen.nathanw
2002-02-19Add linux_sys_{get,set}rlimit.nathanw
2002-02-19Add LINUX_SA_NOCLDWAIT.nathanw
2002-02-19Add LINUX_SA_NOCLDWAIT, LINUX_SA_RESTORER, update LINUX_SA_ALLBITS. Linuxrafal
compat on mips builds again now.
2002-02-18Resolve alpha compile issues:christos
- bug with order in args in mask conversion md code. - flags can be both int and long on the alpha. kludge around that, by not passing pointers to the conversion function. - something is wrong with the toolchain look at the void * cast in copyout(). - sa_restorer is in a different place on the aplha. Deal with that, by not initializing it as before. XXX: this should be changed in the MD signal definition.
2002-02-18regenchristos
2002-02-18provide linux_sys_getrlimit and linux_sys_setrlimitchristos
2002-02-18Back off previous partially - make linux_release[] back 2.0.38jdolecek
and linux_version[] "#0 Sun Apr 1 11:11:11 MET 2000";". Add a BIG WARNING MESSAGE so that people won't break things changing this.
2002-02-18regenchristos
2002-02-18fix comment.christos
2002-02-18Regen: Use linux_sys_{g,s}setrlimit, remove linux_sys_ugetrlimit sincerafal
linux/mips doesn't seem to have one.
2002-02-17the MIPS stat64 struct doesn't have a separate ino64 field, but the ino fieldrafal
is a u_longlong.
2002-02-17There is no linux_sys_ugetrlimit on mips, so don't try building it (XXX: addsrafal
icky ifdefs)
2002-02-17Use linux_sys_{g,s}etrlimit() since there's a common implementation now; butrafal
MIPS has no sys_ugetrlimit, so don't declare it (209 is UNIMPL in the OSS Linux-mips tree)
2002-02-17Adapt for changes to linux_to_native_sigset() and native_to_linux_sigset().rafal
2002-02-17Add an lst_ino64 member to struct linux_stat64.bjh21
2002-02-17Adapt for changes to limux_old_extra_to_native_sigset() andbjh21
native_to_linux_old_extra_sigset().
2002-02-17Add LINUX_SA_NOCLDWAIT.bjh21
2002-02-17Regen.bjh21
2002-02-17getrlimit and setrlimit now have Linux-specific implementations. Use them.bjh21