summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Install sysctl in /sbin. It is used in some cases in network_pass1(),bde1997-12-182-0/+8
| | | | before /usr is mounted if /usr has type nfs.
* Removed extra (non-trailing) arg in a call to warnx().bde1997-12-181-2/+2
|
* Fixed missing dependency on version.c.bde1997-12-181-5/+6
| | | | Fixed some style bugs ($@ is not recommended ...).
* Oops, the previous patch was botched.bde1997-12-181-2/+1
|
* Fixed a missing splx(s) bug in tcp_usr_send().dg1997-12-181-2/+3
|
* Call in_pcballoc() at splnet(). As near as I can tell, this won't fixdg1997-12-182-8/+18
| | | | | any instability problems, but it was wrong nonetheless and will be required in an upcoming round of PCB changes.
* Typo.charnier1997-12-181-2/+2
|
* Add missing references to Xcpuast, get_isrlock and checkstate_probed_cpuspeter1997-12-181-1/+4
|
* Replacebrian1997-12-183-6/+9
| | | | | | | | | | | | | strcpy(a, b); /* a and b are the same size */ with strncpy(a, b, sizeof(a)); a[sizeof(a)-1] = '\0'; Making the code `correct at a glance'. Suggested by: Theo de Raadt <deraadt@cvs.openbsd.org>
* "No reply from ppp" -> "Connection closed".brian1997-12-181-2/+2
| | | | | "No reply" sounds like the message didn't get through (for example when you `pppctl xxxx quit all'.
* Don't log the actual password when command-loggingbrian1997-12-183-5/+42
| | | | "passwd xxxx".
* Don't depend on a u_long being 32 bits.brian1997-12-171-6/+9
| | | | Pointed out by: Theo de Raadt <deraadt@cvs.openbsd.org>
* char filename[200] => char filename[MAXPATHLEN]brian1997-12-171-2/+2
| | | | Pointed out by: Theo de Raadt <deraadt@cvs.openbsd.org>
* Log the source of client connections to the diagnostic port.brian1997-12-171-8/+32
| | | | | | | Disallow connections from port numbers <1024 as low port numbers can only really mean trouble (ftp bounces etc.). Discussed at length with: Theo de Raadt <deraadt@cvs.openbsd.org>
* Remove useless comparison.brian1997-12-171-3/+1
|
* If we've got a descriptor table that's bigger than anbrian1997-12-171-1/+12
| | | | | | | | fd_set, make sure that all descriptors >2 are closed when we start - otherwise we're asking for a dump in FD_SET(). Problem pointed out by: Theo de Raadt <deraadt@cvs.openbsd.org>
* o Log ******** instead of the actual password for "set authkey"brian1997-12-174-43/+197
| | | | | | | | | | | | when command logging is switched on. o Display ******** for the authkey for "show auth" o Document how \P should be used, and document the other chat escapes while I'm there. o Make sure the full command is displayed when a compound command fails - ie, "set novar rubbish" should say "set novar: Invalid command" rather than "novar: Invalid command" Problem pointed out by: Theo de Raadt <deraadt@cvs.openbsd.org> (among others)
* <bsd.prog.mk> has always included ../Makefile.inc, and there are nobde1997-12-171-3/+1
| | | | complications involving .PATH or dependencies, so don't include it here.
* <bsd.prog.mk> has included ../Makefile.inc for a long time, and therebde1997-12-171-2/+1
| | | | | are no complications involving .PATH or dependencies, so don't include it here.
* <bsd.prog.mk> has always included ../Makefile.inc, and there are nobde1997-12-173-4/+3
| | | | complications involving .PATH or dependencies, so don't include it here.
* Add -Wno-unused so that ``make world'' can complete successfully.wollman1997-12-172-4/+4
| | | | | | GCC suppresses the warning for ``standard'' header files, but since the headers do not come from the ``standard'' place in a ``make world'', GCC doesn't get it.
* BSDify.bde1997-12-172-32/+0
|
* <bsd.doc.mk> now includes ../Makefile.inc, so don't include it here.bde1997-12-177-14/+7
|
* Oops, rm -f can't handle empty lists.bde1997-12-171-1/+5
|
* DPADD repairs suggested by Bruce Evans <bde@zeta.org.au>cwt1997-12-175-11/+13
|
* Oops, rm -f can't handle empty lists.bde1997-12-171-1/+3
|
OpenPOWER on IntegriCloud