Skip site navigation (1)Skip section navigation (2)

CVS log for src/sys/modules/linux/Makefile

[BACK] Up to [FreeBSD] / src / sys / modules / linux

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.85.2.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 11 04:20:22 2011 UTC (2 months, 4 weeks ago) by kensmith
Branches: RELENG_9_0
CVS tags: RELENG_9_0_0_RELEASE
Diff to: previous 1.85.2.1: preferred, colored
Changes since revision 1.85.2.1: +0 -0 lines
SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)

Revision 1.85.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 23 00:51:37 2011 UTC (4 months, 2 weeks ago) by kensmith
Branches: RELENG_9
CVS tags: RELENG_9_0_BP
Branch point for: RELENG_9_0
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +0 -0 lines
SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)

Revision 1.80.2.3: download - view: text, markup, annotated - select for diffs
Wed Mar 2 19:36:06 2011 UTC (11 months, 1 week ago) by dchagin
Branches: RELENG_8
Diff to: previous 1.80.2.2: preferred, colored; branchpoint 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80.2.2: +1 -1 lines
SVN rev 219193 on 2011-03-02 19:36:06Z by dchagin

MFC r218616:
Move linux_clone(), linux_fork(), linux_vfork() to a MI path.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Sun Feb 20 19:33:47 2011 UTC (11 months, 2 weeks ago) by dim
Branches: MAIN
CVS tags: RELENG_9_BP, HEAD
Branch point for: RELENG_9
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +5 -0 lines
SVN rev 218893 on 2011-02-20 19:33:47Z by dim

Upgrade our copy of llvm/clang to r126079, from upstream's trunk.

This contains many improvements, primarily better C++ support, an
integrated assembler for x86 and support for -pg.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:17:12 2011 UTC (11 months, 3 weeks ago) by dchagin
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +1 -1 lines
SVN rev 218616 on 2011-02-12 18:17:12Z by dchagin

Move linux_clone(), linux_fork(), linux_vfork() to a MI path.

Revision 1.72.2.3.4.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:10:29 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_7_4
CVS tags: RELENG_7_4_0_RELEASE
Diff to: previous 1.72.2.3: preferred, colored; next MAIN 1.72.6.1: preferred, colored
Changes since revision 1.72.2.3: +0 -0 lines
SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)

Revision 1.80.2.2.4.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:09:25 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_8_2
CVS tags: RELENG_8_2_0_RELEASE
Diff to: previous 1.80.2.2: preferred, colored; next MAIN 1.80.2.3: preferred, colored
Changes since revision 1.80.2.2: +0 -0 lines
SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)

Revision 1.83: download - view: text, markup, annotated - select for diffs
Mon Aug 23 06:13:29 2010 UTC (17 months, 2 weeks ago) by imp
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +4 -4 lines
SVN rev 211690 on 2010-08-23 06:13:29Z by imp

MFtbemd:

Use MACHINE_CPUARCH in preference to MACHINE_ARCH.  The former is the
source code location of the machine, the latter the binary output.  In
general, we want to use MACHINE_CPUARCH instead of MACHINE_ARCH unless
we're tesitng for a specific target.  The isn't even moot for
i386/amd64 where there's momemntum towards a MACHINE_CPUARCH == x86,
although a specific cleanup for that likely would be needed...

Revision 1.80.2.2.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 14 02:09:06 2010 UTC (19 months, 4 weeks ago) by kensmith
Branches: RELENG_8_1
CVS tags: RELENG_8_1_0_RELEASE
Diff to: previous 1.80.2.2: preferred, colored; next MAIN 1.80.2.3: preferred, colored
Changes since revision 1.80.2.2: +0 -0 lines
SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)

Revision 1.82: download - view: text, markup, annotated - select for diffs
Mon May 24 07:04:00 2010 UTC (20 months, 2 weeks ago) by wkoszek
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +1 -1 lines
SVN rev 208486 on 2010-05-24 07:04:00Z by wkoszek

Bring USB fixes for linux(4).

Intention of this commit is to let us take a full advantage
of libusb(8) ported to Linux. This decreases a possibility of getting
any collisions within ioctl() "command" space, especially with
relation to  LINUX_SNDCTL_SEQ... stuff.

Basically, we provide commands, that will be mapped in the kernel
to correct ones and forward those to the USB layer. Port enabling
functionality brought with this patch is here:

	http://www.freebsd.org/cgi/query-pr.cgi?pr=146895

Bump __FreeBSD_version to catch, since which version installing a
port makes sense.

This patch should bring no regressions. So far, only i386 is tested.

Tested by:	thompsa@
Reviewed by:	thompsa@
OKed by:	netchild@

Revision 1.80.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 7 02:24:41 2010 UTC (22 months ago) by nwhitehorn
Branches: RELENG_8
CVS tags: RELENG_8_2_BP, RELENG_8_1_BP
Branch point for: RELENG_8_2, RELENG_8_1
Diff to: previous 1.80.2.1: preferred, colored; branchpoint 1.80: preferred, colored
Changes since revision 1.80.2.1: +1 -1 lines
SVN rev 206336 on 2010-04-07 02:24:41Z by nwhitehorn

MFC r205014,205015:

Provide groundwork for 32-bit binary compatibility on non-x86 platforms,
for upcoming 64-bit PowerPC and MIPS support. This renames the COMPAT_IA32
option to COMPAT_FREEBSD32, removes some IA32-specific code from MI parts
of the kernel and enhances the freebsd32 compatibility code to support
big-endian platforms.

This MFC is required for MFCs of later changes to the freebsd32
compatibility from HEAD.

Requested by:	kib

Revision 1.81: download - view: text, markup, annotated - select for diffs
Thu Mar 11 14:49:06 2010 UTC (23 months ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +1 -1 lines
SVN rev 205014 on 2010-03-11 14:49:06Z by nwhitehorn

Provide groundwork for 32-bit binary compatibility on non-x86 platforms,
for upcoming 64-bit PowerPC and MIPS support. This renames the COMPAT_IA32
option to COMPAT_FREEBSD32, removes some IA32-specific code from MI parts
of the kernel and enhances the freebsd32 compatibility code to support
big-endian platforms.

Reviewed by:	kib, jhb

Revision 1.72.2.3.2.1: download - view: text, markup, annotated - select for diffs
Wed Feb 10 00:26:20 2010 UTC (2 years ago) by kensmith
Branches: RELENG_7_3
CVS tags: RELENG_7_3_0_RELEASE
Diff to: previous 1.72.2.3: preferred, colored; next MAIN 1.72.6.1: preferred, colored
Changes since revision 1.72.2.3: +0 -0 lines
SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)

Revision 1.80.2.1.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 25 01:10:29 2009 UTC (2 years, 3 months ago) by kensmith
Branches: RELENG_8_0
CVS tags: RELENG_8_0_0_RELEASE
Diff to: previous 1.80.2.1: preferred, colored; next MAIN 1.80.2.2: preferred, colored
Changes since revision 1.80.2.1: +0 -0 lines
SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)

Revision 1.80.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 3 08:13:06 2009 UTC (2 years, 6 months ago) by kensmith
Branches: RELENG_8
CVS tags: RELENG_8_0_BP
Branch point for: RELENG_8_0
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +0 -0 lines
SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)

Revision 1.72.2.3: download - view: text, markup, annotated - select for diffs
Wed Jun 17 14:45:58 2009 UTC (2 years, 7 months ago) by des
Branches: RELENG_7
CVS tags: RELENG_7_4_BP, RELENG_7_3_BP
Branch point for: RELENG_7_4, RELENG_7_3
Diff to: previous 1.72.2.2: preferred, colored; branchpoint 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.2.2: +4 -1 lines
SVN rev 194365 on 2009-06-17 14:45:58Z by des

merge r192852, r192855: opt_apic.h is only used on i386.

Revision 1.72.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 15 20:12:27 2009 UTC (2 years, 7 months ago) by n_hibma
Branches: RELENG_7
Diff to: previous 1.72.2.1: preferred, colored; branchpoint 1.72: preferred, colored
Changes since revision 1.72.2.1: +1 -1 lines
SVN rev 194261 on 2009-06-15 20:12:27Z by n_hibma

Add opt_hwpmc_hooks.h to fix building individual modules from
/sys/modules.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Mon Jun 8 19:57:35 2009 UTC (2 years, 8 months ago) by bz
Branches: MAIN
CVS tags: RELENG_8_BP
Branch point for: RELENG_8
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +1 -1 lines
SVN rev 193744 on 2009-06-08 19:57:35Z by bz

After r193232 rt_tables in vnet.h are no longer indirectly dependent on
the ROUTETABLES kernel option thus there is no need to include opt_route.h
anymore in all consumers of vnet.h and no longer depend on it for module
builds.

Remove the hidden include in flowtable.h as well and leave the two
explicit #includes in ip_input.c and ip_output.c.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Sat Jun 6 17:01:44 2009 UTC (2 years, 8 months ago) by rwatson
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +1 -1 lines
SVN rev 193588 on 2009-06-06 17:01:44Z by rwatson

Remove opt_mac.h generation for various kernel modules that no longer
require it.

Submitted by:	pjd

Revision 1.78: download - view: text, markup, annotated - select for diffs
Tue May 26 20:57:19 2009 UTC (2 years, 8 months ago) by des
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +4 -1 lines
SVN rev 192855 on 2009-05-26 20:57:19Z by des

Move opt_apic.h closer to the "XXX: for assym.s" comment.

Suggested by:	jhb
MFC after:	1 week

Revision 1.77: download - view: text, markup, annotated - select for diffs
Tue May 26 20:22:03 2009 UTC (2 years, 8 months ago) by des
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +2 -2 lines
SVN rev 192852 on 2009-05-26 20:22:03Z by des

opt_apic.h is i386-only.

MFC after:	1 week

Revision 1.72.2.1: download - view: text, markup, annotated - select for diffs
Tue May 26 13:37:05 2009 UTC (2 years, 8 months ago) by dchagin
Branches: RELENG_7
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +3 -0 lines
SVN rev 192806 on 2009-05-26 13:37:05Z by dchagin

Merge r191877 from HEAD to stable/7:

Add preliminary KTR(9) support to the linux emulation layer.

Approved by:	kib (mentor)

Revision 1.76: download - view: text, markup, annotated - select for diffs
Thu May 7 10:01:05 2009 UTC (2 years, 9 months ago) by dchagin
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +3 -0 lines
SVN rev 191877 on 2009-05-07 10:01:05Z by dchagin

Add preliminary KTR(9) support to the linux emulation layer.

Approved by:	kib (mentor)
MFC after:	1 month

Revision 1.72.8.1: download - view: text, markup, annotated - select for diffs
Wed Apr 15 03:14:26 2009 UTC (2 years, 9 months ago) by kensmith
Branches: RELENG_7_2
CVS tags: RELENG_7_2_0_RELEASE
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +0 -0 lines
SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)

Revision 1.75: download - view: text, markup, annotated - select for diffs
Thu Feb 12 14:44:15 2009 UTC (2 years, 11 months ago) by n_hibma
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +1 -1 lines
SVN rev 188516 on 2009-02-12 14:44:15Z by n_hibma

Fix a few problems related to building modules in /sys/modules (not
checked whether this applies to builds in /sys/*/compile/* as well):

- Create empty opt_*.h files were missing
- Hook up svr4 to the build. It compiles fine here, so no reason to
  disconnect it in the Makefile. were missing
  - Hook up svr4 to the build. It compiles fine here, so no reason to
    disconnect it in the Makefile.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Tue Dec 2 21:37:28 2008 UTC (3 years, 2 months ago) by bz
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +1 -1 lines
SVN rev 185571 on 2008-12-02 21:37:28Z by bz

Rather than using hidden includes (with cicular dependencies),
directly include only the header files needed. This reduces the
unneeded spamming of various headers into lots of files.

For now, this leaves us with very few modules including vnet.h
and thus needing to depend on opt_route.h.

Reviewed by:	brooks, gnn, des, zec, imp
Sponsored by:	The FreeBSD Foundation

Revision 1.72.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 25 02:59:29 2008 UTC (3 years, 2 months ago) by kensmith
Branches: RELENG_7_1
CVS tags: RELENG_7_1_0_RELEASE
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +0 -0 lines
SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)

Revision 1.63.2.3.4.1: download - view: text, markup, annotated - select for diffs
Thu Oct 2 02:57:24 2008 UTC (3 years, 4 months ago) by kensmith
Branches: RELENG_6_4
CVS tags: RELENG_6_4_0_RELEASE
Diff to: previous 1.63.2.3: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.2.3: +0 -0 lines
SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)

Revision 1.73: download - view: text, markup, annotated - select for diffs
Mon Sep 1 23:59:00 2008 UTC (3 years, 5 months ago) by imp
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +1 -1 lines
SVN rev 182668 on 2008-09-01 23:59:00Z by imp

Per email to arch@ a little while ago (that was greeted with silence),
prefer the more common > ${.TARGET} over > opt_foo.h in modules
makefiles.

Revision 1.63.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 29 15:04:26 2007 UTC (4 years, 5 months ago) by netchild
Branches: RELENG_6
CVS tags: RELENG_6_4_BP, RELENG_6_3_BP, RELENG_6_3_0_RELEASE, RELENG_6_3
Branch point for: RELENG_6_4
Diff to: previous 1.63.2.2: preferred, colored; branchpoint 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.2.2: +1 -1 lines
MFC:
 - sync linuxulator:
   * add syscalls:
     + stat            (i386, amd64)
     + iopl            (i386, amd64)
     + mprotect        (i386)
     + rt_sigpending   (i386)
     + rt_sigtimedwait (i386)
     + statfs64        (i386, amd64)
     + utimes          (i386, amd64)
     + settimeofday    (amd64)
     + clock_*         (i386, amd64)
   * de-COMPAT_43-ify:
     + sethostname
     + lstat
     + ftruncate
     + nanosleep (i386)
   * add more dummy syscalls so that we know what is needed

Tested by:	bsam (on i386/amd64 with LTP 20070630)

Revision 1.72: download - view: text, markup, annotated - select for diffs
Wed May 23 15:45:52 2007 UTC (4 years, 8 months ago) by kib
Branches: MAIN
CVS tags: RELENG_7_BP, RELENG_7_2_BP, RELENG_7_1_BP, RELENG_7_0_BP, RELENG_7_0_0_RELEASE, RELENG_7_0
Branch point for: RELENG_7_2, RELENG_7_1, RELENG_7
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +1 -1 lines
Fix the dependency for the linux_support.s, explicitely add linux_assym.h.

Reported by:	rwatson
In collaboration with:	rdivacky
Sponsored by:	Google SoC 2007

Revision 1.71: download - view: text, markup, annotated - select for diffs
Wed May 23 08:33:06 2007 UTC (4 years, 8 months ago) by kib
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +10 -2 lines
Move futex support code from <arch>/support.s into linux compat directory.
Implement all futex atomic operations in assembler to not depend on the
fuword() that does not allow to distinguish between -1 and failure return.
Correctly return 0 from atomic operations on success.

In collaboration with:	rdivacky
Tested by:	Scot Hetzel <swhetzel gmail com>, Milos Vyletel <mvyletel mzm cz>
Sponsored by:	Google SoC 2007

Revision 1.70: download - view: text, markup, annotated - select for diffs
Sun Oct 29 14:02:39 2006 UTC (5 years, 3 months ago) by netchild
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +1 -1 lines
Backout the linux aio stuff. Several problems where identified and the
dynamic nature (if no native aio code is available, the linux part
returns ENOSYS because of missing requisites) should be solved differently
than it is.

All this will be done in P4.

Not included in this commit is a backout of the changes to the native aio
code (removing static in some places). Those changes (and some more) will
also be needed when the reworked linux aio stuff will reenter the tree.

Requested by:	rwatson
Discussed with:	rwatson

Revision 1.69: download - view: text, markup, annotated - select for diffs
Sun Oct 15 14:22:14 2006 UTC (5 years, 3 months ago) by netchild
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +7 -5 lines
MFP4 (with some minor changes):

Implement the linux_io_* syscalls (AIO). They are only enabled if the native
AIO code is available (either compiled in to the kernel or as a module) at
the time the functions are used. If the AIO stuff is not available there
will be a ENOSYS.

From the submitter:
---snip---
DESIGN NOTES:

1. Linux permits a process to own multiple AIO queues (distinguished by
   "context"), but FreeBSD creates only one single AIO queue per process.
   My code maintains a request queue (STAILQ of queue(3)) per "context",
   and throws all AIO requests of all contexts owned by a process into
   the single FreeBSD per-process AIO queue.

   When the process calls io_destroy(2), io_getevents(2), io_submit(2) and
   io_cancel(2), my code can pick out requests owned by the specified context
   from the single FreeBSD per-process AIO queue according to the per-context
   request queues maintained by my code.

2. The request queue maintained by my code stores contrast information between
   Linux IO control blocks (struct linux_iocb) and FreeBSD IO control blocks
   (struct aiocb). FreeBSD IO control block actually exists in userland memory
   space, required by FreeBSD native aio_XXXXXX(2).

3. It is quite troubling that the function io_getevents() of libaio-0.3.105
   needs to use Linux-specific "struct aio_ring", which is a partial mirror
   of context in user space. I would rather take the address of context in
   kernel as the context ID, but the io_getevents() of libaio forces me to
   take the address of the "ring" in user space as the context ID.

   To my surprise, one comment line in the file "io_getevents.c" of
   libaio-0.3.105 reads:

             Ben will hate me for this

REFERENCE:

1. Linux kernel source code:   http://www.kernel.org/pub/linux/kernel/v2.6/
   (include/linux/aio_abi.h, fs/aio.c)

2. Linux manual pages:         http://www.kernel.org/pub/linux/docs/manpages/
   (io_setup(2), io_destroy(2), io_getevents(2), io_submit(2), io_cancel(2))

3. Linux Scalability Effort:   http://lse.sourceforge.net/io/aio.html
   The design notes:           http://lse.sourceforge.net/io/aionotes.txt

4. The package libaio, both source and binary:
       http://rpmfind.net/linux/rpm2html/search.php?query=libaio
   Simple transparent interface to Linux AIO system calls.

5. Libaio-oracle:              http://oss.oracle.com/projects/libaio-oracle/
   POSIX AIO implementation based on Linux AIO system calls (depending on
   libaio).
---snip---

Submitted by:	Li, Xiao <intron@intron.ac>

Revision 1.68: download - view: text, markup, annotated - select for diffs
Tue Aug 15 13:01:36 2006 UTC (5 years, 5 months ago) by netchild
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +18 -13 lines
- Add the new files to the linux module.
- Prepare the modules for build on amd64, but don't build them there as
  part of the kernel build yet. The code for the missing symbols on amd64
  isn't committed and it may be solved differently.

Sponsored by:	Google SoC 2006
Submitted by:	rdivacky

Revision 1.62.4.1: download - view: text, markup, annotated - select for diffs
Sun Jul 9 19:49:26 2006 UTC (5 years, 7 months ago) by markm
Branches: RELENG_5
Diff to: previous 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +0 -2 lines
MFC: keep the maintainers consistent with HEAD.

Revision 1.63.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 15 15:52:04 2006 UTC (5 years, 7 months ago) by ambrisko
Branches: RELENG_6
CVS tags: RELENG_6_2_BP, RELENG_6_2_0_RELEASE, RELENG_6_2
Diff to: previous 1.63.2.1: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.1: +1 -1 lines
MFC the enhancements to the Linux emulation layer so the MegaRAID SAS
management tools can work.  This is not totally connected to the build
yet.  The mfi(4) change have not been MFC'ed yet.  This will be done
shortly.  I'm trying to do this in chunks so I don't totally break
the build on a missed commit.  This has passed make universe a while
ago:
  Enhance the Linux emulation layer to make MegaRAID SAS managements tool happy.
  Add back in a scheme to emulate old type major/minor numbers via hooks into
  stat, linprocfs to return major/minors that Linux app's expect.  Currently
  only /dev/null is always registered.  Drivers can register via the Linux
  type shim similar to the ioctl shim but by using
  linux_device_register_handler/linux_device_unregister_handler functions.
  The structure is:

    struct linux_device_handler {
        char    *bsd_driver_name;
        char    *linux_driver_name;
        char    *bsd_device_name;
        char    *linux_device_name;
        int     linux_major;
        int     linux_minor;
        int     linux_char_device;
    };

  Linprocfs uses this to display the major number of the driver.  The
  soon to be available linsysfs will use it to fill in the driver name.
  Linux_stat uses it to translate the major/minor into Linux type values.

  Note major numbers are dynamically assigned via passing in a -1 for
  the major number so we don't need to keep track of them.

  This is somewhat needed due to us switching to our devfs.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Fri May 5 16:10:45 2006 UTC (5 years, 9 months ago) by ambrisko
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +1 -1 lines
Enhance the Linux emulation layer to make MegaRAID SAS managements tool happy.
Add back in a scheme to emulate old type major/minor numbers via hooks into
stat, linprocfs to return major/minors that Linux app's expect.  Currently
only /dev/null is always registered.  Drivers can register via the Linux
type shim similar to the ioctl shim but by using
linux_device_register_handler/linux_device_unregister_handler functions.
The structure is:

    struct linux_device_handler {
        char    *bsd_driver_name;
        char    *linux_driver_name;
        char    *bsd_device_name;
        char    *linux_device_name;
        int     linux_major;
        int     linux_minor;
        int     linux_char_device;
    };

Linprocfs uses this to display the major number of the driver.  The
soon to be available linsysfs will use it to fill in the driver name.
Linux_stat uses it to translate the major/minor into Linux type values.

Note major numbers are dynamically assigned via passing in a -1 for
the major number so we don't need to keep track of them.

This is somewhat needed due to us switching to our devfs.  MegaCli
will not run until I add in the linsysfs and mfi Linux compat changes.

Sponsored by:	IronPort Systems

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sat Mar 18 18:20:16 2006 UTC (5 years, 10 months ago) by netchild
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +1 -4 lines
Get rid of the need of COMPAT_43 in the linuxolator.

Submitted by:	Divacky Roman <xdivac02@stud.fit.vutbr.cz>
Obtained from:	DragonFly (some parts)

Revision 1.63.2.1: download - view: text, markup, annotated - select for diffs
Fri Feb 10 00:38:03 2006 UTC (6 years ago) by yar
Branches: RELENG_6
CVS tags: RELENG_6_1_BP, RELENG_6_1_0_RELEASE, RELENG_6_1
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +2 -0 lines
MFC:
Avoid creating (and subsequently using) fake opt_*.h files
when the modules are built with the kernel and hence actual
opt_*.h files are available in ${KERNBUILDDIR}.  Fix a few
small bugs that would prevent this from working.

At last the build options of the modules become consistent
with those of the kernel unless the MODULES_WITH_WORLD way
still is used.

Approved by:	re (kensmith, scottl)
Requested by:	ru
Tested on:	amd64 i386 sparc64
Tested by:	md5

Revision 1.65: download - view: text, markup, annotated - select for diffs
Thu Jan 26 19:21:27 2006 UTC (6 years ago) by alc
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +1 -1 lines
opt_vmpage.h is no longer needed here because it is not included by
vm_page.h.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Fri Oct 14 23:30:12 2005 UTC (6 years, 3 months ago) by yar
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +2 -0 lines
Let modules use the kernel's opt_*.h files if built along with
the kernel by wrapping all targets for fake opt_*.h files in
.if defined(KERNBUILDDIR).  Thus, such fake files won't be
created at all if modules are built with the kernel.

Some modules undergo cleanup like removing unused or unneeded
options or .h files, without which they wouldn't build this way
or the other.

Reviewed by:	ru
Tested by:	no binary changes in modules built alone
Tested on:	i386 sparc64 amd64

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sat Jun 4 16:57:04 2005 UTC (6 years, 8 months ago) by imp
Branches: MAIN
CVS tags: RELENG_6_BP, RELENG_6_0_BP, RELENG_6_0_0_RELEASE, RELENG_6_0
Branch point for: RELENG_6
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +0 -2 lines
Move MAINTAINER documentation to MAINTAINERS

Revision 1.62: download - view: text, markup, annotated - select for diffs
Wed Nov 19 05:08:26 2003 UTC (8 years, 2 months ago) by imp
Branches: MAIN
CVS tags: RELENG_5_BP, RELENG_5_5_BP, RELENG_5_5_0_RELEASE, RELENG_5_5, RELENG_5_4_BP, RELENG_5_4_0_RELEASE, RELENG_5_4, RELENG_5_3_BP, RELENG_5_3_0_RELEASE, RELENG_5_3, RELENG_5_2_BP, RELENG_5_2_1_RELEASE, RELENG_5_2_0_RELEASE, RELENG_5_2
Branch point for: RELENG_5
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +1 -1 lines
o Remove @- from the ln and change it to a -sf.  This was bogus, and
  regocnized as such at the time.  Now that the other bogons in the
  tree have been fixed, we can remove this ugly kludge.
o Remove stale/bogus opt_foo.h files.  These are left over from
  by-gone resources.  And they point to the need, yet again, to
  improve the build system so meta information is only in one place.

Submitted by: ru
Reviewed by: bde
Approved by: re@ (jhb)

Revision 1.61: download - view: text, markup, annotated - select for diffs
Mon Feb 3 17:43:20 2003 UTC (9 years ago) by ume
Branches: MAIN
CVS tags: RELENG_5_1_BP, RELENG_5_1_0_RELEASE, RELENG_5_1
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +5 -2 lines
Add IPv6 support for Linuxlator.

Reviewed by:	dwmalone
MFC after:	10 days

Revision 1.34.2.12: download - view: text, markup, annotated - select for diffs
Thu Jan 2 20:41:34 2003 UTC (9 years, 1 month ago) by kan
Branches: RELENG_4
CVS tags: RELENG_4_9_BP, RELENG_4_9_0_RELEASE, RELENG_4_9, RELENG_4_8_BP, RELENG_4_8_0_RELEASE, RELENG_4_8, RELENG_4_11_BP, RELENG_4_11_0_RELEASE, RELENG_4_11, RELENG_4_10_BP, RELENG_4_10_0_RELEASE, RELENG_4_10
Diff to: previous 1.34.2.11: preferred, colored; branchpoint 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.2.11: +1 -1 lines
MFC: ptrace(2) for Linux binaries.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun Sep 8 02:59:38 2002 UTC (9 years, 5 months ago) by peter
Branches: MAIN
CVS tags: RELENG_5_0_BP, RELENG_5_0_0_RELEASE, RELENG_5_0
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +1 -2 lines
opt_kstack_pages.h is not needed anymore.  It would have been a Bad Thing
if it had been different to the running kernel.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Sep 7 18:02:13 2002 UTC (9 years, 5 months ago) by tmm
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +2 -1 lines
Unbreak the modules build:
- add dependencies on opt_cpu.h and opt_kstack_pages.h to the linux module
  Makefile in the i386 case. The latter is needed by an i386-only file, the
  former by the i386 implementation of linux_sysvec.c (opt_cpu.h is used for
  architecture-dependent options, so I added it only for i386, although this
  file is also generated for the alpha).
- add a dependency on opt_kstack_pages.h to the pecoff module Makefile.

Revision 1.34.2.11: download - view: text, markup, annotated - select for diffs
Wed Aug 7 16:32:00 2002 UTC (9 years, 6 months ago) by ru
Branches: RELENG_4
CVS tags: RELENG_4_7_BP, RELENG_4_7_0_RELEASE, RELENG_4_7
Diff to: previous 1.34.2.10: preferred, colored; branchpoint 1.34: preferred, colored
Changes since revision 1.34.2.10: +1 -1 lines
MFC: Drop support for COPY.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Thu Aug 1 22:23:02 2002 UTC (9 years, 6 months ago) by rwatson
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -1 lines
Introduce support for Mandatory Access Control and extensible
kernel access control.

Invoke appropriate MAC entry points for a number of VFS-related
operations in the Linux ABI module.  In particular, handle uselib
in a manner similar to open() (more work is probably needed here),
as well as handle statfs(), and linux readdir()-like calls.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs

Revision 1.34.2.10: download - view: text, markup, annotated - select for diffs
Thu Jul 18 13:31:27 2002 UTC (9 years, 6 months ago) by ru
Branches: RELENG_4
Diff to: previous 1.34.2.9: preferred, colored; branchpoint 1.34: preferred, colored
Changes since revision 1.34.2.9: +1 -1 lines
MFC: s/${INSTALL} -c/${INSTALL} ${COPY}/

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun May 19 01:27:14 2002 UTC (9 years, 8 months ago) by marcel
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +1 -1 lines
Hook up the new linux_ptrace implementation.

PR: 33299
Submitted by: Alexander N. Kabaev <ak03@gte.com>

Revision 1.56: download - view: text, markup, annotated - select for diffs
Fri Feb 22 18:21:20 2002 UTC (9 years, 11 months ago) by des
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +8 -0 lines
(Belatedly) add the required EXPORT_SYMS.  I'm not sure the list is complete,
but at least linprocfs works (I haven't had the opportunity to test other
stuff that depends on the linux module, like aac or tdfx)

Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu Jan 10 03:52:52 2002 UTC (10 years, 1 month ago) by msmith
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +1 -1 lines
genassym depends on the presence of common variables, disable the use
of -fno-common in this case.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Sun Nov 18 05:45:27 2001 UTC (10 years, 2 months ago) by marcel
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -2 lines
Pass maintainership over to emulation@FreeBSD.org. It has been fun,
but time and other interests is making it hard. Open the door for
new blood and fresh tactics now that the Linuxulator has had its
facelift.

Thanks to all who contributed during my tour of duty!

Revision 1.34.2.9: download - view: text, markup, annotated - select for diffs
Mon Nov 5 19:08:24 2001 UTC (10 years, 3 months ago) by marcel
Branches: RELENG_4
CVS tags: RELENG_4_6_BP, RELENG_4_6_2_RELEASE, RELENG_4_6_1_RELEASE, RELENG_4_6_0_RELEASE, RELENG_4_6, RELENG_4_5_BP, RELENG_4_5_0_RELEASE, RELENG_4_5
Diff to: previous 1.34.2.8: preferred, colored; branchpoint 1.34: preferred, colored
Changes since revision 1.34.2.8: +13 -30 lines
Mega MFC: This syncs-up the Linuxulator with -current and hence
	  allows Linux_base-7 to work properly.

tested on alpha by: gallatin (thanks!)
tested on i386 by: marcel (among others probably)

Revision 1.34.2.8: download - view: text, markup, annotated - select for diffs
Thu Oct 18 19:42:56 2001 UTC (10 years, 3 months ago) by gallatin
Branches: RELENG_4
Diff to: previous 1.34.2.7: preferred, colored; branchpoint 1.34: preferred, colored
Changes since revision 1.34.2.7: +4 -4 lines
MFC linux_getcwd --
If the cwd isn't cached (__getcwd() fails), the cwd is looked up inside
the kernel.

Revision 1.34.2.7: download - view: text, markup, annotated - select for diffs
Mon Oct 15 04:21:25 2001 UTC (10 years, 3 months ago) by mjacob
Branches: RELENG_4
Diff to: previous 1.34.2.6: preferred, colored; branchpoint 1.34: preferred, colored
Changes since revision 1.34.2.6: +2 -1 lines
I seemed to  need to specifically include MACHINE_ARCH/linux as
an include in CFLAGS in order to compile.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Sat Sep 8 19:07:04 2001 UTC (10 years, 5 months ago) by marcel
Branches: MAIN
CVS tags: KSE_PRE_MILESTONE_2, KSE_MILESTONE_2
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +6 -6 lines
Round of cleanups and enhancements. These include (in random order):

o  Introduce private types for use in linux syscalls for two reasons:
   1. establish type independence for ease in porting and,
   2. provide a visual queue as to which syscalls have proper
      prototypes to further cleanup the i386/alpha split.
   Linuxulator types are prefixed by 'l_'. void and char have not
   been "virtualized".

o  Provide dummy functions for all syscalls and remove dummy functions
   or implementations of truely obsolete syscalls.

o  Sanitize the shm*, sem* and msg* syscalls.

o  Make a first attempt to implement the linux_sysctl syscall. At this
   time it only returns one MIB (KERN_VERSION), but most importantly,
   it tells us when we need to add additional sysctls :-)

o  Bump the kenel version up to 2.4.2 (this is not the same as the
   KERN_VERSION MIB, BTW).

o  Implement new syscalls, of which most are specific to i386. Our
   syscall table is now up to date with Linux 2.4.2. Some highlights:
   -  Implement the 32-bit uid_t and gid_t bases syscalls.
   -  Implement a couple of 64-bit file size/offset bases syscalls.

o  Fix or improve numerous syscalls and prototypes.

o  Reduce style(9) violations while I'm here. Especially indentation
   inconsistencies within the same file are addressed. Re-indenting
   did not obfuscate actual changes to the extend that it could not
   be combined.

NOTE: I spend some time testing these changes and found that if there
      were regressions, they were not caused by these changes AFAICT.
      It was observed that installing a RH 7.1 runtime environment
      did make matters worse. Hangs and/or reboots have been observed
      with and without these changes, so when it failed to make life
      better in cases it doesn't look like it made it worse.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Aug 29 19:05:27 2001 UTC (10 years, 5 months ago) by gallatin
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -3 lines
Fix linux_getcwd() so that if the cwd isn't cached (__getcwd() fails),
the cwd is looked up inside the kernel. The native getcwd() in libc
handles this in userland if __getcwd() fails.

Obtained from: NetBSD via OpenBSD
Tested by: Chris Casey <chriss@phys.ksu.edu>, Markus Holmberg <markush@acc.umu.se>
Reviewed by: Darrell Anderson <anderson@cs.duke.edu>
PR: kern/24315

Revision 1.34.2.6: download - view: text, markup, annotated - select for diffs
Wed Apr 25 11:24:04 2001 UTC (10 years, 9 months ago) by ru
Branches: RELENG_4
CVS tags: RELENG_4_4_BP, RELENG_4_4_0_RELEASE, RELENG_4_4
Diff to: previous 1.34.2.5: preferred, colored; branchpoint 1.34: preferred, colored
Changes since revision 1.34.2.5: +2 -2 lines
MFC: MAN[1-9] -> MAN.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun Feb 4 10:52:24 2001 UTC (11 years ago) by peter
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +1 -2 lines
Zap obsolete (died with LKM) EXPORT_SYMS variable

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Jan 7 03:10:15 2001 UTC (11 years, 1 month ago) by peter
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -2 lines
It is unlikely that we'll be supporting old-style ZMAGIC linux a.out
binaries on anything but i386.. (ia64, sparc64, etc)  Invert the .if
so that it is inclusive of i386 platforms rather than excluding just
the alpha.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sat Jan 6 13:59:54 2001 UTC (11 years, 1 month ago) by obrien
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +11 -11 lines
Use a consistent style and one much closer to the rest of /usr/src

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun Dec 3 01:30:31 2000 UTC (11 years, 2 months ago) by marcel
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -17 lines
Don't auto-generate the syscalls.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Dec 2 23:47:41 2000 UTC (11 years, 2 months ago) by marcel
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +2 -2 lines
Fix dependency for auto-generated files. This commit is
for archiving purposes only; auto-generation is going to
be reverted.

requested by: obrien
submitted: gallatin

Revision 1.34.2.5: download - view: text, markup, annotated - select for diffs
Wed Nov 22 16:20:12 2000 UTC (11 years, 2 months ago) by gallatin
Branches: RELENG_4
CVS tags: RELENG_4_3_BP, RELENG_4_3_0_RELEASE, RELENG_4_3
Diff to: previous 1.34.2.4: preferred, colored; branchpoint 1.34: preferred, colored
Changes since revision 1.34.2.4: +3 -3 lines
MFC: enable linux ipc syscalls on alpha

Revision 1.34.2.4: download - view: text, markup, annotated - select for diffs
Sun Nov 5 07:41:42 2000 UTC (11 years, 3 months ago) by marcel
Branches: RELENG_4
CVS tags: RELENG_4_2_0_RELEASE
Diff to: previous 1.34.2.3: preferred, colored; branchpoint 1.34: preferred, colored
Changes since revision 1.34.2.3: +2 -1 lines
MFC rev 1.46: Fix parallel build breakage

Approved by: jkh

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun Nov 5 03:10:45 2000 UTC (11 years, 3 months ago) by marcel
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -1 lines
Fix breakage for parallel builds.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Nov 2 13:48:53 2000 UTC (11 years, 3 months ago) by sheldonh
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +1 -7 lines
Retire linux(8).  Using shell scripts to load kernel loadable modules is
out of fashion.  This particular case, unlike joy(8) and friends which
are just plain silly, did more than just load a kernel loadable module.
However, /etc/rc and the linux_base port were adjusted a while back to
cope with the absence of this script.

The only outstanding reason to hang on to it would have been for the
linux(8) manual page, which clued folks into the existence of the
Linuxulator.  A new linux(4) was introduced a while back.  It does
a much better job.

This script just isn't useful any more.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Nov 1 23:17:30 2000 UTC (11 years, 3 months ago) by gallatin
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -3 lines
Support for the linux ipc syscalls on the alpha, where each one has
its own syscall rather than going through a demux function like
linux_ipc() on i386

Revision 1.34.2.3: download - view: text, markup, annotated - select for diffs
Wed Nov 1 19:35:31 2000 UTC (11 years, 3 months ago) by obrien
Branches: RELENG_4
CVS tags: AFTER_MIMD_SPLIT_RELENG4
Diff to: previous 1.34.2.2: preferred, colored; branchpoint 1.34: preferred, colored
Changes since revision 1.34.2.2: +18 -5 lines
MFC: MI/MD split and allow the building of the syscall bits at compile time

Revision 1.43: download - view: text, markup, annotated - select for diffs
Wed Nov 1 09:23:12 2000 UTC (11 years, 3 months ago) by obrien
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +15 -2 lines
Allow the building of the syscall bits at compile time.

Revision 1.34.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 31 21:05:36 2000 UTC (11 years, 3 months ago) by obrien
Branches: RELENG_4
Diff to: previous 1.34.2.1: preferred, colored; branchpoint 1.34: preferred, colored
Changes since revision 1.34.2.1: +7 -3 lines
Not all source files are applicable for the AlphaLinux version.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Oct 8 16:53:05 2000 UTC (11 years, 4 months ago) by obrien
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +1 -4 lines
Don't install manpages.
They are being moved elsewhere, and they are causing problems being here.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Wed Oct 4 07:20:24 2000 UTC (11 years, 4 months ago) by obrien
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +5 -1 lines
Only install secondary components if the destination directory exists.
This may be a WIP, but `make release' needs it sooner than later.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Sep 6 20:21:55 2000 UTC (11 years, 5 months ago) by obrien
Branches: MAIN
CVS tags: PRE_SMPNG
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -2 lines
Since AlphaLinux is the weirdest Linux of all, probably best to do the
logic this way.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Sep 6 20:21:15 2000 UTC (11 years, 5 months ago) by obrien
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +7 -3 lines
Two sys/compat/linux sources aren't applicable on the Alpha at this time.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Aug 22 06:02:01 2000 UTC (11 years, 5 months ago) by marcel
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -5 lines
Connect the new sources in /sys/compat/linux and the new file
in /sys/i386/linux.

Revision 1.34.2.1: download - view: text, markup, annotated - select for diffs
Fri Jul 7 01:29:00 2000 UTC (11 years, 7 months ago) by obrien
Branches: RELENG_4
CVS tags: RELENG_4_1_1_RELEASE, RELENG_4_1_0_RELEASE
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +5 -2 lines
MFC: rev 1.35-36(use sys/conf/kmod.mk to make /sys self contained)
     rev 1.37 (use getassym script)

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Jun 3 07:40:19 2000 UTC (11 years, 8 months ago) by bde
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +5 -2 lines
Use the genassym script here too.  The linux and svr4 modules were broken.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat May 27 01:13:52 2000 UTC (11 years, 8 months ago) by peter
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -2 lines
Use .include <bsd.kmod.mk> to get to ../../*/conf/kmod.mk instead of
encoding the relative path.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu May 4 12:07:37 2000 UTC (11 years, 9 months ago) by peter
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2 lines
Pull in sys/conf/kmod.mk, rather than /usr/share/mk/bsd.kmod.mk.
This means that the kernel can be totally self contained now and is not
dependent on the last buildworld to update /usr/share/mk.  This might
also make it easier to build 5.x kernels on 4.0 boxes etc, assuming
gensetdefs and config(8) are updated.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Jan 9 10:04:53 2000 UTC (12 years, 1 month ago) by bde
Branches: MAIN
CVS tags: RELENG_4_BP, RELENG_4_0_0_RELEASE
Branch point for: RELENG_4
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -4 lines
Compile linux_genassym.c with ordinary ${CFLAGS}.  The (small) need for
-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.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Dec 29 04:54:50 1999 UTC (12 years, 1 month ago) by peter
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3 lines
Change #ifdef KERNEL to #ifdef _KERNEL in the public headers.  "KERNEL"
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.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Dec 23 19:59:47 1999 UTC (12 years, 1 month ago) by marcel
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -9 lines
Use genassym(1) and <sys/assym.h> to generate assembler symbols.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Nov 28 18:52:56 1999 UTC (12 years, 2 months ago) by bde
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -6 lines
Removed special rules for building and cleaning device interface files
and empty options files.  The rules are now generated automatically in
bsd.kmod.mk.  Cleaned up related things ($S and ${CLEANFILES}).

Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Nov 12 20:04:59 1999 UTC (12 years, 3 months ago) by marcel
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2 lines
Replace 'i386' with '${MACHINE_ARCH}' in preparation of the development
of a linuxulator for Alpha.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Sep 3 07:15:38 1999 UTC (12 years, 5 months ago) by marcel
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2 lines
Install linux.sh in /usr/sbin and not in /usr/bin.

PR: 13545
Submitted by: Jose M. Alcaide <jose@we.lc.ehu.es>

Revision 1.24.2.2: download - view: text, markup, annotated - select for diffs
Sun Aug 29 16:27:25 1999 UTC (12 years, 5 months ago) by peter
Branches: RELENG_3
CVS tags: RELENG_3_5_0_RELEASE, RELENG_3_4_0_RELEASE, RELENG_3_3_0_RELEASE
Diff to: previous 1.24.2.1: preferred, colored; branchpoint 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.2.1: +1 -1 lines
$Id$ -> $FreeBSD$

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Aug 28 09:04:21 1999 UTC (12 years, 5 months ago) by marcel
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +5 -2 lines
Add MAINTAINER and remove the unused COMPAT_LINUX and VM_STACK defines.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Aug 28 00:47:24 1999 UTC (12 years, 5 months ago) by peter
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +1 -1 lines
$Id$ -> $FreeBSD$

Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Aug 27 19:47:40 1999 UTC (12 years, 5 months ago) by marcel
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2 lines
Add sysctl variables for the Linuxulator. These reside under `compat.linux' as
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

Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Wed Jan 27 20:56:24 1999 UTC (13 years ago) by julian
Branches: RELENG_3
CVS tags: RELENG_3_2_PAO_BP, RELENG_3_2_PAO, RELENG_3_2_0_RELEASE, RELENG_3_1_0_RELEASE
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2 lines
MFC:  compile the module the same way we compile the kernel.
(how do we do this differently for Alpha?)

Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Jan 26 21:29:01 1999 UTC (13 years ago) by julian
Branches: MAIN
CVS tags: PRE_VFS_BIO_NFS_PATCH, PRE_SMP_VMSHARE, PRE_NEWBUS, POST_VFS_BIO_NFS_PATCH, POST_SMP_VMSHARE, POST_NEWBUS
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2 lines
Compile the linux module with the same flags as the kernel.
(oops).

Submitted by:	"Richard Seaman, Jr." <dick@tar.com>

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Nov 12 00:37:39 1998 UTC (13 years, 3 months ago) by jkh
Branches: MAIN
CVS tags: RELENG_3_BP
Branch point for: RELENG_3
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
Install scripts without .sh suffix.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Nov 11 07:04:10 1998 UTC (13 years, 3 months ago) by peter
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
Rename joy,ibcs2,linux to joy.sh,ibcs2.sh,linux.sh (via repo copy).

Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Nov 10 19:39:58 1998 UTC (13 years, 3 months ago) by jkh
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -4 lines
We need to install the linux shell script or the lkm version will
still be in place.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Nov 5 04:39:26 1998 UTC (13 years, 3 months ago) by peter
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2 lines
Build linux_genassym static, this should help aout-to-elf builds

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Nov 5 04:22:52 1998 UTC (13 years, 3 months ago) by peter
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -4 lines
Do not overwrite the lkm versions of the install scripts for now.  linux
works but ibcs2 has a load failure and joy doesn't look like it'll work.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Oct 16 04:30:47 1998 UTC (13 years, 3 months ago) by peter
Branches: MAIN
CVS tags: RELENG_3_0_0_RELEASE
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +5 -5 lines
Sample initial set of kld-ified modules.  Not all have been completely
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)

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Jul 7 02:04:20 1998 UTC (13 years, 7 months ago) by bde
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -2 lines
Added a `build-tools' target for internal tools.  (linux_genassym may
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.)

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Jul 1 17:10:00 1998 UTC (13 years, 7 months ago) by bde
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +6 -3 lines
Fixed missing options headers.  Options that affect LKMs shouldn't
exist.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Mar 19 12:35:55 1998 UTC (13 years, 10 months ago) by bde
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
Fixed a race to build the `@' and `machine' symlinks early enough
for `make -jN'.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Feb 6 23:54:21 1998 UTC (14 years ago) by eivind
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -6 lines
Back out opt_diagnostic.h changes.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Feb 4 21:56:36 1998 UTC (14 years ago) by eivind
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -3 lines
Make the LKMs handle DIAGNOSTIC as a new-style option.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Feb 1 17:53:55 1998 UTC (14 years ago) by bde
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -8 lines
Don't handle the `machine' symlink or related include paths here.
bsd.kmod.mk now handles it more generally.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Dec 16 18:45:50 1997 UTC (14 years, 1 month ago) by eivind
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +7 -4 lines
Handle COMPAT_43 define -> option change.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Feb 22 12:48:23 1997 UTC (14 years, 11 months ago) by peter
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -1 lines
Revert $FreeBSD$ back to $Id$

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Jan 14 06:22:07 1997 UTC (15 years ago) by jkh
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -1 lines
Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.

Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Fri Jan 10 05:54:36 1997 UTC (15 years, 1 month ago) by mpp
Branches: old_RELENG_2_2
CVS tags: old_RELENG_2_2_7_RELEASE, old_RELENG_2_2_6_RELEASE, old_RELENG_2_2_5_RELEASE, old_RELENG_2_2_2_RELEASE, old_RELENG_2_2_1_RELEASE, old_RELENG_2_2_0_RELEASE
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +2 -2 lines
YAMFC:  install the linux(8) man page.

The new man page was tagged onto the RELENG_2_2 branch.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Jan 10 05:48:49 1997 UTC (15 years, 1 month ago) by mpp
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
Add a man page for linux(8) (loads the Linux emulator kernel module).

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Jun 25 20:13:12 1996 UTC (15 years, 7 months ago) by bde
Branches: MAIN
CVS tags: old_RELENG_2_2_BP
Branch point for: old_RELENG_2_2
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +9 -6 lines
Fixed the `machine' link.  It pointed to the wrong place, and was created
too late to be used in all cases.  It should probably be created (early)
in bsd.kmod.mk for all LKMs.

Use cc instead of cpp | as for the same reasons as in the kernel makefile.
CFLAGS isn't split up as well as in the kernel makefile, but cc doesn't
pass compiler warning flags to cpp, so there is no need to split it.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Mar 10 08:42:31 1996 UTC (15 years, 11 months ago) by sos
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
First attempt at FreeBSD & Linux ELF support.

Compile and link a new kernel, that will give native ELF support, and
provide the hooks for other ELF interpreters as well.

To make native ELF binaries use John Polstras elf-kit-1.0.1..
For the time being also use his ld-elf.so.1 and put it in
/usr/libexec.

The Linux emulator has been enhanced to also run ELF binaries, it
is however in its very first incarnation.
Just get some Linux ELF libs (Slackware-3.0) and put them in the
prober place (/compat/linux/...).
I've ben able to run all the Slackware-3.0 binaries I've tried
so far.
(No it won't run quake yet :)

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Mar 2 20:00:35 1996 UTC (15 years, 11 months ago) by peter
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +25 -5 lines
Update the linux lkm to use the new file list and build routine.
This is a bit of a kludge and needs more work.

Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Sun Jan 28 00:00:10 1996 UTC (16 years ago) by rgrimes
Branches: old_RELENG_2_1_0
CVS tags: old_RELENG_2_1_7_RELEASE, old_RELENG_2_1_6_RELEASE, old_RELENG_2_1_6_1_RELEASE, old_RELENG_2_1_5_RELEASE
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +2 -2 lines
Add missing ${DESTDIR} to afterinstall: target. (cvs update -j1.4 -j1.5)

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Jan 27 23:57:06 1996 UTC (16 years ago) by rgrimes
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
Add missing ${DESTDIR} to afterinstall: target.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Jan 8 05:36:17 1996 UTC (16 years, 1 month ago) by peter
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -7 lines
No longer generate empty opt_sysvipc.h, and no longer issue -DSYSVSHM etc
for the CFLAGS.  Now, it tracks whatever the booted kernel has rather than
being specifying what features your kernel has at lkm build time.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Jan 6 23:10:25 1996 UTC (16 years, 1 month ago) by ache
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +6 -2 lines
Add opt_sysvipc.h rules similar as in ibcs2 Makefile
(make fails in old case)

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Dec 29 22:10:49 1995 UTC (16 years, 1 month ago) by sos
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
Added SYSVSHM define

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Jun 25 17:29:46 1995 UTC (16 years, 7 months ago) by sos
Branches: MAIN
CVS tags: old_RELENG_2_1_0_RELEASE
Branch point for: old_RELENG_2_1_0
First incarnation of our Linux emulator or rather compatibility code.
This first shot only incorporaties so much functionality that DOOM
can run (the X version), signal handling is VERY weak, so is many
other things. But it meets my milestone number one (you guessed it
- running DOOM).

Uses /compat/linux as prefix for loading shared libs, so it won't
conflict with our own libs.

Kernel must be compiled with "options COMPAT_LINUX" for this to work.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options