Commit Graph

1694 Commits

Author SHA1 Message Date
pst
ce274bb1f0 typo shmrsh -> smrsh 1996-04-22 20:30:09 +00:00
pst
4ecfcaa972 Find official home of smrsh 1996-04-21 19:50:46 +00:00
pst
6ba3b3888d Enable proper installation of sendmail restricted shell smrsh(8).
This program is a wrapper for the prog mailer in sendmail.  It does shell
meta character masking and restricts the list of executables to those found
in /usr/libexec/sm.bin.

The default sendmail.cf file does not use this tool, however you can enable
it by either changing /bin/sh to /usr/libexec/smrsh or adding the line
FEATURE(smrsh) into your sendmail .mc file and rebuilding your .cf file.

For more info, RTFMP.
1996-04-21 19:48:07 +00:00
nate
2e949bee12 Fix usage: message to print out corrrectly.
Submitted by:	Tatsumi Hosokawa <hosokawa@mt.cs.keio.ac.jp>
1996-04-18 05:23:47 +00:00
nate
efde019e45 Added RCS Id and BSD-style copyrights to individual files. 1996-04-18 04:25:17 +00:00
joerg
0b01ed2e48 Mention swapinfo as .Nm, so it will be referenced by mkwhatis. 1996-04-17 20:50:44 +00:00
pst
eb637830c3 Fix a few bugs in argument processing.
Submitted by:	Timo Kokkonen <tjko@jyu.fi>
1996-04-17 08:57:50 +00:00
wpaul
fc6f345c4d NIS cleanups and fixes, the next generation, continued.
pwd_mkdb.c:

- Don't save the PLUSCNT and MINUSCNT tokens: we don't need them anymore.

- Count the + and - entires for NIS together instead of counting + and -
  entries seperately. Index all special NIS entries using new _PW_KEYYPBYNUM
  token.

pwd.h:

- Remove the PLUSBYNUM, MINUSBYNUM, PLUSCNT and MINUSCNT tokens and replace
  then with a single _PW_KEYYPBYNUM token.
1996-04-16 00:23:59 +00:00
bde
6c70f295f5 Implemented a new keyword `disable'. This should be useful for controlling
dangerous drivers in GENERIC.

Removed non-comments on #endifs in config.y.

Improved output formatting in mkioconf.c.
1996-04-13 19:57:38 +00:00
bde
13e9cefca0 Fixed a couple of format strings to match the change of pid_t from long
to int32_t.  I only fixed the ones that I noticed the warnings for.
Perhaps most of the format strings are correct now because they were
wrong before.  Except of course if int32_t isn't compatible with `int'.
1996-04-13 15:47:43 +00:00
jhay
31a4067a68 Accept and use the content of packets received that is bigger than the
Novell spec, but still only transmit according to the spec.
Add a feature to dump the RIP and SAP tables when a SIGINFO signal is
received.
1996-04-13 15:13:30 +00:00
jkh
2d5b4f754e 1. Update all the copyrights to delete useless clauses 3 and 4.
2. Change more of the menu code over to new system.
3. Streamline label editor.
1996-04-13 13:32:15 +00:00
joerg
cb414e0b3e Remove the legacy -d option from the arguments to mail.local in 4.4bsd. 1996-04-13 11:42:46 +00:00
scrappy
0015477a1b default to udp if no flags specified...closes PR#bin/759
- should this be documented in the man page?
1996-04-13 06:08:24 +00:00
mpp
13a1a11a24 Fix a typo.
Submitted by:	David Leonard <d@scry.dstc.edu.au>
1996-04-13 02:09:03 +00:00
wpaul
46def09244 Fix for memory leak: specify NULL as openinfo parameter when calling
dbopen() to open an NIS map.

Testing with very large maps (e.g. a sample password database with 31,000+
entries) has shown that ypserv will leak memory (ps shows RSS and VSZ
growing to 4000 pages or more) when performing repeated yp_next()s or
a yp_all(). The problem with yp_all() is not immediately obvious since
the ypproc_all service is handled in a child process which exits once
the transfer is finished, but with repeated yp_next()s (like what you
get when you use getpwent() to scroll through the password database),
the parent ypserv grows to enormous size and never shrinks again.

It seems this is related to the HASHINFO parameters I used in yp_dblookup.c,
which I actually stole from pwd_mkdb. Calling dbopen() with the default
parameters (specifying openinfo as NULL) fixes the problem.

I still need to see how this impacts the other NIS tools. I'm also
considering changing from hash to btree databases: the hash database
method doesn't support R_CURSOR, which means yp_next_record() has to
do a lot of ugly work in order to reach an arbitrary location in the
database.
1996-04-11 20:54:15 +00:00
dg
c86a38ea15 Fix editing mistake in last commit...sorry. 1996-04-11 08:24:04 +00:00
dg
7b2dcb887c Bugfix based on a kernel fix:
When PPP gets an uncompressed packet, it attempts to save off the TCP/IP
header for use in decompressing subsequant packets. If PPP gets garbage
(such as what happens when there is a port speed mismatch or modem line
noise), it will occasionally mistake the packet as a valid uncompressed
packet. When it tries to save off the header, it doesn't bother to check
for the validity of the header length and will happily clobber not only
the PPP VJC data structure, but parts of other process memory that happens
to follow it...causing, ahem, undesired behavior.
1996-04-11 08:14:44 +00:00
nate
a74b0e1caf Run indent on all these files to make them more readable. (I also went
through by hand and cleaned up some indent bogons.)
1996-04-10 06:49:32 +00:00
nate
438d9b3a8b Run indent on all these files to make them more readable. (I also went
through by hand and cleaned up some indent bogons.)
1996-04-10 05:45:39 +00:00
smpatel
4d30ab368e Fix a core dump when the user gives "-w" without an "=" 1996-04-10 00:53:22 +00:00
nate
451e7461a9 Remove a file no longer valid as the config file moved to /etc/pccard.conf. 1996-04-09 23:33:08 +00:00
nate
e624213da1 Cleanup useless stuff in Makefile and add a missing NOMAN target. 1996-04-09 23:31:51 +00:00
nate
3e7be51ef5 Removed original distribution files that are no longer valid. 1996-04-09 23:29:07 +00:00
scrappy
35b5c03864 Quick patch to fix a bug where issuing ctl-c while in crontab -e
leaves editor running in background (PR: bin/751)

Submitted by:	 candy@fct.kgc.co.jp (Toshihiro Kanda)
1996-04-09 20:28:16 +00:00
mpp
3c57dc7753 Correct some man page xrefs, and some other minor changes to bring some
man pages up to mdoc guidelines and fix some minor formatting glitches.
Also fixed a number of man pages to not abuse the .Xr macro to
display functions and path names and a lot of other junk.
1996-04-08 04:18:31 +00:00
mpp
3c9030debe Change references from rpc.bootparamd to bootparamd. 1996-04-07 23:28:25 +00:00
mpp
2ecdb9f16e Some minor cleanup to bring the pccard man pages in line
with mdoc guidelines.
1996-04-07 09:14:46 +00:00
mpp
d6542a796e Correct the rpc.lockd and rpc.statd man pages to not reference
their path names in the synopsis line (especially since they
referenced the wrong path!).  Corrected some other minor problems
with the rpc.lockd man page.
1996-04-07 08:55:32 +00:00
jkh
61af07d023 Major surgery.
1. Use new dialog menu hacks (no strings, just arrays of dialogMenuItem structs)
   so that I can create composite menus with radio/checkbox/... items in them,
   removing some long-standing UI bogons in various menus.  This work isn't
   finished yet, but will be done in two phases.  This is phase one.

2. Remove all the script installation stuff.  I never got time to document it,
   it was arcane and it just complicated much of the code.  There are better
   ways of doing this if I want to do auto-driven installations later.

3. Remove much dead code and otherwise attempt to remove as much historical
   grot as possible so that this code is easier to hack on.  This is also
   a two-stage process, phase one of which is now complete.
1996-04-07 03:52:36 +00:00
mpp
86b292ffbd Correct some man page cross references and file location references. 1996-04-07 00:06:21 +00:00
mpp
9fcf3504c2 Correct some cross references and some path names. 1996-04-06 09:47:30 +00:00
ache
6950a2d26e Here is a patch for a little bug in the WaitForString routine. The problem
is when the matched string spans the end of the inbuff.  This fix allocates
twice the IBSIZE so that it can keep the last and the current text to search
in the inbuff so that the match won't fail if it gets truncated by the read.

It also warns if the search string is to long and truncates it.

Submitted by: Dough Ambrisco <ambrisco@ambrisco.roble.com>
1996-04-06 02:00:17 +00:00
peter
5722e92cdf Add rpc.statd and the stub rpc.lockd, as these build and are of some use to
some people.
1996-04-04 03:17:48 +00:00
sef
504f00946f Makefile: Add new modes.c file to list of objects.
printjob.c:  Use termios instead of sgtty structs and ioctls; remove
support for fs/fc/xs/xc capabilities, and replace them with the ms
capability (stty-like words, instead of octal bit patterns).
modes.c:  Modified from stty's file, parses comma-seperated list of
tty modes (e.g., "cs8,-paren,-opost").

Reviewed by:	rgrimes, joerg
1996-04-03 22:49:15 +00:00
sef
ad452f9a80 Remove definitions and declarations for FS, FC, XS, XC variables, and
replace them with MS char* variable.

Reviewed by:	rgrimes, joerg
1996-04-03 22:46:59 +00:00
sef
98628b2561 printcap.5: Remove fs,fc,xs,xc capability, and replace them with the ms
capability

Reviewed by:	rgrimes, joerg
1996-04-03 22:46:17 +00:00
jkh
45af70879e Update paths to Taiwan sites. 1996-04-03 06:55:09 +00:00
wpaul
d0c71521cd yppush_main.c:
- Remove unused 'pid' member from the jobs structure. (This was left over
  from an earlier incarnation of the program that used multiple processes.)

- Remove #ifdef'ed longjmp() stuff.

- Print warning message if the 'pushing' host is not the master for
  a map being pushed but don't bail out. (While yppush should only
  be used on an NIS master, using it elsewhere is not an unpardonable sin.)

yppush.8:

- Fix a couple of mind-os.

Makefile

- Change format to hopefully ease bootstrapping. (Suggested by wollman.)
  Other Makefiles should follow.
1996-04-03 03:24:03 +00:00
peter
f0bce57817 Add the '8' flag to the smtp and esmtp mailers. This causes sendmail-8.7.5
to behave like the older sendmails when talking to a peer that does not
have esmtp or does not advertise 8BITMIME.  The old sendmail "just sent it
anyway", while the 8.7.x series mangle any extended character set mail
by conferting it to quoted-printable or base64.  Freefall has been
running this for some time.
1996-04-03 03:06:17 +00:00
joerg
cf73073520 Copy /etc/localtime, unless it's already a symlink. 1996-04-01 08:17:49 +00:00
peter
babe8f19b6 Some minor tweaks for statd
- use rpcgen to generate unmodified code instead of havinf it in the
  repository
- use "natural" function names to avoid conflicts with prototypes etc.
1996-04-01 05:36:06 +00:00
peter
f794c0568b Tweaks for the stub lockd.
- Use rpcgen to generate the unmodified boilerplate code rather than
  having it in the repository.
- Eliminate the conflicting function names by changing them to their
  "natural" rpcgen generated names
1996-04-01 05:30:04 +00:00
mpp
f37e8c4ec5 Allow the use of uid ranges when using the "-p" option to allow
easy setup of default quotas for a range of uids.  Usage:

edquota -p protouser startuid-enduid

E.g.
edquota -p mpp 10000-19999

Will duplicate the quota limints for user mpp for uids 10000 - 19999.
The uids in question do not have to currently exist in /etc/passwd.
1996-03-31 20:57:44 +00:00
joerg
3924abebea Another round of fixes:
. Replace my NIH-suffering code to detect the number of lines on
  the terminal by the curses variable LINES.

. Fix the selection code for countries with more than one screenful
  of locations.  The very few people living in America/US/Pacific
  now won't be charged for Indiana any longer... :)

. Removed the gross code that copied over the timezone file to
  /etc/localtime, and create a symlink now instead.
1996-03-31 09:55:02 +00:00
ache
42d182a2a9 Put signal number into logfile 1996-03-30 18:27:45 +00:00
jkh
a7b560c878 Add the jp.106 Japanese keymap to list of possibilities. I also see
a jp.106x keymap there, but Satoshi hasn't asked for it and I don't know
what it even is, so...
1996-03-30 16:19:40 +00:00
ache
92cff4dcbb Fix UnrawModem:
restore initial (not second level) state
not call it for DEV_SYNC
issue input flush after restoring
1996-03-29 15:24:04 +00:00
bde
b80fd56bd8 Count PCI irqs in up to 4 ISAish counters named `pci irqnn' instead of
in the clk0 counter.

Reviewed by:	se
1996-03-29 15:04:14 +00:00
joerg
d566ed5bd5 Add bootparams.5.
Obtained from: NetBSD
1996-03-28 20:49:31 +00:00
ache
cbcda5a3cf Directly clear parity area because cfmakeraw not do it 1996-03-28 13:38:59 +00:00
ache
a835b01176 After real problem is found (flush never occurse), re-enable
software flow control, but re-enable it properly,
idea taken from taylor 'cu'
1996-03-27 22:58:21 +00:00
ache
8e37357d03 Fix typing bug cause flushing never occurse:
TIOCFLUSH -> TCIOFLUSH
1996-03-27 22:28:19 +00:00
ache
bb04bf04b1 Use cfmakeraw() instead of all those termios settings 1996-03-27 21:40:55 +00:00
ache
53f9b4a901 Cleanup both raw & termianl modes termios flags settings 1996-03-27 21:16:32 +00:00
ache
b33cfa3fa2 Disable ^S/^Q flow control!!! 1996-03-27 20:53:03 +00:00
joerg
4a50302d19 Rename the usage of private' to private_data' to cope with the
recent libdisk changes.  (sysinstall is guilty of using `private' in
quite more places, but since this ain't in library code, it's not that
important.)

Whenever possible, better not use C++ reserved words...
1996-03-24 18:57:37 +00:00
jkh
a1bb502e76 Clean up the options screen a little bit by shortening it by one line
in the vertical axis.
1996-03-24 12:06:13 +00:00
jkh
827fe02162 The name of the lynx package has changed - update it. 1996-03-24 09:43:53 +00:00
jkh
eaa58a1398 Remove some rather useless debugging messages. 1996-03-24 09:36:41 +00:00
jkh
2b4d1b4529 Whoops! I create the holographic shell too early now - move it after
the chroot.  Nice idea, just didn't work (caused shared execs to fail!).
1996-03-23 07:28:22 +00:00
jkh
33dd263402 Make the editor a selectable option. Some people don't care for `ee'! 1996-03-23 07:21:31 +00:00
joerg
f1ff95c08c All this was horribly broken. The menues were overflowing, the `diff'
calculation wrong, bogus `reboot now!' hints given, and the displayed
month off by one.

Fix all of this.

Requested by:	jkh
1996-03-22 22:22:40 +00:00
jkh
0554aef0c6 Whoops! Total brain-fade on that last "optimization" for mounting
the CD (thanks to Mike O'Dell for finding it).  Fixed.
1996-03-21 17:20:31 +00:00
jkh
6d0196f036 Major enhancements to the package adder (next step is to use the new dialog
functions to make the menus far less klunky, but one thing at a time).

Fix bug that had debug output spewing uselessly on vty2 when running multiuser.
1996-03-21 09:30:18 +00:00
pst
5e12d8b427 Add support for /very/ experimental -e (exposure) option.
Not documented yet, because it's for grownups and geeks for now.
1996-03-21 08:19:10 +00:00
jkh
f77c95193c Sync the ftp site list with reality. Some day, this will be an algorithm
and not a menu.
1996-03-21 06:32:48 +00:00
jdp
0f90888e3b Close a file descriptor that I had (harmlessly) left open in a child
process.
1996-03-20 19:05:59 +00:00
jkh
1f98498d86 Accept DEL as a synonym for `delete' 1996-03-20 14:11:22 +00:00
fenner
c3a3da90ac Update IGMP printing, removing the obsolete packet header version number &
changing "new" and "old" to "v2" and "v1" to allow for future changes not
having to be "newer new"

Recognize Router Alert IP option
1996-03-19 17:25:12 +00:00
bde
da45dc470d Merged type changes and overflow bug fixes from Lite2.
Fixed the gets() changes.  The buffer contents is indeterminate when
fgets() returns NULL...  Now when you type EOT at one of the prompts,
the program usually spins reading the sticky EOF instead of dumping
core.  Even GUIs could do better.

Added $Id$.

Obtained from:	partly from 4.4BSD-Lite2
1996-03-19 15:38:44 +00:00
bde
73710850c8 Updated howmany() to be once again identical with the namespace-polluting
one in <sys/types.h>.  Lite2 changed the white space in the latter.
1996-03-19 15:36:32 +00:00
bde
84effbbc5c Updated format strings to match Lite2's fixed-width type changes.
uids and gids aren't unreasonably long any more, so we get to
change all the format strings that were fixed to use %lu back
to %u.
1996-03-19 15:17:34 +00:00
bde
a10bba8d1e sysinstall/Makefile:
Fixed DPADD again.

mk/bsd.README
Don't list the LIBXXX identifiers here.  Describe them better.

mk/bsd.prog.mk
Updated the list of LIBXXX identifiers.
- recently added library libdisk.a wasn't mentioned (required for sysinstall)
- old objects kz*.o weren't mentioned
- old libraries libc_pic.a, libcom_err.a, libf2c.a, libg++.a, libgcc_pic.a,
  libgmp.a, libipx.a, libkeycap.a, libss.a and libxpg4.a weren't mentioned
- old libraries libgnumalloc.a and libftp.a no longer exist
- old library libmp.a was said to not exist
- deprecated links libfl.a and libln.a weren't mentioned
1996-03-19 14:30:15 +00:00
jkh
37ca5b6aac Small tweaks to the presentation of this stuff. 1996-03-19 12:08:00 +00:00
jkh
f963744062 Fix cpioVerbosity() botch when verbosity set very low. 1996-03-19 12:02:20 +00:00
jkh
59452b81ee Use proper path to hostname 1996-03-19 11:51:36 +00:00
nate
04b8bc9479 Use /dev/apm instead of /dev/apm0. 1996-03-18 20:35:17 +00:00
nate
38ef8cf799 Open up /dev/apm instead of /dev/apm0. 1996-03-18 20:34:29 +00:00
jkh
6e8165c16a Lots of fixes:
1. Revamp package installer to use new dependency lists and also
   pkg_add's new `read from stdin' mode to prevent a copy of the package
   from hitting the disk unnecessarily.

2. More fixes for running "not as init" - don't get upset if CDROM already
   mounted, do the right thing instead.

3. If running as init, assume first-time install and _don't show the
   (W)rite option in the fdisk screen.

4. Many other little tweaks, some of which will have to wait for fuller testing
   until I can create a boot floppy (testing certain system-destroying
   features of sysinstall can be a royal pain).  Expect some more commits.
1996-03-18 15:28:10 +00:00
joerg
a93800a519 libdisk is now installed as a standard library. 1996-03-17 23:08:37 +00:00
peter
b3540a7299 Fold in 8.7.5 change onto mainline (all one line). 1996-03-13 16:56:55 +00:00
peter
d6f2ef9638 This commit was generated by cvs2svn to compensate for changes in r14615,
which included commits to RCS files with non-trunk default branches.
1996-03-13 16:51:01 +00:00
peter
1b87c718ff Import sendmail-8.7.5 onto the vendor branch. 1996-03-13 16:51:01 +00:00
ache
f5a60d6db1 Better fix for terminal mode 1996-03-13 12:02:16 +00:00
pst
725860a887 Bring in LBL traceroute, which has the '-g' option. This is a bugfixed and
modified version of Leres' latest work.  No FreeBSD changes have been
spammed.
1996-03-13 08:04:29 +00:00
nate
2be838b1dc Add the '-s' flag to apm which returns the status of the APM support
(enable/disabled) now that the APM_GETINFO ioctl returns the necessary
information.  Also, print out the status along with the other
information as the default behavior.
1996-03-13 00:48:06 +00:00
wosch
98925de78d delete /usr/ucb from PATH 1996-03-12 21:46:08 +00:00
jkh
48236277c1 Fix a couple of miscellaneous bugs and make pkg_add also support reading
from stdin.
1996-03-12 06:12:43 +00:00
dg
5f47db151a Include queue.h in preparation for struct socket changes. 1996-03-11 13:02:44 +00:00
hsu
6ee23b6d31 From Lite2: file LIST changes. 1996-03-11 05:41:43 +00:00
jkh
8eddee8c6e Correct paths for pcvt in FreeBSD. Close PR#1071
Submitted by:	David E. O'Brien <obrien@Nuxi.cs.ucdavis.edu>
1996-03-10 02:16:58 +00:00
ache
f785271dda 1) Open /dev/null for std* after setsid() to be shure that modem is
*not* our controlling terminal (SIGHUP can coming in other case)

2) Add HUPCL for non-dedicated lines to be shure that modem
properly resetted.

3) Correct usage string.
1996-03-09 08:18:41 +00:00
ache
53c7b9f853 Prevent dial cycling on the last phone from the list, make phone list copy 1996-03-08 13:22:23 +00:00
ache
8d299fcc23 Log phone as LOG_PHASE, it is valuable enough for multi-phone environment.
Add missing return when terminal mode can't be re-established due
to modem not opened.
1996-03-08 12:34:40 +00:00
ache
60108c50ed 1) Add multi-phone dialing/redialing, several phones separated by ':'
2) Improve on-line help subsystem
3) Make 'term' mode works even carrier dropped (old code
close line forever here)
4) Make 'term' mode 8bit clean.
5) Improve manual page
6) #ifdef DEBUG diagnostic about missing optional files.
7) Don't put interactive dialing info to logfile
1996-03-08 09:03:09 +00:00
joerg
7e6170e383 Work around the problem that our -current pppd can no longer talk
with our iijppp as a client.

Simply shut down the CCP layer if no matching protocol could be found.

Reviewed by:	peter
1996-03-08 01:21:53 +00:00
wpaul
46c17f869c Make yppwupdate script redirect stderr to stdout; if we don't do this,
the error messages (if any) from yppush will end up on the system console
instead of the /var/yp/ypupdate.log file.
1996-03-05 15:41:02 +00:00
dyson
dedb21f798 Fix pstat to sync up with recent changes with swap space allocation. 1996-03-04 12:40:29 +00:00
ache
db042deee5 Eliminate multiply uucplock.c 1996-03-04 10:38:42 +00:00
peter
357e68d0f8 John Hay's extentions to tcpdump to be able to differentiate between
IP and IPX packets over a PPP link.  I added the hack to print the
PPP protocol type for other (eg: LCP, CCP, etc) packets.

Submitted by: John Hay <jhay@mikom.csir.co.za>, mods from me.
1996-03-03 18:49:17 +00:00
jkh
55aa4f66d7 Keep explicit newfs parameters, just set them differently. 1996-03-02 20:02:13 +00:00
jkh
da8a9e1e39 Let fragment size default to 1K again - 2K is a little extreme. 1996-03-02 20:00:50 +00:00
jkh
ce1a5be689 Miscellaneous cleanup before big round of menu restructuring (to use new
libdialog features).
1996-03-02 07:31:58 +00:00
phk
8bc36c3dbc Use libmd.
Add support for negotiating (more like "informing peer") about DNS.
Various cleanup of warnings.
1996-03-01 19:29:44 +00:00
jkh
2dac23e9f4 Properly save and restore the terminal characters! 1996-03-01 18:21:41 +00:00
pst
28abcfcb35 This commit was generated by cvs2svn to compensate for changes in r14306,
which included commits to RCS files with non-trunk default branches.
1996-03-01 06:14:47 +00:00
pst
6074a89ffd Import improved quickcam driver control utilities, and
un-installed histogram program for checking driver timing.
1996-03-01 06:14:47 +00:00
wpaul
b95fe018c1 Initialize a few more 'result' members in a few places (both in the v2
and v2 service procedures). Also fixed the formatting in a few places
to keep everything under 80 columns.
1996-03-01 03:49:47 +00:00
wpaul
8f1aea64e1 In ypproc_master_2_svc(), don't leave result.peer uninitialized when
returning an error.
1996-02-29 23:10:38 +00:00
adam
76b7e18f09 sense of 'mask' was reversed in default case of no securenets file. 1996-02-29 18:29:24 +00:00
wollman
c49f72f046 Clean up Makefile. Still needs -lcompat for insque/remque. 1996-02-28 18:47:46 +00:00
wosch
775be215f5 Convert "time zone" to "timezone" in NAME section
Submitted by:	obrien@cs.ucdavis.edu (David E. O'Brien)
1996-02-27 00:27:21 +00:00
guido
bf7c76b5e7 Typo (vi -> v1). 1996-02-26 20:09:22 +00:00
wpaul
086b2bc68e Add support for NIS v1 client procedures. The following procedures
are currently implemented:

YPOLDPROC_NULL
YPOLDPROC_DOMAIN
YPOLDPROC_DOMAIN_NONACK
YPOLDPROC_FIRST
YPOLDPROC_NEXT
YPOLDPROC_MATCH
YPOLDPROC_POLL

These are all implemented as wrappers around their v2 counterparts.

The YPOLDPROC_PUSH, PULL and GET procedures are not implemented since
a) I couldn't figure out exactly what to have them do, and b) I
suspect they're used for doing map transfers between master and
slave servers, which we already do using the v2 protocol anyway.
This means we can server NIS v1 clients but can't be a master or
slave with NIS v1-only servers. I think I'll get over it. :)

The -k (sunos_4_kludge) flag and associated code has been removed
since it is no longer needed.

Also tweaked yp_access() to handle both sets of procedures and
updated the man page.
1996-02-26 02:34:27 +00:00
bde
12ee82f222 Depend on libdisk.a. 1996-02-25 20:41:07 +00:00
wpaul
b4af745345 Duh: remember to #include <stdlib.h> to pick up declarations for
malloc() and free().
1996-02-25 19:25:23 +00:00
wpaul
abd2ed647c Add securenets support (uses same access control mechanism as ypserv,
also controlled by /var/yp/securenets).

Add -u flag to turn off the privileged port check done by yp_access();
some commercial systems (IRIX, Solaris 2.x, HP-UX, and probably others)
don't use a reserved port for submitting yppasswd updates. If we always
enforce the check, these client systems will be unable to submit updates
to us.

Document securenets support and -u flag in man page.

Like ypserv, you can compile rpc.yppasswdd to use the tcpwrapper package
instead of securenets if you want to.
1996-02-24 22:10:42 +00:00
wpaul
ad0849d890 Add real securenets support. By default, ypserv now uses /var/yp/securenets
in the same was as the SunOS ypserv (same format, described in ypserv man
page). If the user wants tcpwrapper style access control, they can
recompile ypserv to use that instead. This way we get securenets without
having to ship libwrap.a and tcpd.h with core FreeBSD distribution.

If /var/yp/securenets doesn't exist, ypserv allows all connections.
1996-02-24 22:01:48 +00:00
peter
f7cfae926e Remove useless (for us) Makefiles. There were already other "Makefile.dist"
files missing, so these shouldn't hurt.  If somebody wanted to use sendmail
8.7 on their machine, they should use a clean dist anyway, not this one.

Submitted by: wollman
1996-02-22 19:58:32 +00:00
peter
53bd532d4b Merge 8.7.3->8.7.4 changes onto mainline. 1996-02-22 18:57:52 +00:00
peter
550e941668 Update to sendmail-8.7.4. This fixes a DNS related security vulnerabilty. 1996-02-22 18:49:13 +00:00
peter
9c30a5e26b This commit was generated by cvs2svn to compensate for changes in r14182,
which included commits to RCS files with non-trunk default branches.
1996-02-22 18:49:13 +00:00
julian
37a78862f8 Submitted by: John Hay -- John.Hay@csir.co.za
fix broken local routing .. (broken in previous patch)
1996-02-20 23:11:24 +00:00
mpp
0bdc6336c5 Initialize the argument list in the unpack() routine to zero.
This prevents a core dump due to the stack being trashed if pkg_add
is asked to process something that really isn't a package file.
1996-02-19 02:35:56 +00:00
peter
e9a4f674d9 This commit was generated by cvs2svn to compensate for changes in r14125,
which included commits to RCS files with non-trunk default branches.
1996-02-17 15:14:59 +00:00
peter
e6ac6d91b7 Import Jan 15 version of Andrew Gordon <andrew.gordon@net-tel.co.uk>'s
rpc.statd.

This is apparently fully functional and complete.
1996-02-17 15:14:59 +00:00
peter
2557c78f7c This commit was generated by cvs2svn to compensate for changes in r14123,
which included commits to RCS files with non-trunk default branches.
1996-02-17 15:11:29 +00:00
peter
2db8f15200 Import Jan 15 version of Andrew Gordon <andrew.gordon@net-tel.co.uk>'s
stub lockd.

This implements just the protocol, but does not interact with the kernel.
It says "Yes!" to all requests.  This is useful if you have people using
tools that do locking for no reason (eg: some PC NFS systems running some
Microsoft products) and will happily report they couldn't lock the file
and merrily proceed anyway.  Running this will not change the reliability of
sharing files, it'll just keep it out of everybody's face.
1996-02-17 15:11:29 +00:00
wollman
379b9b388f XNS sort-of-support is no more. 1996-02-13 17:30:37 +00:00
wpaul
eb167e6ecd Add rpc.yppasswdd 1996-02-12 15:11:59 +00:00
wpaul
cddbdd03ca This commit was generated by cvs2svn to compensate for changes in r14062,
which included commits to RCS files with non-trunk default branches.
1996-02-12 15:09:01 +00:00
mpp
7c16f30f5b Add a ypset(8) man page.
Obtained from: NetBSD
1996-02-12 05:28:30 +00:00
mpp
0796408d4a Another round of man page cleanups.
Down to only about 100 items left to cleanup! :-)
1996-02-12 04:57:03 +00:00
mpp
3aeb7f1d49 Correct a bunch of man page cross references and generally
try and silence "manck".

ncurses, rpc, and some of the gnu stuff are still a big mess, however.
1996-02-11 22:38:05 +00:00
markm
532cda9998 #include <kerberosIV/des.h> -> #include <des.h> 1996-02-11 09:18:18 +00:00
wosch
62448dde8e Submitted by: Masafumi NAKANE <masafumi@tky007.tth.expo96.ad.jp>
bugfix: chown home directory if don't copy dotfiles
1996-02-10 17:15:47 +00:00
phk
61b9823c67 Remove netns and netiso, whatever it did here in the first place... 1996-02-10 09:33:52 +00:00
mpp
6f1e1c35e7 Another round of various man page cleanups. 1996-02-09 17:25:57 +00:00
mpp
279ebaafa0 Add some missing MLINKS, correct some cross references, correct some
file locations and some minor formatting/style problems.
1996-02-09 16:20:10 +00:00
jkh
bf2b0406b9 Remove pkg_manage from Makefile 1996-02-09 12:35:25 +00:00
jkh
d1aa1b0573 Nuke pkg_manage. No fault of the author, but it sort of died when we
went to the multi-directory package scheme since it wasn't designed with
that kind of layout in mind when first written, and the attempts to adapt
it haven't really resulted in an interface that's easy to use.  I will make
a stand-alone version of the pkg installer in sysinstall at some point
and drop it into the existing pkg_install directory.
1996-02-09 12:09:19 +00:00
jkh
ab4e86359c Fix to catch a stupid oversight on my part which allowed this thing
to remove the current directory under certain circumstances.
Submitted by:	Richard J Kuhns <rjk@watson.grauel.com>
1996-02-09 12:05:26 +00:00
ache
eca0ed1879 LBA addition to new commands 1996-02-09 01:16:23 +00:00
ache
346633f6e2 Integrate vak fixes, mostly command parsing & cosmetic
Submitted by: vak@cronyx.ru
1996-02-09 00:22:17 +00:00
phk
329ca3c57c Clean up warnings.
fix return/exit codes in some cases.
Add -S which will delete any old entry first.
Add "auto" in proxy case, so it finds the right interface automatically.
1996-02-08 21:05:52 +00:00
wollman
41f00ad7a0 Call setsockopt(SO_PRIVSTATE) to renounce SS_PRIV on all the sockets
we create.  (Nothing being called from inetd should use it anyway,
but you can never be too careful.)

Translate the man page back into -mdoc.
1996-02-07 17:15:01 +00:00
jdp
87d671feaf Fixed pkg_create to eliminate the limits on the size of the PLIST.
Formerly, there were limits on both the number of files (hard-coded into
the program) and the number of characters (because of the ARG_MAX limit
in exec(2)).  In this new version, the filenames are passed to tar through
a pipe, using tar's "-T" option, rather than on the command line.
1996-02-06 22:49:11 +00:00
wollman
61d8d8e40b Remove support for OSI networking in user-land (#ifdef OSI aor CCITT)
in preparation for its removal from the kernel source tree.  NB: because
a function was deleted, libc is now at version 3.0 (was 2.2 previously).
1996-02-06 20:36:15 +00:00
pst
f0d10418a5 Oops, accidently committed makefile change, back it out 1996-02-06 19:04:41 +00:00
pst
6935bcb93e make setproctitle display smaller 1996-02-06 19:03:58 +00:00
pst
2dfb242145 Setproctitle some useful information 1996-02-06 18:48:03 +00:00
phk
20dc7e151c Add support for local modifications to the tree, by using FOO.ctm instead
of FOO if present.  Various other tweaks.

Submitted by:	Christian Haury <Christian.Haury@sagem.fr>
1996-02-05 16:06:55 +00:00
joerg
3a86983b1a Typo.
Submitted by:	somebody in Usenet whose name i forgot
1996-02-05 15:35:41 +00:00
ache
15f25db6c3 Remove cdplay, cdcontrol is superset of it 1996-02-05 00:05:04 +00:00
pst
d918cfdd48 Add qcamcontrol 1996-02-04 10:11:35 +00:00
pst
9ee94e26ab Import very basic demo/control program for qcam driver.
Manual to follow real-soon-now(tm).
1996-02-04 09:33:52 +00:00
pst
b7fe7384ce This commit was generated by cvs2svn to compensate for changes in r13899,
which included commits to RCS files with non-trunk default branches.
1996-02-04 09:33:52 +00:00
wpaul
cd85caa537 Makefile.yp:
- Improve support for multiple domains. (In preparation for new rpc.yppasswdd.)

yp_dblookup.c:
- Improve error reporting: be more selective as to what error code
  we return when a (dbp->get) fails.
1996-02-04 05:39:35 +00:00
ache
7bf1219d00 Print out media catalog number, if exists 1996-02-03 15:21:30 +00:00
ache
b2a974e602 Request/print out media catalog validation info in status command 1996-02-03 15:07:32 +00:00
ache
a768aedccd Implement several new commands 1996-02-03 14:13:36 +00:00
joerg
ab6036fedf Mention the currently supported vendor/model strings. 1996-02-02 23:01:17 +00:00
ache
d54012cef4 Don't mask last track number with end word, better be shure that it is 170 1996-02-02 22:14:39 +00:00
ache
8b50fd992a Implement 'inject' command 1996-02-02 22:03:37 +00:00
ache
62a0fe7554 Back out my control->addr_type change, need to be fixed in another place 1996-02-02 20:46:46 +00:00
jkh
64d13f8d9c Understand about the doc distribution. 1996-02-02 06:44:02 +00:00
hsu
dc7dcae547 There is no longer a typedef clash with <rpc/auth.h>, so remove
conditional.  Also, use the system defined fixed sized types.
This removes a 32-bit dependency on non-32-bit architectures.
1996-02-02 06:17:42 +00:00
wosch
80aa0b1b79 man page link swapfile.8 -> vnconfig.8 1996-02-02 06:14:09 +00:00
mpp
6e83fbce86 Correct some manual page cross reference errors. E.g. su is a section
one man page, not section eight.  This is the first round of such changes
and only fixes man pages in manual section one.
1996-02-02 00:26:12 +00:00
ache
4861dbe70d Fix user input parser, play command even not work in old variant 1996-02-01 19:09:50 +00:00
ache
3886ec630b Wrong field was used to determine audio/data disks 1996-02-01 17:17:28 +00:00
fenner
5f45605dbe Make routed use real netmasks when installing routes; for unknown
class B and C networks routed would use the network number as the
netmask.  This can cause some real interesting behaviour.
1996-02-01 16:25:29 +00:00
joerg
f59c5786b4 Correct a minor but important error in the rtprio example. 1996-02-01 14:14:22 +00:00
gibbs
2c21792fe1 Decend the list of ioaddrs and maddrs for eisa devices and print them out
for lsdev -c.
1996-01-31 18:06:52 +00:00
mpp
9eb26b886b Make mixer print out all of the current mixer settings by defualt
instead of making the user run a separate command for each
setting they are interested in.  Closes PR#432.
1996-01-31 18:01:22 +00:00
wpaul
f9c3de604c Found an instance of yp_error() in yp_maplist_create() that had two %s
tokens but only one argument; fixed by putting in missing argument.
1996-01-31 15:21:56 +00:00
wpaul
a683c77241 Sync with my sources at home:
- Don't do longjmp()s from inside a signal handler. Even though I got
  things to work the way I wanted, it's bad karma.

- Remember to clear the sa_mask with sigemptyset() before masking signals
  when using sigaction() to set up the SIGIO handler.

- Break out of the wait loop in yppush_exit() when the five minute
  timeout expires instead of looping around for another pass. If ypxfr
  on the other end fails somehow and never sends a response, we don't
  want to wait around forever.
1996-01-31 15:15:47 +00:00
nate
e728cbefd8 ctm(5) has been written, so remove comment about it not existing. :) 1996-01-31 02:01:56 +00:00
phk
62d807ed9d Use libmd's MD5.
inline hdlc checksum calculation.
make big tables const.
1996-01-30 20:04:34 +00:00
ache
f265cd643c Don't replace leadout entry with 255 1996-01-30 14:36:57 +00:00
mpp
511d4f82b2 Fix a bunch of spelling errors in a bunch of man pages. 1996-01-30 13:52:50 +00:00
ache
edbc3e1baf Use starting track 0 for READTOCENTRYS, should be converted
to real starting track in CD driver.
Old code assume that starting track is always 1.
1996-01-30 12:00:43 +00:00
ache
725ecb7525 Use 0 as starting track number for READTOCENTRYS,
should be converted to real starting track into CD driver.
Old variant assume that starting track is always 1.
1996-01-30 11:44:33 +00:00
dfr
9b03b51375 Some patches to ppp which improve stability. I have been running a
ppp based on these patches for about 3 weeks with no downtime.

The original submitters comments:

Two features iijppp has over kernel ppp that I like are predictor1
compression and demand dialing.  Here are a few bug fixes.

I expanded the priority queueing scheme and discovered it was broken
due to the assignment at ip.c line 300.  All packets were being
queued at the same priority.

Fixing priority queueing broke predictor1 compression.  Packets
were compressed before being queued and predictor1 worked as long
as the packets were popped off the queue in the same order they
were pushed onto the queue.

There were a few byte order problems in IP header tests also.

There is a recursion problem in SendLqrReport().  LcpClose() is
called when "Too many echo packets are lost" which winds up in
SendLqrReport() again.  I believe the original intention was to
just stop the LQR timer with the call to StopLqr() but the side
effects hurt.

Submitted by:	John Capo <jc@irbs.com>
1996-01-30 11:08:50 +00:00
joerg
276b1de4c6 Attempt to figure out the size of the device/file we are about to
format.  A bit tricky, but i believe this to work for 98 % of the
cases.
1996-01-30 02:35:08 +00:00
mpp
0d925cfda3 Fix a bunch of spelling errors. 1996-01-29 23:52:43 +00:00
joerg
0d78e1e902 Add the -u flag to the cpio's used to install the initial files, just
to make sure they will be overwritten even in cases where the've
bogusly got more recent timestamps.
1996-01-29 20:17:27 +00:00
peter
35aa0cb102 Minor tweak to allow the mbone mapper to work again on hosts which are
themselves acting as multicast routers.

Reviewed by: Bill Fenner (quite some time ago)
1996-01-29 16:04:20 +00:00
mpp
31c79332f8 Don't install sendmail setgid kmem since it doesn't really
require kmem access.  It is currently configured to call getloadavg(3),
which uses sysctl(2) to determine the load average, which is the
only reason some sendmails require kmem access.
1996-01-29 13:19:49 +00:00
jkh
31359c24e6 Whoops! Include paths.h instead of sys/cdefs.h - that results in
PATH_VARTMP having a somewhat saner value.
Submitted by:	matthew green <mrg@eterna.com.au>
By way of: Eric Allman <eric@sendmail.org>
1996-01-29 02:58:11 +00:00
wosch
e52fdfe1fa A manpage. May be the file nologin.5 should located in
src/share/man/man5.
1996-01-28 23:49:05 +00:00
joerg
47d30a2ecf Add wormcontrol. Nope, i didn't forget it this time. :) 1996-01-27 17:57:15 +00:00
joerg
20e2709b29 This commit was generated by cvs2svn to compensate for changes in r13652,
which included commits to RCS files with non-trunk default branches.
1996-01-27 17:52:20 +00:00
joerg
a20e1af289 Add a wormcontrol(8) utility. This is needed in order to prepare
worm(4) for actual work.

See the EXAMPLES section in the man page.
1996-01-27 17:52:20 +00:00
wpaul
4e8cc969b8 Change private version of verr() to __verr() and make it static to
avoid potential clash with library function of the same name.
1996-01-26 18:20:56 +00:00
wosch
783b341893 add a manpage 1996-01-24 00:11:58 +00:00
wosch
625f6e5911 add a manpage
check for  argument 'path'
1996-01-23 23:59:36 +00:00
joerg
694c3b89fa Add an additional warning that a "dangerously dedicated" disk cannot have
a boot selector in sector 0.

Closes PR # conf/963: Using the...

Submitted by:	muir@idiom.com (David Muir Sharnoff)
1996-01-23 21:05:22 +00:00
mpp
04018df5e3 Fix some of the pcvt related man pages to reflect where the
various pcvt support files are really installed.  Closes PR# 740.
1996-01-22 10:23:25 +00:00