Commit Graph

26402 Commits

Author SHA1 Message Date
alex
017d9a9242 Added missing caddr_t --> void * conversions for sys/mman.h functions.
Submitted by:	bde
1998-01-01 17:07:46 +00:00
wosch
aaa53a4c55 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
1b95d36e35 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
f8738048d0 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
0c0865622b Removed unused #includes. 1998-01-01 12:41:44 +00:00
bde
e94cdac858 Removed unused #includes again. They thrashed when mfs_reclaim thrashed
to ufs_reclaim and back.
1998-01-01 12:40:25 +00:00
bde
c23b918f2c Restored xref to diskless(8). diskless(8) existed but was not installed.
PR:		2153
1998-01-01 11:02:45 +00:00
bde
f36a79fc1a Install diskless.8. 1998-01-01 10:50:53 +00:00
bde
41c429ea7e Sorted lists. 1998-01-01 10:45:52 +00:00
bde
55079db420 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
34c0486acc Sorted lists. Use the same style as most Makefiles for `MLINKS+=' lines. 1998-01-01 10:12:14 +00:00
bde
40182de9c0 Install devfs_remove_dev.9 and suser.9. 1998-01-01 09:40:21 +00:00
bde
8cf5931511 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
62111cffb4 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
fc1927fdd5 Use a real malloc type for M_LINKER instead of #defining it as M_TEMP. 1998-01-01 08:55:37 +00:00
bde
f65c51a04d 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
9c98de2bba 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
a472b7fd71 Handle frame relay, decode ATM VP/VC info, and handle ISO over FR. 1998-01-01 04:13:54 +00:00
alex
d64dcc2cd6 Typo fix. 1998-01-01 02:34:14 +00:00
alex
47c4182543 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
a610ac10b8 Add frame-relay decode support. 1997-12-31 21:50:31 +00:00
obrien
886e6a5cbc Explain that MAXMEM maynot be nessicary for detection of >64MB RAM. 1997-12-31 21:46:17 +00:00
helbig
d3af2f22a4 Ensure 2 letter abbreviations of weekdays (even if LANG=C
and invoked as "cal").
1997-12-31 15:55:08 +00:00
helbig
ab7e7a033c Ensure stdout is line buffered.
Change "pat" -> "re" in man page.
1997-12-31 12:25:35 +00:00
wosch
6f7edd1397 A Happy New Year! 1998. 1997-12-31 11:04:01 +00:00
ahasty
7eec77813b 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
ac231ad858 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
eac766f136 Drop the use of caddr_t in conjunction with mmap(2). 1997-12-31 03:15:06 +00:00
alex
e87ef9d530 caddr_t --> void * 1997-12-31 02:35:29 +00:00
alex
fb5c76c176 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
43004709f3 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
69deecd8ae 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
00293d1a14 - 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
8f9f6ff1df Fix a race condition I introduced.
Reviewed by: bde (with only minor complaints :-)
1997-12-30 20:11:01 +00:00
brian
3e41ec11fb Typo in error message. 1997-12-30 20:02:50 +00:00
brian
810009c3fe 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
3d0db0c385 Sync: add FreeBSD 2.2.6, OpenBSD 2.3; Correct 4.4BSD Lite2 integreation links. 1997-12-30 19:27:30 +00:00
danny
27845cc8be 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
05d3a8c532 Fixed a missing/misplaced/misstyled prototype. 1997-12-30 08:46:44 +00:00
bde
7f03eef721 Remove `retval' from syscall functions here too. 1997-12-30 08:38:34 +00:00
alex
a4d6911294 Fixed formatting of the MADV_FREE flag description.
Pointed out by:	bde
1997-12-30 05:17:33 +00:00
imp
a1d9242a63 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
5ff3bce59b move punchline of joke up to rest of joke. (got moved by useful edits) 1997-12-30 04:19:54 +00:00
alex
ad5fb0b1ed Typo fix. 1997-12-30 04:05:47 +00:00
alex
1b7cba5f35 Document MS_SYNC. 1997-12-30 03:26:15 +00:00
julian
475bb0a6c5 The example drivers should use 'poll' now that it has replaced select. 1997-12-30 03:23:13 +00:00
brian
f0d05aed36 Allow "add! dst mask gw" (note the ``!'') to do an
RTM_CHANGE if the RTM_ADD fails with an EEXIST.
Allow "delete! dst" (note the ``!'') to silently
fail if the RTM_DELETE fails with an ESRCH.
Also, make the ESRCH and EEXIST error conditions
more understandable to the casual observer.
1997-12-30 02:45:48 +00:00
peter
c4bd99c59d Fix typo while copying patch from the 2.2 system that it came from
Use execvp rather than execv so that full paths are not needed.
1997-12-30 01:20:08 +00:00
alex
3314e9bde1 Added copyright (taken from natd.c).
Approved by:	Ari Suutari <ari@suutari.iki.fi>
1997-12-30 00:38:56 +00:00
phk
c1be3d2c9c Fix a include gottcha in the SMP case.
Submitted by: Simon Shapiro <Shimon@Simon-Shapiro.ORG>
1997-12-29 23:36:56 +00:00