David Brownlee
9238af826d
Crank up the WARNS level when building on a BSD toolchain
...
This, for example, would pick up on inadvertent switch fall throughs
2020-10-30 11:01:41 -04:00
David Brownlee
e984e60b1f
Fix determining suffix from MOP program type
...
MOP_K_PGTY_MGNTFL should have had suffix ".M" but the switch
fell through to the default of ""
2020-10-30 11:01:41 -04:00
Boris Gjenero
09d1302c4c
Add ULTRIX 4.0 kernel patch for nfs_statfs() overflow.
2020-10-30 11:01:06 -04:00
Boris Gjenero
c4ebe27a95
Update documentation, with info on netbooting ULTRIX.
2020-10-26 11:56:43 -04:00
Boris Gjenero
0e5c61da60
Add mkultconf program for creating Ultrix netblk
...
The second stage of Ultrix loading is a struct which tells the
kernel things it needs for netbooting. Ultrix needs this and can't
use other servers like rarpd, bootparamd and bootpd. The only
other server needed is NFS.
I don't like how I wrote so much code to create a simple struct.
There should be a better way. But this works.
2020-10-25 10:38:11 -04:00
Boris Gjenero
b2226e44e0
End transfers with MLT for Ultrix netload.
...
Ultrix 4.00 netload requires transfers to end with Memory Load
with Transfer Address. The load address must be present, though
image data doesn't have to be present.
2020-10-24 10:13:04 -04:00
Boris Gjenero
a00db1abf4
Limit packet size for Ultrix netload.
2020-10-23 22:57:44 -04:00
Boris Gjenero
cbbfdf3108
Map different program types to different files, for Ultrix netload.
2020-10-23 20:55:11 -04:00
Boris Gjenero
b6e3cc4b2e
Add README.md documentation.
2020-10-23 19:03:39 -04:00
Boris Gjenero
e51c192467
Accept mid=0, for Athena 4.3BSD, Ultrix, and 4.3BSD-Quasijarus0c.
2020-10-23 01:27:21 -04:00
Boris Gjenero
7b0f60bf54
Update for 4k VAX page size and support 1k page a.out binaries.
...
It seems this wasn't updated when NetBSD/VAX page size changed
from 1 KB to 4 KB. It still had the old #define MID_VAX 140 and
clbytes = 1024.
2020-10-22 23:20:40 -04:00
Boris Gjenero
82fde5ac12
Add top level Makefile.linux for building everything at once.
2020-10-22 19:04:14 -04:00
Boris Gjenero
b94f02f307
Fix Linux pfInit parameter order to make mopd work.
2020-10-22 19:04:05 -04:00
Boris Gjenero
0cc2781873
Use modified NetBSD header files to make mopcopy work for a.out.
2020-10-22 19:03:16 -04:00
Boris Gjenero
32e5361f58
Add unmodified exec_aout.h and aout_mids.h from NetBSD.
...
Files taken from:
64b8a48e12/sys/sys/exec_aout.h
64b8a48e12/sys/sys/aout_mids.h
2020-10-22 14:40:33 -04:00
Boris Gjenero
ceabac12a6
Modify exec_elf.h for Linux, making mopcopy work for ELF.
2020-10-22 14:33:29 -04:00
Boris Gjenero
d1a3cae84a
Add unmodified NetBSD src/sys/sys/exec_elf.h for ELF support.
...
File taken from:
64b8a48e12/sys/sys/exec_elf.h
2020-10-22 14:31:50 -04:00
Boris Gjenero
3691bd8b6d
Add .gitignore file.
2020-10-22 14:25:05 -04:00
joerg
12a9caaf9b
loop.c owns iflist
2020-04-22 23:57:56 +00:00
joerg
7f05d99603
Let loop.c own iflist
2020-04-22 23:55:29 +00:00
msaitoh
6762fa7666
s/transfered/transferred/
2019-12-27 09:41:48 +00:00
christos
c20987101d
Drop the advertising clause to match the other files.
2019-12-07 04:55:01 +00:00
mrg
e469d4c46d
introduce some common variables for use in GCC warning disables:
...
GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8)
use these to turn off warnings for most GCC-8 complaints. many
of these are false positives, most of the real bugs are already
commited, or are yet to come.
we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."
2019-10-13 07:28:04 +00:00
christos
1d0ae2845f
delete generated file
2016-06-08 02:58:19 +00:00
christos
d2b4df31a7
Port to linux
2016-06-08 01:19:05 +00:00
christos
9f4ed5512b
port to linux
2016-06-08 01:17:54 +00:00
christos
cf281130dd
Port to linux
2016-06-08 01:16:35 +00:00
christos
f61be0af4a
compile on linux
2016-06-08 01:15:26 +00:00
christos
ac1ef638dd
portability macros.
2016-06-08 01:13:14 +00:00
christos
e87ffe7de2
Quick+Dirty port to linux
2016-06-08 01:11:49 +00:00
snj
dc7585852f
src is too big these days to tolerate superfluous apostrophes. It's
...
"its", people!
2014-10-18 08:33:23 +00:00
dholland
3eddbcc25e
Fix broken snprintf usage; noted in PR 47976 from Henning Petersen.
...
As a bonus, this removes the nonliteral format arguments.
2014-07-27 04:38:03 +00:00
joerg
a3206cf133
No need for libkvm here.
2014-05-30 02:16:10 +00:00
riastradh
898609a4a4
Merge riastradh-drm2 to HEAD.
2014-03-18 18:20:35 +00:00
christos
f73ad3bad9
fix unused variable warnings.
2013-10-19 17:16:37 +00:00
wiz
becb6b8fff
Use Mt for email addresses.
2013-07-20 21:39:55 +00:00
joerg
9b3bb3443b
Remove many HAVE_GCC || HAVE_PCC conditionals as the options also apply
...
to Clang. Add a few cases of HAVE_LLVM for -fno-strict-aliasing.
2012-08-10 12:10:27 +00:00
nakayama
57a91d6250
Fix build on mips (NOAOUT case).
2011-08-31 13:09:10 +00:00
joerg
ef3e6e6424
ANSIfy + __printflike + __dead
2011-08-30 19:49:10 +00:00
joerg
6e5fe150f1
Use of non-literal format strings
2011-08-25 16:47:20 +00:00
christos
c0180dc6d9
gcc-4.5 is picky about potential negative indexes. appease it.
2011-08-16 16:45:20 +00:00
mrg
d9b5972014
apply some -Wno-error and/or -fno-strict-aliasing.
...
all of this should be looked at closer, but some of them are not
very trivial.
2011-06-22 02:49:41 +00:00
mrg
174f8a4a36
remove most of the remaining HAVE_GCC tests that are always true in
...
the modern world.
2011-06-20 07:43:56 +00:00
joerg
e56c1f58dd
Kill redundant ()
2011-05-24 13:08:16 +00:00
drochner
fa3eebf9dc
ANSIfy, sprinkle "const"
2009-11-17 18:58:07 +00:00
snj
59ff02bd7c
Follow upstream's lead and remove third and fourth clauses (except on
...
from usr.sbin/mopd/common/pf.c, where only the ad clause is removed,
because it has a shared UCB copyright) on Mats O Jansson's files.
thorpej OK'd usr.sbin/rpc.yppasswdd/yppasswdd_mkpw.c, where he shares
copyright.
2009-10-20 00:51:13 +00:00
joerg
fe7d874daf
Fix markup. Handle the DECnet documentation like a journal.
2009-10-04 20:53:23 +00:00
he
3469d76593
Use NOAOUT so that this builds without a.out support, and enable
...
that define if we're building for mips.
2009-08-20 22:26:19 +00:00
he
ceb32b93af
Define NOAOUT if we're building for mips.
2009-08-20 21:59:12 +00:00
lukem
75f93ed674
Fix WARNS=4 issues (many -Wshadow, -Wcast-qual)
2009-04-17 04:16:57 +00:00