summaryrefslogtreecommitdiff
path: root/sys/modules/linux
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagrelease/4.8.0_cvscvs2svn2003-04-033-3/+3
| | | | | | | 'RELENG_4_8_0_RELEASE'. This commit was manufactured to restore the state of the 4.8-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
* MFC: ptrace(2) for Linux binaries.Alexander Kabaev2003-01-021-1/+1
| | | | Notes: svn path=/stable/4/; revision=108573
* MFC: Drop support for COPY.Ruslan Ermilov2002-08-071-1/+1
| | | | Notes: svn path=/stable/4/; revision=101469
* MFC: s/${INSTALL} -c/${INSTALL} ${COPY}/Ruslan Ermilov2002-07-181-1/+1
| | | | Notes: svn path=/stable/4/; revision=100323
* mdoc(7) police: fix markup.Ruslan Ermilov2001-12-211-2/+2
| | | | | | | Approved by: re (blanket) Notes: svn path=/stable/4/; revision=88340
* Mega MFC: This syncs-up the Linuxulator with -current and henceMarcel Moolenaar2001-11-051-30/+13
| | | | | | | | | | 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 linux_getcwd --Andrew Gallatin2001-10-181-4/+4
| | | | | | | | If the cwd isn't cached (__getcwd() fails), the cwd is looked up inside the kernel. Notes: svn path=/stable/4/; revision=85116
* I seemed to need to specifically include MACHINE_ARCH/linux asMatt Jacob2001-10-151-0/+1
| | | | | | | an include in CFLAGS in order to compile. Notes: svn path=/stable/4/; revision=84960
* MFC: MAN[1-9] -> MAN.Ruslan Ermilov2001-04-251-1/+1
| | | | Notes: svn path=/stable/4/; revision=75957
* Apply the recent mdoc(7) fixes to RELENG_4-only pages.Ruslan Ermilov2000-12-271-1/+2
| | | | Notes: svn path=/stable/4/; revision=70394
* MFC: enable linux ipc syscalls on alphaAndrew Gallatin2000-11-221-2/+2
| | | | Notes: svn path=/stable/4/; revision=69053
* MFC rev 1.46: Fix parallel build breakageMarcel Moolenaar2000-11-051-0/+1
| | | | | | | Approved by: jkh Notes: svn path=/stable/4/; revision=68348
* MFC: MI/MD split and allow the building of the syscall bits at compile timeDavid E. O'Brien2000-11-011-4/+17
| | | | Notes: svn path=/stable/4/; revision=68197
* Not all source files are applicable for the AlphaLinux version.David E. O'Brien2000-10-311-2/+6
| | | | Notes: svn path=/stable/4/; revision=68104
* MFC: rev 1.35-36(use sys/conf/kmod.mk to make /sys self contained)David E. O'Brien2000-07-071-1/+4
| | | | | | | rev 1.37 (use getassym script) Notes: svn path=/stable/4/; revision=62738
* Compile linux_genassym.c with ordinary ${CFLAGS}. The (small) need forBruce Evans2000-01-091-3/+3
| | | | | | | | | | | | | -U_KERNEL became negative when all all the genassym.c's were converted to be cross-built. Use "genassym ... > ${.TARGET}", not "genassym -o $@ ...", so that genassym(1) doesn't need to support -o. Removed duplicate -D_KERNEL from flags for compiling linux_locore.s. Notes: svn path=/head/; revision=55653
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"Peter Wemm1999-12-291-2/+2
| | | | | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come. Notes: svn path=/head/; revision=55206
* Use genassym(1) and <sys/assym.h> to generate assembler symbols.Marcel Moolenaar1999-12-231-8/+3
| | | | Notes: svn path=/head/; revision=55062
* Add a run of Linux ldconfig.Martin Cracauer1999-12-131-1/+10
| | | | Notes: svn path=/head/; revision=54541
* Removed special rules for building and cleaning device interface filesBruce Evans1999-11-281-5/+1
| | | | | | | | and empty options files. The rules are now generated automatically in bsd.kmod.mk. Cleaned up related things ($S and ${CLEANFILES}). Notes: svn path=/head/; revision=53846
* Replace 'i386' with '${MACHINE_ARCH}' in preparation of the developmentMarcel Moolenaar1999-11-121-1/+1
| | | | | | | of a linuxulator for Alpha. Notes: svn path=/head/; revision=53116
* Install linux.sh in /usr/sbin and not in /usr/bin.Marcel Moolenaar1999-09-031-1/+1
| | | | | | | | PR: 13545 Submitted by: Jose M. Alcaide <jose@we.lc.ehu.es> Notes: svn path=/head/; revision=50834
* Add MAINTAINER and remove the unused COMPAT_LINUX and VM_STACK defines.Marcel Moolenaar1999-08-281-1/+4
| | | | Notes: svn path=/head/; revision=50501
* $Id$ -> $FreeBSD$Peter Wemm1999-08-283-3/+3
| | | | Notes: svn path=/head/; revision=50477
* Add sysctl variables for the Linuxulator. These reside under `compat.linux' asMarcel Moolenaar1999-08-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | discussed on current. The following variables are defined (for now): osname (defaults to "Linux") Allow users to change the name of the OS as returned by uname(2), specially added for all those Linux Netscape users and statistics maniacs :-) We now have what we all wanted! osrelease (defaults to "2.2.5") Allow users to change the version of the OS as returned by uname(2). Since -current supports glibc2.1 now, change the default to 2.2.5 (was 2.0.36). oss_version (defaults to 198144 [0x030600]) This one will be used by the OSS_GETVERSION ioctl (PR 12917) which I can commit now that we have the MIB. The default version number is the lowest version possible with the current 'encoding'. A note about imprisoned processes (see jail(2)): These variables are copy-on-write (as suggested by phk). This means that imprisoned processes will use the system wide value unless it is written/set by the process. From that moment on, a copy local to the prison will be used. A note about the implementation: I choose to add a single pointer to struct prison, because I didn't like the idea of changing struct prison every time I come up with a new variable. As a side effect, the extra storage is only needed when a variable is set from within the prison. This also minimizes kernel bloat when the Linuxulator is not used; both compiled in or as a module. Reviewed by: bde (first version only) and phk Notes: svn path=/head/; revision=50465
* Sort xrefs.Mike Pritchard1999-08-191-3/+3
| | | | | | | Submitted by: Alexey Zelkin <phantom@cris.net> Notes: svn path=/head/; revision=50028
* "Linux emulator" -> "Linux image activator"Nik Clayton1999-08-041-4/+4
| | | | | | | | PR: docs/12882 Submitted by: des Notes: svn path=/head/; revision=49414
* Reference kld(4).Guy Helmer1999-04-231-2/+2
| | | | | | | Submitted by: Nathan Ahlstrom <nrahlstr@winternet.com> Notes: svn path=/head/; revision=45954
* Update for the man page. 4.0 is using KLD's not LKM's.Nick Hibma1999-02-221-5/+7
| | | | Notes: svn path=/head/; revision=44209
* Compile the linux module with the same flags as the kernel.Julian Elischer1999-01-261-2/+2
| | | | | | | | | (oops). Submitted by: "Richard Seaman, Jr." <dick@tar.com> Notes: svn path=/head/; revision=43243
* Install scripts without .sh suffix.Jordan K. Hubbard1998-11-121-2/+2
| | | | Notes: svn path=/head/; revision=41104
* Rename joy,ibcs2,linux to joy.sh,ibcs2.sh,linux.sh (via repo copy).Peter Wemm1998-11-112-14/+2
| | | | Notes: svn path=/head/; revision=41081
* We need to install the linux shell script or the lkm version willJordan K. Hubbard1998-11-101-4/+4
| | | | | | | still be in place. Notes: svn path=/head/; revision=41065
* Build linux_genassym static, this should help aout-to-elf buildsPeter Wemm1998-11-051-2/+2
| | | | Notes: svn path=/head/; revision=40923
* Do not overwrite the lkm versions of the install scripts for now. linuxPeter Wemm1998-11-051-4/+4
| | | | | | | works but ibcs2 has a load failure and joy doesn't look like it'll work. Notes: svn path=/head/; revision=40921
* Update to use kldload, no temporary files!Peter Wemm1998-11-052-10/+14
| | | | Notes: svn path=/head/; revision=40920
* Sample initial set of kld-ified modules. Not all have been completelyPeter Wemm1998-10-162-92/+5
| | | | | | | | | | converted yet. These are more of a starting point. This is NOT connected to the parent Makefile. OK'ed by jkh (who is ever so patiently waiting) Notes: svn path=/head/; revision=40440
* Unregister the glibc2 brand at module unload time.Alexander Langer1998-10-111-6/+23
| | | | | | | | | | | | Change the ELF registration/unregistration scheme to be less error prone. Adding a new brand requires a single addition to linux_brandlist instead of modifying linux_load(), linux_unload(), and linux_elf_init(). Approved by: jkh Reviewed by: msmith Notes: svn path=/head/; revision=40237
* Add support for glibc consumers using the new ld-linux.so.2 linker.Mike Smith1998-09-171-3/+4
| | | | | | | I can't say this was the most inspired fix, but it matches the design OK. Notes: svn path=/head/; revision=39437
* Load linux emulator lkm only when not already loaded. This avoidsMartin Cracauer1998-09-072-4/+18
| | | | | | | | | | leftover files in /tmp. Script slightly modified from PR version to use fewer processes. PR: i386/7725 Submitted by: Stefan Eggers seggers@semyam.dinoco.de Notes: svn path=/head/; revision=38911
* Added a `build-tools' target for internal tools. (linux_genassym mayBruce Evans1998-07-071-2/+4
| | | | | | | | | | | | not actually work for cross compiling, but that is another problem.) Honor LDFLAGS for building internal tools. (Tools should normally be built static to avoid problems with picking up target shared libraries. bsd.kmod doesn't set -static yet, and has some problems with `LDFLAGS=-static ...' in the environment.) Notes: svn path=/head/; revision=37461
* Fixed missing options headers. Options that affect LKMs shouldn'tBruce Evans1998-07-011-3/+6
| | | | | | | exist. Notes: svn path=/head/; revision=37324
* Fixed a race to build the `@' and `machine' symlinks early enoughBruce Evans1998-03-191-2/+2
| | | | | | | for `make -jN'. Notes: svn path=/head/; revision=34675
* Back out opt_diagnostic.h changes.Eivind Eklund1998-02-061-6/+3
| | | | Notes: svn path=/head/; revision=33143
* Make the LKMs handle DIAGNOSTIC as a new-style option.Eivind Eklund1998-02-041-3/+6
| | | | Notes: svn path=/head/; revision=33105
* Don't handle the `machine' symlink or related include paths here.Bruce Evans1998-02-011-8/+3
| | | | | | | bsd.kmod.mk now handles it more generally. Notes: svn path=/head/; revision=32987
* Handle COMPAT_43 define -> option change.Eivind Eklund1997-12-161-4/+7
| | | | Notes: svn path=/head/; revision=31783
* Merge 1.8.2.1 into -current.Jordan K. Hubbard1997-05-011-2/+2
| | | | Notes: svn path=/head/; revision=25342
* Make MOD_* macros almost consistent:Peter Dufault1997-04-061-2/+3
| | | | | | | | | | | | | | | | | | | | | | | Use the name argument almost the same in all LKM types. Maintain the current behavior for the external (e.g., modstat) name for DEV, EXEC, and MISC types being #name ## "_mod" and SYCALL and VFS only #name. This is a candidate for change and I vote just the name without the "_mod". Change the DISPATCH macro to MOD_DISPATCH for consistency with the other macros. Add an LKM_ANON #define to eliminate the magic -1 and associated signed/unsigned warnings. Add MOD_PRIVATE to support wcd.c's poking around in the lkm structure. Change source in tree to use the new interface. Reviewed by: Bruce Evans Notes: svn path=/head/; revision=24673
* Revert $FreeBSD$ back to $Id$Peter Wemm1997-02-225-5/+5
| | | | Notes: svn path=/head/; revision=22982