summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Don't attempt to print the statistics for a "clean" preened filesystembde1997-12-203-3/+3
| | | | | | | | | | | when there isn't even a filesystem. Attempting to print them tended to cause SIGSEGV or SIGFPE depending on how far setup() got before it returned 0. This was broken in the previous revision by removing a return statement that the previous case depended on falling into. PR: 4840 (fixed by this commit) PR: 2537 (possibly fixed by Lite2 merge and later changes. setup() does more checking now)
* Added zgrep.libz. This version of zgrep(1) depend on awosch1997-12-202-2/+27
| | | | grep(1) linked with libz.
* Added a sparc category to the list.wosch1997-12-201-0/+1
|
* Added builtin decompression using zlib library, option -Z.wosch1997-12-203-67/+131
| | | | | | | | | | | | | | | | | | | | | | | Enabled this new feature with the makefile variable GREP_LIBZ. If you don't like it, compile with `make GREP_LIBZ='. grep + zlib has several advantages: - the shell script zgrep(1) will be basically a one line exec grep -Z "$@" - no shell script, no bugs. The current zgrep implementations have many bugs and some grep options are no supported. - no shell script, no security risks. - it is a magnitude faster than a shell script Also fixed: 0 -> STDIN_FILENO Close a file descriptor only if the open call was successfully. It does not hurt for the open(2) function, but the gzclose(3) function died in free() to free up (not) allocated memory.
* Add some copyright and license terms, at Jordan's request. Note thatsef1997-12-208-8/+234
| | | | syscall.h just refers to another file for the copyright notice.
* Add a copyright and license notice, on Jordan's request.sef1997-12-201-1/+33
|
* Add a copyright and license statement, at the request of Jordan.sef1997-12-201-1/+33
|
* Remove bogus #ifdef INET - SLIP doesn't compile without INET.eivind1997-12-201-3/+1
|
* Make the class code checks in function pci_cfgcheck less strict.se1997-12-206-12/+12
| | | | | | | | | It failed to recognize the PCI bus in a system that had only an old chip-set (class code 000000) and a Cyclom multiport serial card on PCI bus 0, but no VGA card or disk or network controller. PR: i386/5300 Submitted by: Nickolay N. Dudorov <nnd@itfs.nsk.su>
* Change errno usage as a field in a structure and as an argument to ajb1997-12-202-28/+28
| | | | | function from 'errno' to 'error' so that there is no conflict with the thread-safe definition of errno in errno.h.
* Clear the p_stops field on change of user/group id, unless the correctsef1997-12-206-27/+58
| | | | | | | | | flag is set in the p_pfsflags field. This, essentially, prevents an SUID proram from hanging after being traced. (E.g., "truss /usr/bin/rlogin" would fail, but leave rlogin in a stopevent state.) Yet another case where procctl is (hopefully ;)) no longer needed in the general case. Reviewed by: bde (thanks bruce :))
* Sync with sys/i386/conf/Makefile.i386 revision 1.106.kato1997-12-202-6/+8
|
* Never create the destination directory at install time.bde1997-12-201-60/+12
| | | | | | Don't build things at install time. Don't override the (correct) clean rule. Rewrote all the rules and cleaned up.
* Ifdefed some conditionally used declarations.bde1997-12-202-2/+6
|
* Removed a stray semicolon.bde1997-12-201-2/+1
|
* Added a used include.bde1997-12-204-24/+36
| | | | Fixed a gratuitous ANSIism and nearby KNF violations.
* Fixed a sloppy common-style declaration.bde1997-12-202-1/+4
| | | | | | natm_pcb.c: Include <sys/socketvar.h> which will be used when M_PCB is declared in the right place.
* Fixed gratuitous ANSIisms.bde1997-12-202-4/+7
|
* Handle the ``maintenance'' case better.bde1997-12-191-11/+19
| | | | Fixed some style bugs.
* Don't use ANSI string concatenation to misformat a string.bde1997-12-193-15/+15
|
* Removed a stale comment. (We don't declare ip_len and ip_offset asbde1997-12-191-5/+1
| | | | | short. I guess we depend on bogus ANSI value-preserving extension of u_short to int to avoid unsigned comparison bugs.)
* Use __inline instead of inline to prevent pedantic compiler warnings.bde1997-12-193-12/+12
|
* Removed some bogus casts.bde1997-12-191-3/+3
|
* Fixed some FUD (don't blame current msdosfs for old msdosfs+vfs_bio bugs).bde1997-12-193-24/+51
|
* Add Japanese EUC time definitionsjulian1997-12-194-1/+260
| | | | Submitted by: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
* Fixed the termcap 3.0 hacks. They were very broken in my configurationbde1997-12-191-10/+11
| | | | | | | where shared libraries are in /lib and almost everything is linked shared. First, they removed the old shared library before installing the new one. Second, they attemped a cross-device link from /lib to /usr/lib/compat.
* Add an entry for SKIP, and update the pointer to the new reference source.julian1997-12-191-2/+3
|
* Comment that long double is poorly implemented, not that it is unimplemented.bde1997-12-191-2/+3
|
* Put the .PATH statement first as in all other libc Makefile.inc's.bde1997-12-191-3/+2
|
* Format the MLINKS statement the same as in most other libc Makefile.inc's.bde1997-12-191-2/+3
|
* Use '.\' and not '/* */' for troff-comments.helbig1997-12-191-34/+33
|
* Exec dmesg and awk to print everything in the message bufferbde1997-12-193-3/+30
| | | | | | | | following "panic:" or "Fatal trap". `panicstr' is still printed, although it is redundant if there is a valid message buffer and incomplete if it contains `%'s. I think the awk command belongs here and not in a script since a standard format with complete messages is good for bug reports.
* Don't print "Making info file ...' except in verbose mode.bde1997-12-191-1/+1
|
* Backed out all FreeBSD changes. They are unnecessary now that bfdbde1997-12-191-7/+0
| | | | | | understands kernels. Reviewed by: jdp
* Override gdb's version of N_TXTADDR() with the (new) system versionbde1997-12-191-3/+19
| | | | | | | so that gdb gets the text address right for kernels. Override some other macros to get a consistent set. Reviewed by: jdp
* Made N_TXTADDR() work for kernels (assume that a ZMAGIC file with anbde1997-12-191-2/+6
| | | | | | | out of bounds a_entry is a kernel and use the usual kludge to find the text address). If gdb had used this, it would have been able to find the kernel text address properly. Unfortunately, it uses its own a.out macros, so this is mainly an example for gdb to copy.
* Don't strip trailing slashes (for the initial rmdir). It breaksbde1997-12-191-9/+1
| | | | | | | | | | | | | | | | | following of the symlink for `rmdir symlink/' and is unnecessary for ordinary directories (POSIX doesn't require rmdir(1) to do anything for trailing slashes; it requires rmdir(2) to let them "refer to a directory", and following the symlink for symlink/ is what BSD does). This also fixes bugs in the slash-stripping code (for paths consisting entirely of slashes, the pointer into the string was decremented to "before" the beginning of the string, and the path was at best stripped to "". The behaviour is unchanged except for the final directory for `rmdir -p ...'. There is no alternative to stripping intermediate slashes since they must be specified. The sloppy slash-stripping code is adequate for intermediate directories, since the all-slashes case fails early.
* MALLOC->mallocache1997-12-191-3/+3
| | | | Suggested-by: bde
* Set the sender's low watermark to match the maximum size for atomicbde1997-12-192-2/+4
| | | | writes that we advertise (PIPE_BUF = 512).
* Only remove ${CLEANFILES} in the default clean rule. In particular,bde1997-12-191-18/+16
| | | | | | | | | | | | | | | | | | don't remove a.out explicitly. a.out should only be generated for libraries and is removed in the non-default rule in bsd.lib.mk. Removed undocumented cleanfiles target. It was the same as the default clean target except it didn't descend into subdirs. It was different from special clean targets in other ways. This feature hasn't been missed for more important targets. Removed unused default cleandepend target. bsd.dep.mk has a better version which is always used. Use a better rule for checkdpadd in the BINFORMAT=aout case. This mainly checks that ld -f is working correctly. The old rule is still available via `make BINFORMAT=foo checkdpadd' and should be used to check for regressions under 2.2 where ld -f is not available.
* Reset our "ifaddr" to zero if the "set ifaddr" fails inbrian1997-12-191-2/+4
| | | | | -auto mode. This makes ppp correctly exit if you kick it off twice in auto mode with the same label (read: interface).
* Change bogus usage of btoc to atop. The incorrect usage of btoc wasdyson1997-12-191-13/+12
| | | | pointed out by bde.
* The ``super scsi'' device is /dev/scc.brian1997-12-193-7/+16
| | | | I'm not sure it's fully functional though !
* Fixed namespace pollution in previous commit.bde1997-12-191-5/+3
| | | | Merged KERNEL ifdefs.
* SUNIT: use MALLOC/FREE and M_NOWAITache1997-12-191-4/+8
|
* Some performance improvements, and code cleanups (including changing ourdyson1997-12-1911-31/+479
| | | | expensive OFF_TO_IDX to btoc whenever possible.)
* If the peer asks for IP 0.0.0.0, choose an IP ourselvesbrian1997-12-191-2/+3
| | | | | without looking for it in our IP list (and if found, trying to ifconfig it!).
* Fix an incredibly horrible bug in the ipfw codejulian1997-12-193-11/+16
| | | | | | | | where if you are using the "reset tcp" firewall command, the kernel would write ethernet headers onto random kernel stack locations. Fought to the death by: terry, julian, archie. fix valid for 2.2 series as well.
* Correct the check for multiword dma. It was incorrectly checkingdyson1997-12-191-2/+2
| | | | | for multiword dma mode 4 (which doesn't exist.) Submitted by: John Hood
* Augment $PATH to ensure searching of /sbin and /usr/sbin for sysctlbde1997-12-183-9/+12
| | | | | instead of using an absolute path to sysctl. Problem reported by: ache
OpenPOWER on IntegriCloud