299215 |
07-May-2016 |
dchagin |
MFC r298519: Fix streams and svr4 module dependency. Both modules are complaining about undefined symbol svr4_delete_socket which was moved from streams to the svr4 module in r160558 that created a two-way dependency between them.
MFC r298520: Allow to build svr4 module with SYSV support separatelly from the kernel build.
PR: 208464 Reported by: Kristoffer Eriksson |
267734 |
22-Jun-2014 |
gavin |
Merge r267482,r267483,r267486,r267577,r267671,r267672 from head:
Remove send-pr and fix up all references to it. Replace it with a stub send-pr directing people towards the web site. |
256281 |
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
211690 |
23-Aug-2010 |
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...
|
193744 |
08-Jun-2009 |
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.
|
193588 |
06-Jun-2009 |
rwatson |
Remove opt_mac.h generation for various kernel modules that no longer require it.
Submitted by: pjd
|
191919 |
08-May-2009 |
ed |
Burn TTY ioctl bridges in compat layers.
I really don't want any pieces of code to include ioctl_compat.h, so let the ibcs2 and svr4 compat leave sgtty alone. If they want to support sgtty, they should emulate it on top of termios, not sgtty.
The code has been marked with BURN_BRIDGES for a long time. ibcs2 and svr4 are not really popular pieces of code anyway.
|
188516 |
12-Feb-2009 |
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.
|
183040 |
15-Sep-2008 |
ed |
Allow COMPAT_SVR4 to be built without COMPAT_43.
It seems we only depend on COMPAT_43 to implement the send() and recv() routines. We can easily implement them using sendto() and recvfrom(), just like we do inside our very own C library.
I wasn't able to really test it, apart from simple compilation testing. I've heard rumours that COMPAT_SVR4 is broken inside execve() anyway. It's still worth to fix this, because I suspect we'll get rid of COMPAT_43 somewhere in the future...
Reviewed by: rdivacky Discussed with: jhb
|
182668 |
02-Sep-2008 |
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.
|
160063 |
01-Jul-2006 |
markm |
Housekeeping. Update for maintainers who have handed in their commit bits or (in my case) no longer feel that oversight is necessary.
|
154865 |
26-Jan-2006 |
alc |
opt_vmpage.h is no longer needed here because it is not included by vm_page.h.
|
151350 |
14-Oct-2005 |
yar |
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
|
101708 |
12-Aug-2002 |
rwatson |
Add opt_mac.h to dependencies for svr4 module, since I'm about to commit the MAC checks for it.
Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
|
89181 |
10-Jan-2002 |
msmith |
genassym depends on the presence of common variables, disable the use of -fno-common in this case.
|
84473 |
04-Oct-2001 |
ru |
Removed mentions of TARGET_ARCH from non-cross places.
|
76185 |
01-May-2001 |
schweikh |
pseudo-device -> device in kernel config. Reviewed by: joerg, dd
|
71989 |
04-Feb-2001 |
peter |
Zap obsolete (died with LKM) EXPORT_SYMS variable
|
71985 |
04-Feb-2001 |
peter |
Zap some bad examples: opt_foo.h: touch opt_foo.h .. is unnecessary - kmod.mk does this for us.
|
70711 |
06-Jan-2001 |
obrien |
Use a consistent style and one much closer to the rest of /usr/src
|
69349 |
29-Nov-2000 |
sheldonh |
Decommission the svr4(8) shell script, which has been pointless since our kernel module system learned how to handle dependencies.
Providing a whole bunch of shell scripts that do nothing but load a similarly named kernel loadable module is out of vogue.
The svr4(8) manual page has been replaced with a much better svr4(4) page.
|
68961 |
20-Nov-2000 |
ru |
mdoc(7) police: use the new features of the Nm macro.
|
66826 |
08-Oct-2000 |
obrien |
Don't install manpages. They are being moved elsewhere, and they are causing problems being here.
|
66620 |
04-Oct-2000 |
obrien |
Only install secondary components if the destination directory exists. This may be a WIP, but `make release' needs it sooner than later.
|
65302 |
31-Aug-2000 |
obrien |
Cleanup after repo copy of sys/svr4 to sys/compat/svr4.
|
61204 |
03-Jun-2000 |
bde |
Use the genassym script here too. The linux and svr4 modules were broken.
|
60966 |
27-May-2000 |
peter |
Use .include <bsd.kmod.mk> to get to ../../*/conf/kmod.mk instead of encoding the relative path.
|
60297 |
10-May-2000 |
obrien |
Support non-i386 architectures.
|
59951 |
04-May-2000 |
peter |
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.
|
55728 |
10-Jan-2000 |
phantom |
. add manpage for svr4(8) . s/freebsd/FreeBSD
|
55661 |
09-Jan-2000 |
bde |
Cleaned up options handling: - don't generate unusable headers or #defines. - removed duplicate opt_svr4.h in CLEANFILES. - removed bogus dependency of svr4.h on options headers.
|
55655 |
09-Jan-2000 |
bde |
Compile svr4_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 CFLAGS.
Removed triplicate -D_KERNEL from flags for compiling svr4_locore.s.
|
55206 |
29-Dec-1999 |
peter |
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.
|
55063 |
23-Dec-1999 |
marcel |
Use genassym(1) and <sys/assym.h> to generate assembler symbols.
|
54320 |
08-Dec-1999 |
marcel |
Add opt_svr4.h to SRCS. This fixes make depend.
|
54300 |
08-Dec-1999 |
newton |
SVR4 emulator source files now take their compilation options from opt_global.h and opt_svr4.h, instead of from the command line. This brings them in-line with most of the rest of the kernel.
svr4_ioctl.c has also failed to compile with debugging for a while now; fixed by adding systm.h and socketvar.
Some svr4 source files are automatically generated from syscalls.master; these have been committed as consequential changes, otherwise everyone will have to "make svr4_sysent.c".
Changes:
sys/svr4/svr4.h include opt_global.h and opt_svr4.h sys/svr4/svr4_ioctl.c include svr4.h, sys/systm.h and sys/socketvar.h sys/svr4/svr4_ipc.c include svr4.h sys/svr4/svr4_resource.c include svr4.h sys/svr4/svr4_socket.c include svr4.h sys/svr4/svr4_ttold.c include svr4.h sys/svr4/syscalls.master include svr4.h sys/svr4/svr4_syscallnames.c dependent on syscalls.master sys/svr4/svr4_sysent.c dependent on syscalls.master sys/svr4/svr4_syscall.h dependent on syscalls.master sys/svr4/svr4_proto.h dependent on syscalls.master sys/modules/svr4/Makefile create opt_global.h and opt_svr4.h
|
53846 |
28-Nov-1999 |
bde |
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}).
|
50934 |
05-Sep-1999 |
obrien |
Install {ibcs2,svr4}.sh in /usr/sbin and not in /usr/bin.
related to PR: 13545
|
50718 |
01-Sep-1999 |
newton |
Add MAINTAINER line
|
50477 |
28-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
49271 |
30-Jul-1999 |
newton |
Initial checkin
|
49268 |
30-Jul-1999 |
newton |
Clarify use of the 'streams' pseudo-device (i.e.: static or kld). Trust me, this stuff will be in a real manpage before 4.0 ships :-)
|
44208 |
22-Feb-1999 |
newton |
Converted "streams" pseudo-device into a KLD
|
43704 |
06-Feb-1999 |
bde |
Honor ${LDFLAGS} for building svr4_genassym. This is part of fixing world breakage (mainly for cross-world cases). The world Makefile attempts to build tools static so that nonexistent or wrong shared libraries and interpreters don't get used. This is broken anyway since the world Makefile doesn't know about svr4_genassym.
Force building svr4_genassym static. This is part of "fixing" aout-to-elf-build breakage. aout-to-elf-build abuses NOTOOLS to avoid rebuilding all the aout tools. This saves time and avoids some complications. However, it breaks all the internal tools -- they get linked to target libraries which might not work. Cases where the host can run the target's static libraries are "fixed" by encrufting all Makefiles that build internal tools to build the tools static.
Don't add .depend to CLEANFILES -- it just breaks the separation of `make cleandepend' from `make clean'.
Removed some superflous explicit dependencies.
|
43423 |
30-Jan-1999 |
newton |
Nuked the "hello, world!" program from this directory (it has been teleported to share/examples/svr4).
|
43415 |
30-Jan-1999 |
newton |
Added a "README" file containing text taken from the message I sent to -current explaining how to use this sucker.
|
43412 |
30-Jan-1999 |
newton |
Emulator KLD for SysVR4 executables grabbed from NetBSD. See http://www.freebsd.org/~newton/freebsd-svr4 for limitations, capabilities, history and TO-DO list.
|