Commit Graph

44715 Commits

Author SHA1 Message Date
itohy 102d06b78c 1. The 1st arg of sprintf() shall be nul terminated
(The C specification can read as such and our implementation of sprintf()
issues strlen() to the arg).
2. Eliminate memory leaks.
1998-10-17 17:14:01 +00:00
itohy 9d79a50f6a Correct return value of md_midcompat(). 1998-10-17 17:08:21 +00:00
thorpej c0b197f941 Fix a thinko in the device opening code. 1998-10-17 05:08:27 +00:00
jtk c4ffdb9200 dumpsize == 0 also indicates failure to figure out where to dump
(e.g. dump partition too small), so complain in that case when trying to
dump
1998-10-17 00:07:11 +00:00
pk 0bf09a4ae7 Drop cpuinfo's `L1_ptps'; instead keep a per CPU segment (level 2) page
table descriptor that is used to patch up a region (level 1) page table
associated with a user pmap at context switch time.
1998-10-16 22:39:17 +00:00
kleink 759e4c8f58 <sys/fcntl.h> -> <fcntl.h> in previous. 1998-10-16 22:01:57 +00:00
kleink 45f04f24af Need "namespace.h" for getdtablesize(). 1998-10-16 20:48:06 +00:00
kleink bedf769000 getsubopt() isn't used internally. 1998-10-16 20:35:20 +00:00
kleink 571ab7ae88 Need an internal name for herror(). 1998-10-16 20:26:02 +00:00
tv 57d34f92e8 Set MAX_OFILE_ALIGNMENT to 32 as suggested by <chas@cmf.nrl.navy.mil> in
PR port-m68k/6308.  Since m68k's can access doubles fine on a 32-bit
boundary, this does not need to be 64.
1998-10-16 20:07:15 +00:00
tv cacab8b6b5 Define __arm__ in CPP_PREDEFINES as on other ARM OS's. Suggested by
<rearnsha@arm.com>.
1998-10-16 19:50:46 +00:00
tv 000978aaca Check for gcc the Right way when quashing -Wuninitialized goop. 1998-10-16 19:34:57 +00:00
ws d65dc0de3b Make ourseg visible to the outside similar to bootsect/start_bootsect.S
(Thanks to hannken@eis.cs.tu-bs.de for pointing this out).
1998-10-16 18:07:35 +00:00
bouyer bf32feec28 More >2Gb fixes, from Constantine Sapuntzakis. 1998-10-16 14:29:40 +00:00
christos c5b62f45b1 - rename err -> herr so that we don't conflict with libc
- KNF
- use herr when opening the files too, producing a more useful message.
1998-10-16 14:27:17 +00:00
christos f2e15d15fa Fix the non pic version too. 1998-10-16 14:11:53 +00:00
christos 3d8121f3df PR/6285: Tom Ivar Helbekkmo: sigsetjmp/siglongjmp broken after current signal
changes.
1998-10-16 13:28:39 +00:00
kleink d898f65fdd Need an internal name for tzname. 1998-10-16 12:56:44 +00:00
kleink 796b7ae4bf Need an internal name for signal(). 1998-10-16 12:47:45 +00:00
kleink 73ef151b8c Need an internal name for fgetln(). 1998-10-16 12:39:54 +00:00
kleink ae6ea9e14d Use strtok_r() instead of strtok(), lest the application be surprised by
strtok()'s internal marker having changed.
1998-10-16 11:24:30 +00:00
mycroft 66d3187f89 Do not build libgcc 3 times.
Instead:
* If upgrading the compiler, build it *first*, before anything else.
* If upgrading the compiler and DESTDIR is set, barf.
This guarantees that libgcc is built during the library stage.
1998-10-16 05:05:09 +00:00
ross d34961267b Someday we might really traverse in distrib; at least traverse this
subdirectory now.
1998-10-16 01:36:45 +00:00
ross 906b236b05 Nuke the site from orbit, it's the only way to be sure. 1998-10-16 01:32:44 +00:00
ross 9219052313 More pieces of new integrated alpha installer. 1998-10-16 00:45:23 +00:00
ross 49039732e8 Components to new NetBSD/alpha integrated installer. 1998-10-16 00:43:02 +00:00
ross 0f58b07160 Utilities in (script) source form for the ramdisk. The old install scripts
are provided as well as the new sysinst program.
1998-10-16 00:40:54 +00:00
ross 4d7a2efdc4 This is now the main install directory for the new integrated sysinst
boot. Yes, NetBSD/alpha finally gets sysinst on all media types.
The new boot makes a single ramdisk which is then divided via ustarfs
onto a two-floppy set, and a second unified image for CD's, HD's, or
tapes is also created.
1998-10-16 00:39:38 +00:00
mycroft 79a031f9d3 Configuration for new CVS server. 1998-10-16 00:30:53 +00:00
ross 5095710bae History. All alpha install options are integrated now. 1998-10-16 00:25:03 +00:00
ross 40020e5444 History. 1998-10-16 00:20:02 +00:00
ross dcd47d3361 hey hey hey, bye bye 1998-10-16 00:18:02 +00:00
ross 3707ad314c History. INSTALL is now used on the floppy set and combo CD/HD/tape image. 1998-10-16 00:15:15 +00:00
thorpej d937146240 Oops, finish the description of the "scan" bus command. 1998-10-15 21:51:23 +00:00
thorpej 3c5483a351 Fix a couple of usage strings. 1998-10-15 21:49:09 +00:00
thorpej 1bf971a883 Build scsictl. 1998-10-15 21:45:30 +00:00
thorpej c9a47c223b scsictl(8) - a program to manipulate SCSI devices and busses. Currently
supports:

Devices: identify, reassign blocks, reset

Busses: reset, scan for devices

Coming soon, device formatting, mode page editing, device freeze/thaw, etc.
1998-10-15 21:44:39 +00:00
thorpej 7490553d67 Add /dev/scsibus* device nodes. 1998-10-15 21:22:51 +00:00
drochner 5bdff43727 Initialize default disklabel properly: Whole disk is RAW_PART, not 'a'. 1998-10-15 19:08:33 +00:00
drochner 337bfd46a5 change handling of libkern:
-sys/lib/libkern builds as library per default (as it was documented all
 the time)
-ports able to LKM set "KERN_AS=obj" explicitely in their Makefiles
1998-10-15 18:46:37 +00:00
drochner 2468738337 change handling of libkern:
-sys/lib/libkern builds as library per default (as it was documented all
 the time)
-ports able to LKM set "KERN_AS=obj" explicitely in their Makefiles
 (for now; should depend on actual "option LKM" or -better- functions
 included for LKM use should be pulled in by a stub)
-always link libcompat before libkern - libkern stuff can be referred to
 by libcompat, but not the other way
1998-10-15 18:37:13 +00:00
bad 34f348a9e4 Work around gcc warning. 1998-10-15 18:01:49 +00:00
ws f82918b49b Add int13 extension support 1998-10-15 15:28:22 +00:00
bad 50aa1b9d51 Add the IDT WinChip C6 to the cpu type table. 1998-10-15 15:26:01 +00:00
ws 1cd9ec3c71 Separate master bootcode from fdisk. 1998-10-15 15:23:23 +00:00
ws 3cdac6d69c Separate master bootcode from fdisk.
Add int13 extension support to master bootcode.
1998-10-15 15:22:13 +00:00
tsubai 3b892dd579 /chaos/control support. (tested 640x480 mode only) 1998-10-15 14:48:47 +00:00
tsubai 810fcde7eb Set PCI bus number correctly. 1998-10-15 14:39:53 +00:00
bad 28b3386649 Add CPUVENDOR_IDT and CPU_C6. 1998-10-15 13:40:33 +00:00
drochner 452c73a1a2 Prevent sscanf() from overflowing its output buffer(s) if the input
string contains a hostname longer than 255 chars.
Truncates silently now - still better than crashing.
1998-10-15 12:34:21 +00:00