summaryrefslogtreecommitdiff
path: root/sys/compat/linux32
AgeCommit message (Collapse)Author
2010-03-03When implementing "read directory", when there are too many empty entrieshe
in a row, and we need to try to read the next block, and have passed a non-NULL cookie pointer to VOP_READDIR, ensure that we free the cookie buffer before re-doing VOP_READDIR, so that we don't leak memory. This fix is similar to nfs_serv.c revisions 1.115 + 1.124. This should fix the long-standing problem observed by e.g. using Linux- emulated programs to take backup of servers, which is one of the problems which were reported in PR#42661. Thanks to pooka@ for the hints for traversing the VOP* layer.
2010-01-05Remove extra semicolon.mbalmer
2009-12-12Add missing semicolons after NETBSD32TOx_UAP macro calls.njoly
2009-12-10Add SIOCGIFMTU support.njoly
2009-12-10Do not give native requests to netbsd32_ioctl(), use the compatnjoly
netbsd32 equivalent instead.
2009-12-10Change u_long to vaddr_t/vsize_t in exec code where appropriate (mostlymatt
involves setregs and vmcmds). Should result in no code differences.
2009-11-24Regen for personality(2) update.njoly
2009-11-24Update personality(2) to match Linux definition where the argument is annjoly
unsigned long.
2009-11-23Use lwp_getpcb() in compat code, clean from struct user.rmind
2009-11-20Make linux32_msqid_ds l_msg_[src]time members use the right type,njoly
linux32_time_t.
2009-11-18Make compat linux/linux32 msgrcv_msgarg type member of typenjoly
long/netbsd32_long to match linux definition.
2009-11-18Make linux32 msgsnd/msgrcv use the netbsd32 syscalls instead of nativenjoly
ones, to ensure that msgbuf mtype member will be of the right type.
2009-11-18Kill noisy debug printf.njoly
2009-11-16Follow up commit to fix breakage that somehow passed by the compiler.joerg
2009-11-16Add SYSVMSG support for linux32.joerg
2009-11-13Return the result of copyout. Reminded by Niolas Joly.joerg
2009-11-13Provide SIOCGIFNAME.joerg
2009-11-11- selcommon/pollcommon: drop redundant l argument.rmind
- Use cached curlwp->l_fd, instead of p->p_fd. - Inline selscan/pollscan.
2009-11-04do_sys_wait(): fix previous by checking for ru != NULL. Noticed byrmind
Onno van der Linden. Also, remove redundant arguments (seems that was_zombie was not used since rev 1.177 ?).
2009-10-25Initialise struct emul members by name (it is readable now and one can searchrmind
them in the tree).
2009-08-18add the video ioctls so that the 32 bit skype works with videochristos
more commits to come
2009-07-22Make compat linux/linux32 getdents(2) fail with ENOTDIR instead ofnjoly
EINVAL when file descriptor does not refer to a directory.
2009-07-21Kill unreachable return statement.njoly
2009-06-08Fix defines against multiple inclusion protection (s/I386/AMD64).njoly
2009-06-08Regen for rt_queueinfo addition.njoly
2009-06-08Add rt_queueinfo(2) support.njoly
2009-06-05Regen for fstatfs.njoly
2009-06-05Add fstatfs syscall.njoly
2009-06-04Regen for stat/lstat/fstat syscalls.njoly
2009-06-04Add stat/lstat/fstat syscalls.njoly
2009-06-03Cleanup (no functional changes).njoly
Kill some unneeded variables and return stattement. Rename linux32_from_stat() to better bsd_to_linux32_stat64(). Fix some types.
2009-06-03Fix inverted lst_ino/__lst_ino assignment in linux32_from_stat().njoly
2009-06-02Regen for siggetmask/sigsetmask.njoly
2009-06-02Add siggetmask/sigsetmask syscalls.njoly
2009-06-02Make nice(2) return EPERM on error, not EACCES (from sys_setpriority).njoly
2009-05-29Add native to linux siginfo si_status translation, used on i386 andnjoly
amd64.
2009-04-27Add IPC_64 support to all semctl(2) commands, following correspondingnjoly
compat linux change.
2009-03-29Move the internal poll/select related API's to use timespec insteadchristos
of timeval (rides the uvm bump).
2009-03-18bzero -> memsetcegger
2009-03-15ansify function definitionscegger
2009-03-14ANSIfy another 1261 function definitions.dsl
The only ones left in sys are beyond by sed script! (or in sys/dist or sys/external) Mostly they have function pointer parameters.
2009-02-18Add IPC_64 support for all shmctl(2) commands, and reduce diffs withnjoly
compat linux version.
2009-01-30Regen for mincore(2).njoly
2009-01-30Add mincore syscall.njoly
2009-01-20add some debugging.christos
2009-01-20Regen for personality(2) addition.njoly
2009-01-20Add basic support for linux32 personality(2) syscall.njoly
2009-01-17Regen for wait4 update.njoly
2009-01-17Convert linux/linux32 wait(4) to use a compat50 rusage structure.njoly
2009-01-16Regen for compat 50 update.njoly