summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Do not exit on SIGINT in non-interactive shells, fixes PR 1206,cracauer1998-08-249-45/+92
| | | | | | | | | | | | | | | | | | | | | | | | | i.e. this makes emacs usable from system(3). Programs called from shellscripts are now required to exit with proper signal status. That means, they have to kill themself. Exiting with faked numerical exit code is not sufficient. Exit with proper signal status if script exits on signal. Make the wait builtin interruptable, both with and without traps set. Use volatile sig_atomic_t where (and only where) appropriate. (Almost) fix printing of newlines on SIGINT. Make traps setable from trap handlers. This is needed for shellscripts that catch SIGINT for cleanup work but intend to exit on it, hance have to kill themself from a trap handler. I.e. mkdep. While I'm at it, make it -Wall clean. -Wall is not enabled in Makefile, since vararg warnx() macro calls in usr.bin/printf/printf.c are not -Wall-able. PR: 1206 Obtained from: Basic SIGINT fix from Bruce Evans
* When exiting on SIGINT, exit with signal statuscracauer1998-08-246-11/+31
|
* Add atomic.s.dfr1998-08-242-2/+4
|
* Remove a useless ifdef which made struct disklabel have a differentdfr1998-08-243-15/+3
| | | | | size in kernel and user builds on the alpha and prevented various ioctls from working.
* Change various syscalls to use size_t arguments instead of u_int.dfr1998-08-2424-201/+714
| | | | | | | | | | Add some overflow checks to read/write (from bde). Change all modifications to vm_page::flags, vm_page::busy, vm_object::flags and vm_object::paging_in_progress to use operations which are not interruptable. Reviewed by: Bruce Evans <bde@zeta.org.au>
* Regnerate.dfr1998-08-246-13/+13
|
* Fix a few syscall arguments to use size_t instead of u_int.dfr1998-08-241-6/+6
|
* Add partial KLD support for ELF. The module loading is not written yet.dfr1998-08-242-0/+1006
|
* Re-implement tcp and ip fragment reassembly to not store pointers in thedfr1998-08-249-248/+215
| | | | | | ip header which can't work on alpha since pointers are too big. Reviewed by: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
* Don't try to run ldconfig if it doesn't exist. Useful for elf platforms.gpalmer1998-08-241-9/+11
|
* Use a relative path to bsd.kern.mk if the relative mk directory exists.bde1998-08-243-3/+15
|
* Support printf format checking of FreeBSD kernel formats %[Dbrz].bde1998-08-243-2/+69
| | | | | | | | | | | | This is enabled by the undocumented option -fformat-extensions. This option should be named better and/or give more control over the extensions. Fixed a message - don't warn about the field width when it's the precision that has the wrong type. Didn't fix excessive checking for the precision relative to the type - ANSI requires both to be ints, but gcc permits the field width to be either int or unsigned int.
* Removed support for the gcc-2.[0-4] keywords __dead and __pure. Theybde1998-08-241-22/+17
| | | | | | | | | | | | stopped being used in /usr/src almost 2 years ago. Don't pretend to support gcc-[3-infinity]. Added __printf0like(). Feature tests for the __printf0__ feature are problematic, so this can't be used for the err() family yet - it's only in recent versions of FreeBSD's hacked version of gcc. Added comments about __unused and __*like().
* Shut this thing up, like the other LKMsjkh1998-08-242-4/+4
|
* Fixed syntax errors (__dead should have gone away years ago, andbde1998-08-241-2/+2
| | | | __attribute__(()) is a gccism - we use __dead2).
* Fixed printf format errors. Only one left in LINT on i386's.bde1998-08-2432-160/+198
|
* Describe what constitues an exceptional condition.steve1998-08-241-0/+2
| | | | | PR: 7666 Submitted by: Archie Cobbs <archie@whistle.com>
* The host commandline option is -h and not -s.steve1998-08-241-2/+2
| | | | | PR: 7703 Submitted by: Yoshishige Arai <ryo2@on.rim.or.jp>
* * Check getopt()'s return with -1, not EOFobrien1998-08-238-22/+27
| | | | | | * protect a few potential buffer overflows Obtained from: NetBSD
* more files we don't need.obrien1998-08-231-0/+1
|
* Two more files FreeBSD doesn't need.obrien1998-08-231-1/+1
|
* upgrade instructions.obrien1998-08-231-0/+107
|
* This commit was generated by cvs2svn to compensate for changes in r38494,obrien1998-08-23153-0/+63365
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Virgin import of AMD (am-utils) v6.0a16obrien1998-08-23153-0/+63365
|
* remove bdevsw arg from dsopen();phk1998-08-2310-30/+22
| | | | | Forgotten by: julian Reviewed by: bde
* Use address space numbers to reduce TLB flushes.dfr1998-08-233-86/+198
|
* Quick hack to allow netstat to compile once more: ifdef out MT_SOOPTSgpalmer1998-08-231-1/+3
|
* Don't check minor number of dump device at all.des1998-08-233-16/+3
| | | | Discussed-with: Jörg Wunsch
* Enabled Lite2 fix for reading from dead ttys.bde1998-08-234-42/+6
|
* Fixed printf format errors.bde1998-08-238-16/+16
|
* Fixed printf format errors. `struct eisa_device' uses a strange typebde1998-08-232-16/+16
| | | | for the unit number (like most SCSI drivers).
* Fixed printf format errors.bde1998-08-232-37/+47
| | | | | | | Fixed style bugs in the int to u_long ioctl command arg changes. This driver doesn't use the u_foo BSDism. Don't smash ioctl command args back to int.
* Added D_TTY to the cdevswitch flags for all tty drivers. This is requiredbde1998-08-2326-186/+216
| | | | | | | | | for the Lite2 fix for always returning EIO in dead_read(). Cleaned up the cdevswitch initializers for all tty drivers. Removed explicit calls to ttsetwater() from all (tty) drivers. ttsetwater() is now called centrally for opens, not just for parameter changes.
* Removed cxpoll(). Just use ttpoll() like all other tty drivers. It'sbde1998-08-231-11/+1
| | | | | equivalent except for the bad-minor-number case (which probably can't happen).
* Attempt to fix my breakage of the alpha makebootarea() in rev.1.19.bde1998-08-232-14/+14
| | | | | The previous attempt just converted compile time breakage to runtime breakage.
* Yow! Completely change the way socket options are handled, eliminatingwollman1998-08-2341-1123/+1238
| | | | | | another specialized mbuf type in the process. Also clean up some of the cruft surrounding IPFW, multicast routing, RSVP, and other ill-explored corners.
* First cut (aka hack) at getting make release building on the alpha. Don'tgpalmer1998-08-231-1/+9
| | | | build floppies or kernels. The i386 release process should be unaffected.
* Pass me the pointy hat with the extra sequins. Just a moment, while I getmckay1998-08-221-6/+20
| | | | | | | | | it to sit right... The __error() hack gave out the wrong address. It returned the address of errno in ld.so instead of the address of errno in the main program. Oops. The hack is now correct, just in time to be obsoleted by elf.
* Correct/clarify some comments.mckay1998-08-221-3/+3
|
* Nuke unsupported architecture filesgpalmer1998-08-222-493/+0
|
* Building `compat' on alpha is meaningless (they are i386 libraries)gpalmer1998-08-221-2/+3
|
* Remove bogus unused code.dfr1998-08-221-17/+1
|
* Minor tweaks to track a couple of i386 changes and to make it compile.dfr1998-08-228-21/+38
|
* Try to make this compile on both alpha and i386gpalmer1998-08-212-4/+4
|
* Add BREAK_TO_DEBUGGER so that config stops whininggpalmer1998-08-212-2/+6
|
* Consolidate the two malloc()s that are done when allocatingbrian1998-08-213-20/+13
| | | | an mbuf.
* Make ``show mem'' display the number of packets allocated as well as thebrian1998-08-211-11/+15
| | | | number of octets.
* Fix ``lp=port@machine'' syntax and mention it in printcap(5).brian1998-08-212-3/+14
|
* Increase the number of descriptors (and, as a consequence, the numberwpaul1998-08-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of associated mbuf clusters) in the RX ring from 4 to 16. On my really fast PI 400Mhz test machines, 4 descriptors (and associated mbuf clusters) is enough to achieve decent performance without any RX overruns. However, one person reported problems with the following scenario: - P90 system running FreeBSD with a 3c905B-TX adapter, slow IDE hard disk (Quantum Bigfoot?) - PII 266 with SCSI disks running LoseNT and also with a 3c905B-TX - Both machines connected together via crossover cable at 100Mbps full-duplex - LoseNT machine writing largs amounts of data (2.5 GB work of files each in the neighborhood of 1 to 2 MB in size) via samba to the FreeBSD machine In this case, the LoseNT machine is sending data very fast. Apparently there weren't any problems initially because the user was writing to one particular disk which was relatively fast, however after this disk filled up and the user started writing to the second slower disk, RX overruns would occur and sometimes the RX DMA engine would stall after a 100 to 500MB had been transfered. The xl_rxeof() handler is supposed to detect this condition and restart the upload engine; I'm not sure why it doesn't, unless interrupts are being lost and the rx handler isn't getting called. This is still an improvement over the Linux driver, which uses 32 descriptors in its receive ring. :) Problem reported by: Heiko Schaefer <hschaefer@fto.de>
* Add "-P" display the id as a password file entry.obrien1998-08-212-6/+40
| | | | Submitted by: terry
OpenPOWER on IntegriCloud