Commit Graph

17000 Commits

Author SHA1 Message Date
wpaul
d7c6b63ef7 Add hooks for rpc.ypxfrd in /etc/sysconfig and /etc/rc. Also change
a couple of benign cases of 'yppasswdd' to 'rpc.yppasswdd.' (Like
rpc.yppasswdd, rpc.ypxfrd should only be run on NIS master servers.)
1996-10-21 20:09:30 +00:00
phk
edf93e27ef unset TZ from the environment so the timestamp gets the system default,
which is what syslogd presumably uses too.  Notice that the "protocol"
is bogus in not defining the timezone. "protocol" because it hardly
deserves the name :-)

closes bin/1739

Reported by:	Stefan Zehl <sec@wg.camelot.de>
1996-10-21 19:51:34 +00:00
phk
b647589535 dumpfs blindly trusts that it has been handed a filesystem.
If the magic is bad, don't waste our time.

Submitted by: Giles Lean Giles Lean <giles@nemeton.com.au>
Obtained from: NetBSD PR bin/249
1996-10-21 19:40:01 +00:00
joerg
4256f5443c Correct the SYNOPSIS section of the man page to add the -p option. 1996-10-21 18:04:42 +00:00
nate
3667cd0575 When compiling with '-Wall -pedantic', the byte swapping macros gave the
following warning:
  warning: ANSI C forbids braced-groups within expressions

Adding __extension__ before the statement-expression seems to work right.

Submitted by:	bde (a *long* time ago)
1996-10-21 17:15:05 +00:00
dfr
dacf99d400 If a large (>4096 bytes) directory was modified, the old directory
contents are discarded, including the cached seek cookies.
Unfortunately, if the directory was larger than NFS_DIRBLKSIZ, then
this confused nfs_readdirrpc(), making it appear as if the directory
was truncated.

Reviewed by:	Karl Denninger <karl@Mcs.Net>
1996-10-21 10:07:52 +00:00
phk
d225820440 Don't access stuff we have realloc()'ed using the old pointer.
This is a sample of a new class of malloc usage errors that the
Junk option to phkmalloc will expose.

Found by: phkmalloc.
1996-10-21 08:51:58 +00:00
peter
8fd01a136e Implement a -c option to ps to display the short command name instead of
the full argument vector.

I've bumped into a few things that expected this switch to be present,
the most recent was the snmp package in ports.  I'm not 100% sure of the
origins of this, but Linux has it, so does the "BSD-compatable" version
of ps on our SVR4 systems (so I assume SunOS has it too).
1996-10-21 07:30:26 +00:00
alex
0392fde426 Fix signed/unsigned comparison warnings.
Reviewed by:	bde
1996-10-20 21:01:46 +00:00
wpaul
9e76d64e1d Add a couple of reserved port checks: don't talk to either ypserv
or rpc.ypxfrd processes on remote systems that aren't bound to reserved
ports. The servers already do reserved port checks on the clients.

Obtained from: scrutinizing the OpenBSD ypxfr sources. (Note that this
applies to the ypserv check only; OpenBSD doesn't have an rpc.ypxfrd.)
1996-10-20 19:52:53 +00:00
phk
dcf9bf8b91 Removing old isdn stuff. 1996-10-20 18:35:35 +00:00
phk
ea3476f34d Removing old isdn stuff. 1996-10-20 18:24:17 +00:00
phk
64291ea9ab removing old isdn stuff. 1996-10-20 18:16:49 +00:00
pst
7fae940052 Fix a YTK bug. 1996-10-20 17:55:36 +00:00
wosch
22623bf1c5 Better case insensitve search support for pattern with meta chars.
In some rare cases this does not work proper before flag FNM_ICASE was
added to fnmatch(3).
1996-10-20 16:54:51 +00:00
wosch
085d68ca3b add flag FNM_ICASE for case insensitve search
Reviewed by: ache
1996-10-20 15:15:59 +00:00
phk
f19270888a Add four sysctl variables that joerg wanted. 1996-10-20 15:01:58 +00:00
phk
dcce35102d malloc_pages should be static.
Add progname to warning/error message layout. (joerg)
Remove inline assembler, no speed impact, not need for the obfuscation (bde)
Remove on the fly calculation of parameters, no longer critical.
Make D & U flags valid even if we don't support them.
Don't call imalloc until we're done initializing.
Zap contents on free() if we have "Junk" set. [*]
Various nitpicking.

[*] As a sideeffect of this change, if you are worried about
sensitive data lingering in memory, you can use the 'Junk' option
now to make sure phkmalloc zaps memory when it is returned.  add
	char * malloc_options = "J";
to your source.  Obviously there is a performance impact.
1996-10-20 13:20:57 +00:00
joerg
21bccdcd4a Make it clear that a vendor-branch import adds something to the
existing sources.

Requested by: markm
1996-10-20 13:14:40 +00:00
joerg
0c6cd17945 Make pstat -s (aka. sswapinfo) print ``[NFS]'' as opposed to
``/dev/??'' for NFS swap.

I had a hard time to figure out whether it's possible to print the
actual mounted swap file, but i failed to get any information.  If
anybody knows how to get ``192.168.0.1:/swap.192.168.0.3'' instead,
please step forward!
1996-10-20 12:54:55 +00:00
markm
57827baa10 Add upgrade instructions.
Stolen from: contrib/libpcap/FREEBSD-upgrade
1996-10-20 09:49:53 +00:00
markm
a47242683d BMakefile for gmp-2.0.2
Requested by: ache
Made world by: chuckr
1996-10-20 09:29:39 +00:00
markm
3a4806fc83 BMakefiles for gmp-2.0.2
Requested by: ache
Made world by: chuckr
1996-10-20 09:28:03 +00:00
markm
191d37d3c0 Remove the old libgmp. Version 2.0.2 is about to hit prime time. 1996-10-20 09:23:44 +00:00
markm
3584481e42 Remove the old libgmp. Version 2.0.2 is about to hit prime time. 1996-10-20 09:11:57 +00:00
markm
9bfa8d653a This commit was generated by cvs2svn to compensate for changes in r19048,
which included commits to RCS files with non-trunk default branches.
1996-10-20 08:49:26 +00:00
markm
6ec01646dc Clean import of libgmp 2.0.2, with only the non-x86 bits removed.
BMakefiles and other bits will follow.

Requested by:	Andrey Chernov
Made world by:	Chuck Robey
1996-10-20 08:49:26 +00:00
markm
49cb308433 This commit was generated by cvs2svn to compensate for changes in r19045,
which included commits to RCS files with non-trunk default branches.
1996-10-20 08:09:18 +00:00
markm
95051df139 Import of GNU MP 2.0.2
This is a clean import with only the non-x86 bits removed. Makefiles and
other will follow.

Requested by:	Andrey Chernov
Made world by:	Chuck Robey
1996-10-20 08:09:18 +00:00
alex
185f1c9db8 Update email address for John-Mark Gurney (send-pr had recorded the
wrong address because it failed to use REPLY_TO).
1996-10-20 02:44:23 +00:00
roberto
eb25ef83ba Add an entry about slow starting SCSI CD-ROM:
When I booted my system without the above option, the CDROM could not
respond in time to the bootup probe of devices and was "missed".  When
I tried to access the device I got the "Device not configured" error
message.  I rebuilt the kernel with the SCSI_DELAY option and the
problem went away.

Submitted by:	Jon Wallace <adrl@whoweb.com>
1996-10-19 23:13:36 +00:00
pst
a2509b861e Restore ache's km addition to syscons 1996-10-19 22:50:25 +00:00
pst
620849a972 Restore XTERM definition to old definition + KM 1996-10-19 22:47:50 +00:00
alex
ab0e4951ed Invoke weekly.local and monthly.local if they exist.
Suggested by:	jkh
1996-10-19 21:52:16 +00:00
joerg
7153d808f5 Various fixes and FreeBSD modifications:
. remove the blubber about `submitter-id's from the man page, we don't
  use them,
. use REPLY_TO or REPLYTO in preference over LOGNAME as the value for
  the Reply-To address (closes PRs 1471 and its duplicates 1472 and 1823),
. don't abuse ~/.signature as ORGANIZATION, this is almost always
  useless blunder,
. actually list the Categories again, instead of xrefing to ``see
  above'' (closes PR 1835),
. check the Synopsis field for being not empty,
. make the mail Subject the same as Synopsis if left blank (closes
  PR 1209).

The remaining open send-pr related PRs (184 and its duplicate 1047,
and 1415) are pilot errors or local hardware problems.
1996-10-19 21:42:40 +00:00
alex
1e20509ade Added John-Mark Gurney for his new area code and /etc/daily.local
contributions (PRs 1731 and 1822).
1996-10-19 21:21:33 +00:00
alex
790bf75668 If /etc/daily.local is present, run it just before the security check.
Closes PR#1822.

Submitted by:	John-Mark Gurney <jmg@nike.efn.org> (w/some changes)
1996-10-19 21:03:23 +00:00
alex
f1cbbed9f1 Added Oregon's new 541 area code. Closes PR#1731.
Submitted by:	John-Mark Gurney <jmg@nike.efn.org>
1996-10-19 20:47:26 +00:00
alex
357e1b74cb Reword two comments. 1996-10-19 20:23:12 +00:00
jkh
ac2b3f6ae6 Install the rumors file.
Submitted-By: koshy@india.hp.com
Closes-PR#: 1883
1996-10-19 20:11:45 +00:00
ache
a4b239661b Add MM_CHARSET setting (MIME charset), it is good for tin, metamail, etc.
Add mesg y
All things commented out
1996-10-19 20:02:40 +00:00
pst
a653e669bc Recent ppp changes broke make release. :-( 1996-10-19 17:10:28 +00:00
joerg
409d475e8d Remove the arbitrary limit for the line length in /etc/ttys, and make
the buffer dynamic.

Closes PR # misc/1838: getttyent() arbitrary 100...
1996-10-19 16:29:10 +00:00
sos
57e112b256 Added brandelf to SUBDIR. 1996-10-19 09:08:41 +00:00
peter
0af664a5bd Back out most of the last backout. :-) Guido removed the 1.1.1.1->1.1.1.2
changes from the vendor branch as well, backing the db-1.82 changes.

This file should now be the same as it was in rev 1.1.1.2.
1996-10-19 01:34:25 +00:00
dg
d0ca57d30d Kill unnecessary test in coredump() that wasn't removed in rev 1.19
when the check for P_SUGID was added.
1996-10-19 01:06:20 +00:00
julian
34c3c63556 After prodding, add a BSD style copyright to those man pages I think
I probably originally wrote. Also take my name OUT of the ddb
man page.. I did NOT port it from mach.
1996-10-18 20:22:31 +00:00
guido
a19b5c7f81 Backout bzero patch.
Somehow, I also managed to get quite some other changes in this file at
the same time. All I did was checkout the file and  made a single change.
If someone has an explanation how these PURIFFY defines got in...
1996-10-18 19:56:51 +00:00
pst
9b1bc7965d Also reorder xterm-65, xterm-bold, et al 1996-10-18 18:57:48 +00:00
sos
69495a4e3d Changed mouse functionality a bit, now the pointer disappears if
there is keyboard input.
The mousepointer is shown again immediately if moved.

Also a function pointer used to install a userwritten extra
ioctl handler (sc_user_ioctl). This way its is possible to
install user defined videomodes etc etc. No further changes
should be in the kernel.
1996-10-18 18:51:37 +00:00