aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linux
Commit message (Collapse)AuthorAgeFilesLines
* MFC:Marcel Moolenaar2002-02-111-12/+43
| | | | | | | | o 1.82: reimplement linux_ifname() to match address translation. o 1.83: return all AF_INET addresses for SIOCGIFCONF. Notes: svn path=/stable/4/; revision=90519
* MFC: LEAP, support for Linux "acu" private ioctls, fix 802.11 RFMONDoug Ambrisko2002-02-071-0/+14
| | | | | | | | | | | gap problem, support for Home key, add support for multiple SSIDs via ifmedia and some minor bug fixes, install header files in /usr/include/dev/an and in general sync with -current. Reviewed by: imp, David Wolfskill <david@catwhisker.org> Notes: svn path=/stable/4/; revision=90347
* MFC: Linux/alpha uses the same BSDish return mechanism we do forAndrew Gallatin2002-02-031-0/+4
| | | | | | | | | getpid, getuid, getgid and pipe, since they bootstrapped from OSF/1 and never cleaned up. Switch to the native syscalls on alpha so that the above functions work. Notes: svn path=/stable/4/; revision=90151
* Partial MFC of rev. 1.79.Marcel Moolenaar2002-01-231-4/+12
| | | | | | | | | | | | | | The I/F renaming as performed by the SIOCGIFCONF ioctl() is now in sync with current. The linux_ifname interface function has not been removed (as done in 1.79) or changed (as done in 1.82) due to the 11th hour in the 4.5 release cycle. This is fine as the function is not used at all ATM and thus will not break anything. An MFC will happen shortly after 4.5 is safely out the door. Approved by: re Notes: svn path=/stable/4/; revision=89677
* MFC: rev 1.77Marcel Moolenaar2001-12-061-3/+9
| | | | Notes: svn path=/stable/4/; revision=87440
* MFC: Fix a few problems with ioctl translation that stopped VMwareIan Dowse2001-11-222-5/+61
| | | | | | | from working. Notes: svn path=/stable/4/; revision=86778
* MFC 1.30: Force length of sockaddr to match family.Marcel Moolenaar2001-11-071-2/+25
| | | | Notes: svn path=/stable/4/; revision=86173
* Mega MFC: This syncs-up the Linuxulator with -current and henceMarcel Moolenaar2001-11-0513-1636/+2631
| | | | | | | | | | allows Linux_base-7 to work properly. tested on alpha by: gallatin (thanks!) tested on i386 by: marcel (among others probably) Notes: svn path=/stable/4/; revision=86095
* MFC:Paul Saab2001-11-031-1/+1
| | | | | | | | | | | | - Make MAXTSIZ, DFLDSIZ, MAXDSIZ, DFLSSIZ, MAXSSIZ, SGROWSIZ loader tunable. - Change TUNABLE_*_FETCH to have a return value of 0 if the variable was not found or successfully converted and true otherwise. - Use vm_offset_t instead of caddr_t to fix a warning and remove two casts in kern_exec.c. Notes: svn path=/stable/4/; revision=85936
* fix typo in earlier MFC: len (uninitialized) is checked when lenusedAndrew Gallatin2001-10-301-1/+1
| | | | | | | | | | should be checked. I don't know how that snuck in there.. pointed out by: Daniel McRobb <dwm@caimis.com> PR: 31637 Notes: svn path=/stable/4/; revision=85728
* Speculatively add these files to the RELENG_4 branch so that peopleMarcel Moolenaar2001-10-212-36/+36
| | | | | | | can test the MFC candidate (see -emulation). Notes: svn path=/stable/4/; revision=85267
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2001-10-201-0/+289
| | | | Notes: svn path=/stable/4/; revision=85217
* MFC linux_getcwd --Andrew Gallatin2001-10-182-52/+28
| | | | | | | | If the cwd isn't cached (__getcwd() fails), the cwd is looked up inside the kernel. Notes: svn path=/stable/4/; revision=85116
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2001-09-162-0/+586
| | | | Notes: svn path=/stable/4/; revision=83545
* MFC: Add linux_sched_get_priority_max() and linux_sched_get_priority_min().Alan Cox2001-08-271-0/+56
| | | | | | | Approved by: re (jkh) Notes: svn path=/stable/4/; revision=82403
* Added the linux_sysinfo function to implement sysinfo(2).Jim Pirzyk2001-07-301-0/+77
| | | | | | | | | | | | | | | | | | | MFC'ed the following files from HEAD: 1.41 +2 -2 src/sys/i386/linux/syscalls.master 1.104 +77 -1 src/sys/compat/linux/linux_misc.c 1.29 +1 -2 src/sys/i386/linux/linux_dummy.c 1.43 +1 -1 src/sys/i386/linux/linux_proto.h 1.38 +0 -0 src/sys/i386/linux/linux_syscall.h 1.44 +1 -1 src/sys/i386/linux/linux_sysent.c PR: kern/27759 Submitted by: henrich@sigbus.com Reviewed by: marcel Approved by: marcel Notes: svn path=/stable/4/; revision=80600
* MFC: fix linux_times() on alphaAndrew Gallatin2001-03-281-0/+5
| | | | | | | Approved by: jkh Notes: svn path=/stable/4/; revision=74899
* MFC: translate the flags in recvfrom and recvmsg from linux to bsd onesAssar Westerlund2001-03-041-2/+69
| | | | | | | | linux_socket.h: 1.1 linux_socket.c: 1.25 Notes: svn path=/stable/4/; revision=73462
* MFC: correct test ordering for first EISCONN.Jonathan Lemon2001-03-021-1/+1
| | | | Notes: svn path=/stable/4/; revision=73354
* MFC: r1.26; correct linux connect() emulation.Jonathan Lemon2001-03-011-51/+21
| | | | Notes: svn path=/stable/4/; revision=73289
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2000-12-231-0/+52
| | | | Notes: svn path=/stable/4/; revision=70319
* MFC: fix a reversed commentAndrew Gallatin2000-11-221-1/+1
| | | | Notes: svn path=/stable/4/; revision=69054
* MFC: use linux_connect() on alphaAndrew Gallatin2000-11-221-1/+9
| | | | Notes: svn path=/stable/4/; revision=69048
* MFC rev 1.43: Fix linux_getdents syscall.Marcel Moolenaar2000-11-081-1/+4
| | | | | | | Approved by: jkh Notes: svn path=/stable/4/; revision=68476
* Remove a stay include.David E. O'Brien2000-11-031-1/+0
| | | | | | | Approved by: JKH Notes: svn path=/stable/4/; revision=68282
* MFC: allow AlphaLinux compat bits to build.David E. O'Brien2000-11-0210-54/+199
| | | | | | | Approved by: JKH Notes: svn path=/stable/4/; revision=68265
* I took rev 1.55, when I should have taken rev 1.53.David E. O'Brien2000-11-011-2/+2
| | | | Notes: svn path=/stable/4/; revision=68198
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2000-10-191-0/+403
| | | | Notes: svn path=/stable/4/; revision=67319
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2000-10-081-0/+1529
| | | | Notes: svn path=/stable/4/; revision=66835
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2000-08-282-0/+2024
| | | | Notes: svn path=/stable/4/; revision=65163
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2000-08-255-0/+798
| | | | Notes: svn path=/stable/4/; revision=65079
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2000-08-234-0/+1869
| | | | Notes: svn path=/stable/4/; revision=65026
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2000-07-271-0/+95
| | | | Notes: svn path=/stable/4/; revision=63904
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2000-03-1312-7178/+0
| | | | Notes: svn path=/stable/4/; revision=57955
* Fix bug in linux_wait4 and linux_waitpid where garbage in the statusMarcel Moolenaar2000-03-091-0/+2
| | | | | | | | | | | argument could panic the kernel. Submitted by: Ian Dowse <iedowse@maths.tcd.ie> Prompted by: jkh, gallatin Approved by: prompters Notes: svn path=/head/; revision=57867
* Implement Linux BLKGETSIZE ioctl, and open the door to implementingNick Sayer2000-03-092-0/+42
| | | | | | | | | other BLK.* ioctls should the desire arize. Approved by: jkh (via dufault) Notes: svn path=/head/; revision=57858
* Fix accept(2) behavior in that accepted sockets don't inherit theMarcel Moolenaar2000-02-281-1/+20
| | | | | | | | | | | | | | | parents flags. Note on the PR: The PR contains another patch that's not being committed without further background information. The PR stays open for now. PR: 16946 (Victor A. Salaman <salaman@teknos.com>) Prompted by: msmith Indirect/implicit approval: jkh (shoot me if I'm wrong :-) Notes: svn path=/head/; revision=57564
* Avoid passing an uninitialized structure member to the realNick Sayer2000-02-011-0/+1
| | | | | | | | | | READSUBCHANNEL ioctl. This makes vmware work with SCSI CDROM drives. Approved by: jkh Notes: svn path=/head/; revision=56940
* Return Linux kernel version 2.2.12 by default. This is in lineMarcel Moolenaar2000-01-101-1/+1
| | | | | | | with linux_base-6.1. Notes: svn path=/head/; revision=55771
* Convert the filesystem type returned in struct statfs by syscallsMarcel Moolenaar2000-01-081-2/+51
| | | | | | | | | | | linux_statfs and linux_fstatfs. Linux binaries testing this expect the filesystem's magic number and not our vnode's tag. PR: 15425 Tested by: Vladimir N. Silyaev <vsilyaev@mindspring.com> Notes: svn path=/head/; revision=55629
* Introduce NDFREE (and remove VOP_ABORTOP)Eivind Eklund1999-12-153-1/+20
| | | | Notes: svn path=/head/; revision=54655
* Remove unused includes.Marcel Moolenaar1999-12-101-2/+0
| | | | | | | Found by: phk-scan Notes: svn path=/head/; revision=54399
* Fix LINT breakage.Archie Cobbs1999-12-051-1/+1
| | | | Notes: svn path=/head/; revision=54152
* Implement pluggable ioctl handlers.Marcel Moolenaar1999-12-043-1077/+1713
| | | | | | | | | | | | | | | | | | | | | | | | | | | Other modules can register and unregister ioctl handlers to extend the ioctls known by the Linuxulator. A recent application is the vmware port. The Linuxulator itself uses the new interface to register its handlers as well. Handlers for the following types of ioctls have been defined: cdrom console (=keyboard and VT handling) socket sound termio All ioctl related defines and declarations have been moved to a new file (linux_ioctl.h), except for the pluggable ioctl handler interface definition. While there, cleanup linux.h some more. linux.h and linux_ioctl.[ch] have been made to conform to style(9) as much as possible. Inspired and reviewed by: Vladimir N. Silyaev Notes: svn path=/head/; revision=54122
* Implement linux_sigaltstack.Marcel Moolenaar1999-11-301-11/+47
| | | | Notes: svn path=/head/; revision=53954
* add linuxulator wrapper for SNDCTL_DSP_GETODELAYAlfred Perlstein1999-11-291-0/+4
| | | | Notes: svn path=/head/; revision=53902
* Implement linux_ustat.Marcel Moolenaar1999-11-271-3/+56
| | | | | | | Reviewed by: bde Notes: svn path=/head/; revision=53758
* Implement fdatasync in terms of fsync. The regeneration of proto.h,Marcel Moolenaar1999-11-261-0/+11
| | | | | | | | syscall.h and sysent.h was probably forgotten after the last change syscalls.master. Notes: svn path=/head/; revision=53713
* simplify check for device.Poul-Henning Kamp1999-11-081-1/+1
| | | | Notes: svn path=/head/; revision=53009
* Use fo_stat() rather than Yet Another duplication of kern_descrip.c's statPeter Wemm1999-11-081-15/+1
| | | | | | | code. Notes: svn path=/head/; revision=52986