Commit Graph

26407 Commits

Author SHA1 Message Date
steve
eacad4deed Fix another problem with clearing the last line of the
display.

Submitted by:	Kouichi Hirabayashi <kh@mogami-wire.co.jp>
1998-01-01 23:27:10 +00:00
steve
d75200b0d2 Install osreldate.h from ${.OBJDIR}.
Submitted by:	Bruce Evans <bde@zeta.org.au>
1998-01-01 23:17:05 +00:00
gj
d278a2affc Reviewed by: Joerg Wunsch
In sppp_chap_input:
1) in the CHAP_CHALLENGE case don't output the peer's name if it is not
what we expected (DEBUG) since it will be printed out in the course
of events anyway.
2) in the CHAP_SUCCESS case test whether the peer is required to
authenticate himself [(sp->lcp.opts & (1 << LCP_OPT_AUTH_PROTO))],
otherwise the state machine may never switch into the network state.
I saw this case against 2 different ISPs; they never bothered to
authenticate themselves to me.

In sppp_pap_input:
in the PAP_ACK case do the same as in 2) above for the same reason.
1998-01-01 21:27:18 +00:00
ache
e26e31bc30 1. EOF was returned when the buffer size was larger than INT_MAX. This
case has very little to do with the output size being larger than
   INT_MAX.
2. The new #include of <limits.h> was disordered.
3. The new declaration of `on' was disordered (integer types go together).
4. Testing an unsigned value for > 0 was fishy.

Submitted by: bde
1998-01-01 20:15:58 +00:00
wosch
0b884c47b4 Re-order the for loop for multiple procnames. This decrease the
system load and makes a

      killall ppp rlogin ftp ssh ping traceroute telnet

a lot faster.

Remove duplicated pid's before killing (killall lynx lynx).
1998-01-01 17:24:43 +00:00
alex
5548e5b443 Added missing caddr_t --> void * conversions for sys/mman.h functions.
Submitted by:	bde
1998-01-01 17:07:46 +00:00
wosch
9b0f89dff1 Do not install the file `zipcodes'. It is now a port (misc/na-zipcodes).
Fix INSTALL variables.
1998-01-01 14:05:30 +00:00
msmith
9848b90dbf Don't try to call into BIOS32 handlers outside the normal ROM
address range.  They may have been trashed earlier in the boot
process, or the directory header may simply be bogus.

PR:		5140
Submitted by:	Joel Faedi <Joel.Faedi@esial.u-nancy.fr>
Brought-to-attention-by: Derek Inksetter <derek@saidev.com>, bde
1998-01-01 13:26:55 +00:00
bde
08df257edf Fixed cosmetic bugs:
- wrong name in .file statement.
- stale comment about CONSPEED.
- style bugs in comments.
- inconsistent defaulting of operand sizes (should never depend on default).
- inconsistent choosing between je and jz (should always use je).
1998-01-01 13:01:31 +00:00
bde
05b500f40a Removed unused #includes. 1998-01-01 12:41:44 +00:00
bde
0ebe4597ac Removed unused #includes again. They thrashed when mfs_reclaim thrashed
to ufs_reclaim and back.
1998-01-01 12:40:25 +00:00
bde
f129d4cc48 Restored xref to diskless(8). diskless(8) existed but was not installed.
PR:		2153
1998-01-01 11:02:45 +00:00
bde
d51f046195 Install diskless.8. 1998-01-01 10:50:53 +00:00
bde
5c1539bfa9 Sorted lists. 1998-01-01 10:45:52 +00:00
bde
4b92f09dcc skey.access.5 has been rotting here for more than 3 years. The version
in libskey is used.
1998-01-01 10:39:40 +00:00
bde
91fd3d119c Sorted lists. Use the same style as most Makefiles for `MLINKS+=' lines. 1998-01-01 10:12:14 +00:00
bde
0fd0acf7f1 Install devfs_remove_dev.9 and suser.9. 1998-01-01 09:40:21 +00:00
bde
b81194c03e Don't test for executability of /usr/sbin/sysctl [before execing
plain sysctl].  We already assumed that many standard commands
exist, and sysctl is not special.
1998-01-01 09:04:47 +00:00
bde
a3c1c5ce02 Use a real malloc type for M_LINKER instead of #defining it as M_TEMP.
Fixed a comment.
1998-01-01 08:56:24 +00:00
bde
914df33533 Use a real malloc type for M_LINKER instead of #defining it as M_TEMP. 1998-01-01 08:55:37 +00:00
bde
fa240ed48c Moved the SMP declarations of INTREN() and INTRDIS() to the correct header,
i.e., the same header as corresponding non-SMP #defines.
1998-01-01 08:47:17 +00:00
bde
cdd22fa57e Fixed missing initialization of mp->mnt_stat. At least vm depends on
at least mp->mnt_stat.f_iosize being nonzero.

PR:		5212
1998-01-01 08:28:26 +00:00
pst
6d88299394 Handle frame relay, decode ATM VP/VC info, and handle ISO over FR. 1998-01-01 04:13:54 +00:00
alex
5d983a392b Typo fix. 1998-01-01 02:34:14 +00:00
alex
497c80cacc Removed /etc/ld.so.conf reference from FILES section (people get
confused when they can't find it), but leave the reference to it
as being a standard filename (which doesn't imply that it exists).

Discussed with:	jkh
1998-01-01 02:31:47 +00:00
pst
6de422ca4e Add frame-relay decode support. 1997-12-31 21:50:31 +00:00
obrien
3a6d9417b8 Explain that MAXMEM maynot be nessicary for detection of >64MB RAM. 1997-12-31 21:46:17 +00:00
helbig
00e62746ff Ensure 2 letter abbreviations of weekdays (even if LANG=C
and invoked as "cal").
1997-12-31 15:55:08 +00:00
helbig
6475ebfa0d Ensure stdout is line buffered.
Change "pat" -> "re" in man page.
1997-12-31 12:25:35 +00:00
wosch
acf03581d4 A Happy New Year! 1998. 1997-12-31 11:04:01 +00:00
ahasty
ef843220a9 Reviewed by: Amancio Hasty
Submitted by:	Jonathan Hanna <pangolin@rogers.wave.ca>
The patch is for a Hauppauge Win/TV dbx with FM. I still need to
config OVERRIDE_TUNER, but it works nicely.
1997-12-31 05:45:56 +00:00
brian
d9dfd17600 Suggest using /var/tmp for local domain `diagnostic' sockets,
rather than making a new directory.  Also, suggest 0600
permissions (mask: 0177).

Dangers noted by: Theo de Raadt <deraadt@cvs.openbsd.org>
1997-12-31 03:58:45 +00:00
alex
3e32f625d1 Drop the use of caddr_t in conjunction with mmap(2). 1997-12-31 03:15:06 +00:00
alex
94cad50c01 caddr_t --> void * 1997-12-31 02:35:29 +00:00
alex
e57827e700 Convert caddr_t --> void * for sys/mman.h functions.
mlock, mmap, mprotect, msync, munlock, and munmap are defined by
POSIX as taking void *.  The const modifier has been added to
mlock, munlock, and mprotect as the standard dictates.

minherit comes from OpenBSD and has been updated to conform with
their recent change to void *.

madvise and mincore are not defined by POSIX, but their arguments
have been modified to be consistent with the POSIX-defined functions.
mincore takes a const pointer, but madvise does not due to the
MADV_FREE case.

Discussed with:	bde
1997-12-31 01:22:01 +00:00
brian
94d7956117 Don't suggest creating sockets in /var/run as we create
sockets as our original uid.  Suggest creating /var/ppp
with perms 1777 instead.

Pointed out by: Masafumi NAKANE <max@wide.ad.jp>
1997-12-30 23:34:35 +00:00
brian
c07d897879 Allow "set device" to close the open modem if we're in
interactive mode.
Use `netfd' in fcntl() and tc[gs]etattr() calls rather than
the hard coded descriptor 0.
Use _FILENO constants from unistd.h

This un-breaks things after my recent `close(0)' in interactive
mode.

Close STDIN_FILENO, and open _PATH_TTY O_RDONLY as `netfd'.  This
has the effect of allowing `show route' to output more than about
a page of data (on FreeBSD, not OpenBSD....).  I have no idea why,
except that it was a direct consequence of the tcsetattr() in
TtyCommandMode().  My previous fix (closing descriptor 0) `fixed'
this because all calls to tcsetattr() failed :-(
1997-12-30 23:22:31 +00:00
nate
184f159a26 - Accept all models of the HP C1553A tape series as usable tapes. This
is necessary for my tape drive to be found, since it's apparently a
  later model.
1997-12-30 22:26:51 +00:00
phk
899f6eaffc Fix a race condition I introduced.
Reviewed by: bde (with only minor complaints :-)
1997-12-30 20:11:01 +00:00
brian
4b7a0273e3 Typo in error message. 1997-12-30 20:02:50 +00:00
brian
ac7fcdc399 Use inet_aton() before gethostbyname()
Suggested by: Christian Sandberg <christian@yes.no>
              Eivind Eklund <perhaps@yes.no>
1997-12-30 20:02:32 +00:00
wosch
2b6adf4cd4 Sync: add FreeBSD 2.2.6, OpenBSD 2.3; Correct 4.4BSD Lite2 integreation links. 1997-12-30 19:27:30 +00:00
danny
e6c4a1774f Submitted by: Peter Hawkins <peter@clari.net.au>
Actually implement --norecurse as documented in the man page.
1997-12-30 10:23:09 +00:00
bde
eff42cc58c Fixed a missing/misplaced/misstyled prototype. 1997-12-30 08:46:44 +00:00
bde
9ee8150eef Remove `retval' from syscall functions here too. 1997-12-30 08:38:34 +00:00
alex
bb3c326366 Fixed formatting of the MADV_FREE flag description.
Pointed out by:	bde
1997-12-30 05:17:33 +00:00
imp
7bf3c399fe Properly drop group privs to open file names specified by the user.
Submitted by:	Niall Smart rotel@indigo.ie
Obtained from:	OpenBSD (rev 1.7 and 1.8)
1997-12-30 05:13:21 +00:00
julian
2462f2a7dc move punchline of joke up to rest of joke. (got moved by useful edits) 1997-12-30 04:19:54 +00:00
alex
9179f52012 Typo fix. 1997-12-30 04:05:47 +00:00
alex
32937e2ca1 Document MS_SYNC. 1997-12-30 03:26:15 +00:00