Commit Graph

14354 Commits

Author SHA1 Message Date
wosch
a3f1095925 remove MLINKS regcomp.3 regexec.3 regerror.3 due name clash with libc 1996-05-27 22:52:24 +00:00
wosch
7d3023df29 update SEE ALSO section 1996-05-27 22:46:44 +00:00
ache
d7356b68c3 Localize it.
off_t -> long.
Install strfile & unstr
-Wall cleanup
Fix matching bug with offensive database
1996-05-27 22:43:43 +00:00
gpalmer
a29ea57fbc Clean up the warnings produced by the recent PCI code. Requested by
SE since he doesn't have good access right now
1996-05-27 22:32:23 +00:00
jkh
9c8f798c16 Catch and DTRT with SIGPIPE 1996-05-27 22:12:05 +00:00
joerg
f4850c6678 Make it more explicit in the main help window that the magic to leave
`ee' is ``ESC-Enter''.  This supposedly fixes the biggest complaint
about it. ;)

(I hope ``ESC-Enter'' ain't too anglicistic in the French text...)
1996-05-27 21:00:06 +00:00
jdp
4d2ee3eb28 Zero out an unused field in a structure that is written to the output
file.  The field formerly contained random garbage, leading to spurious
differences between otherwise identical executables and libraries.

Submitted by:	Bruce Evans <bde@freebsd.org>
1996-05-27 18:06:02 +00:00
jdp
3b18605e22 Fix a bug in the mbufs display, seen when there was a large number
of mbufs in use.  If the number reached, e.g., 4 digits, then later
decreased to 3 digits, the last digit of the 4-digit number was
not erased.  This caused the display to show a wildly high number of
mbufs in use.
1996-05-27 17:47:09 +00:00
peter
8040b006bf Remove this version, it now comes from libc. 1996-05-27 11:02:40 +00:00
peter
2a9f7971a3 This version is no longer needed, and probably better off gone. It
tried to parse the format string to estimate how much space it needed.
It didn't know all of the formats..
1996-05-27 11:01:09 +00:00
peter
efadb5e609 Add an implementation of the gnu-ish asprintf() and vasprintf(). They are
not based on gpl'ed code, just prototype and usage.  I'm not 100% certain
they behave the same while the system is in trouble (eg: malloc() failing)
but in those circumstances all bets would be off anyway.

These routines work like sprintf() and vsprintf(), except that instead of
using a fixed buffer, they allocate memory and return it to the user
and it's the user's responsibility to free() it.  They have allocate as
much memory as they need (and can get), so the size of strings it can deal
with is limited only by the amount of memory it can malloc() on your
behalf.

There are a few gpl'ed programs starting to use this interface, and it's
becoming more common with the scares about security risks with sprintf().
I dont like the look of the code that the various programs (including
cvs, gdb, libg++, etc) provide if configure can't find it on the system.

It should be possible to modify the stdio core code to provide this
interface more efficiently, I was more worried about having something
that worked and was secure.  :-)  (I noticed that there was once intended
to be a smprintf() routine when our stdio was written for 4.4BSD, but it
looks pretty stillborn, and it's intended interface is not clear).  Since
Linux and gnu libc have this interface, it seemed silly to bring yet
another one onto the scene.
1996-05-27 10:49:43 +00:00
ache
16788d006b Find caesar and strfile properly.
Generate .dat files on build state
1996-05-27 09:31:46 +00:00
ache
35e5dcbb9f Use valid ctype range now.
Includes cleanup
Misc. cleanup
Use absolute path in rot13 wrapper.
1996-05-27 08:50:53 +00:00
scrappy
3e50b15114 Removed false copyrights... 1996-05-27 06:54:03 +00:00
phk
dd6016026d Cleanup the last of the assembly time "-KERNBASE" relocations. 1996-05-27 06:51:46 +00:00
peter
4352680174 Fix the warnings about "cant inline call to xxx" by reordering two
functions.  It seems gcc wants to have seen the definitions of the
function before it will insert it inline in a caller.
1996-05-27 06:02:52 +00:00
scrappy
5a788dc6e9 Added in appropriate Berkeley copyright and RCS Id: string
Closes PR#doc/536
1996-05-27 04:10:28 +00:00
ache
62de23951b Add my PGP key 1996-05-27 02:33:13 +00:00
peter
ba3e035290 This commit was generated by cvs2svn to compensate for changes in r15920,
which included commits to RCS files with non-trunk default branches.
1996-05-27 01:41:12 +00:00
peter
28012a479c Import the 4.4BSD-Lite2 /bin/sh sources
Requested by: joerg

(Note, this is mostly going to be conflicts, which is expected.  Our entire
 sh source has a mainline, so this should not change anything except for
 a few new files appearing.  I dont think they are a problem)
1996-05-27 01:41:12 +00:00
asami
2cec235ffe Added John Capo <jc@irbs.com> for his contribution of
ports/games/xroach/patches/patch-ab.

Also remove lone dash between John Hay's name and his e-mail address.
1996-05-27 01:15:29 +00:00
wosch
c2fa1d8488 remove unknown word ``unknowen''. Close PR docs/1239
Submitted by: Cove Schneider <cove@brazil.nbn.com>
1996-05-27 01:07:57 +00:00
jkh
989ab4d30b There's no -p flag to our diff. 1996-05-26 22:27:52 +00:00
scrappy
18de1334a2 added missing semicolon
Submitted by:	 Jeffrey Hsu <hsu@freefall.freebsd.org>
1996-05-26 22:05:36 +00:00
jkh
ff892d71a9 Fix some argument ordering and redundancy bogons. 1996-05-26 21:56:24 +00:00
scrappy
665b426826 Changed printf for reporting transfer stats from using %.2g to %.2f to
get rid of "scientific notation" reporting (PR#bin/329)

Added a switch so that if bytes/sec > 1Meg/sec, report in Meg/sec instead
of Kbytes/sec
1996-05-26 21:12:50 +00:00
scrappy
dbafed7658 Applied patch to close PR#bin/199
Submitted by:	Toshihiro Kanda <candy@kgc.co.jp>
1996-05-26 20:28:05 +00:00
joerg
34b56f75a0 The rs(1) command dumps core with the -s option (SIGSEGV)
(Fix a rangecheck condition.)

Closes PR # bin/1244: rs(1) dumps core with -s
1996-05-26 18:26:55 +00:00
joerg
38c7eda995 Add my PGP key, now that Jordan has forced me to deal with PGP. :) 1996-05-26 18:25:11 +00:00
phk
602be558e0 If tunnel is busy we return EBUSY, not ENXIO. 1996-05-26 17:04:48 +00:00
dyson
76657c36bf Fix a couple of problems in the pageout_scan routine. First, there is
a condition when blocking can occur, and the daemon did not check properly
for a page remaining on the expected queue.  Additionally, the inactive
target was being set much too large for small memory machines.  It is now
being calculated based upon the amount of user memory available on every
pageout daemon run.  Another problem was that if memory was very low, the
pageout daemon could fail repeatedly to traverse the inactive queue.
1996-05-26 07:52:09 +00:00
dyson
1ccb98e677 I think this covers (fixes) the last batch of freeing active/held/busy page
problem.  BY MISTAKE, the vm_page_unqueue (or equiv) was removed from the
vm_fault code.  Really bad things appear to happen if a page is on a queue
while it is being faulted.
1996-05-26 05:30:33 +00:00
wosch
b92060566b Add some comments for variables and targets. 1996-05-25 23:09:49 +00:00
wosch
f97ab845cd speedup MLINKS 1996-05-25 21:50:54 +00:00
wpaul
5dbd2bd2b3 Fix the -l flag. For some reason I can't fathom, I left in some code
that would cause it to fail if anyone but the superuser tried to use it.

Also fix a couple of harmless typos since I'm in the area.
1996-05-25 01:05:17 +00:00
peter
1257227edf Nuke the undocumented -F flag, since it doesn't do anything anymore.
It used to allow root to hard-link directories (and screw up programs that
expexted the ".." entry to point to the parent dir)
1996-05-24 20:36:16 +00:00
jfieber
983539e216 Fix a couple things that tripped up latex output. 1996-05-24 19:33:33 +00:00
peter
4cb2ab24d7 Document that the superuser cannot override link() and unlink() on
directories, and mention that it was historical practice.
1996-05-24 16:32:11 +00:00
peter
7cfaad23ad Dont allow directories to be link()ed or unlink()ed, even for root
(returns EPERM always, the errno is specified by POSIX).

If you really have a desperate need to link or unlink a directory, you
can use fsdb. :-)

This should stop any chance of ftpd, rdist, "rm -rf", etc from
bugging out and damaging the filesystem structure or loosing races
with malicious users.

Reviewed by: davidg, bde
1996-05-24 16:19:23 +00:00
bde
cd8bcb6083 Fixed oops in previous change. 1996-05-24 15:35:36 +00:00
bde
e76b8b78f2 Fixed SRCS so that `make depend' works. 1996-05-24 15:33:25 +00:00
gibbs
2c46f09d45 Properly determine the offset of the remaining bytes we need to transfer
after outsl'ing all the long words we can during transmission in 32bit mode.

Closes PR:i386/1243
Submitted by:	flash@eru.tubank.msk.su
1996-05-24 15:22:36 +00:00
dyson
2291e10ecb Make sure that we don't place a busy or held page onto the PQ_CACHE queue. 1996-05-24 05:21:58 +00:00
dyson
133ef4ed9b Add an assert to vm_page_cache. We should never cache a dirty page. 1996-05-24 05:20:15 +00:00
dyson
dbda40fe08 Add apparently needed splvm protection to the active queue, and eliminate
an unnecessary test for dirty pages if it is already known to be dirty.
1996-05-24 05:19:15 +00:00
dyson
79921fcd69 Eliminate inefficient check for dirty pages for pages in the PQ_CACHE
queue.  Also, modify the MADV_FREE policy (it probably still isn't the final
version.)
1996-05-24 05:17:21 +00:00
dyson
0552a69b2e Make the conversion from the default pager to swap pager more robust
in the face of low memory conditions.
1996-05-24 05:14:44 +00:00
dyson
6a37fdf571 Change the *evil* allocation of memory from kmem_map to the kernel_map.
This will mess things up especially recently.
1996-05-24 01:39:50 +00:00
julian
79e83a41ce Obtained from: netatalk distribution netatalk@itd.umich.edu
Kernel Appletalk protocol support
both CAP and netatalk can make use of this..
still needs some owrk but  it seemd the right tiime to commit it
so other can experiment.
1996-05-24 01:35:45 +00:00
wollman
ec002a7864 Add an incremental checksum update routine. Perhaps some i386 assembly
guru out there can find a way to take advantage of little-endianness to
make this computation more efficient.  (I am certain that it can be done,
but haven't managed to make it work myself.)
1996-05-23 20:11:48 +00:00