Commit Graph

38950 Commits

Author SHA1 Message Date
peter
95eec3c9f4 Avoid warning on nextpaddr, just like on the x86. 1999-07-01 20:59:56 +00:00
mks
7707e35f12 Modify code to be -Wall'able.
PR: bin/11315
1999-07-01 20:48:59 +00:00
peter
22e38b45b2 Tidy up a few warnings when used without splash. (things defined but not
used)
1999-07-01 20:43:03 +00:00
peter
b9a0f50692 Prototype for alpha_fix_srm_checksum(). 1999-07-01 20:34:28 +00:00
peter
6422c7e21b Fix warnings on the Alpha. 1999-07-01 20:29:25 +00:00
peter
a965ff325c Get prototype for isa_init_intr(). 1999-07-01 20:25:39 +00:00
peter
6b77faed1d Fix a warning, and pull prototypes into scope for ide/isa interrupt setup. 1999-07-01 20:23:01 +00:00
peter
5d1dacac85 Fix printf int/long format problems on the Alpha. 1999-07-01 20:01:03 +00:00
wes
4a9c6f5d1b Add mising aio_* man pages. Fixed a minor typo in aio_read.2,
and "corrected" statement of Posix conformance.
1999-07-01 19:58:12 +00:00
peter
f14aea7953 int/long printf format problems on the Alpha. 1999-07-01 19:56:50 +00:00
peter
18cf795f27 Fix some int/long printf problems for the Alpha 1999-07-01 19:53:43 +00:00
peter
f387b3be3d Quiet warnings on an Alpha. CBSIZE has long type and causes the other
ints to promote to long.
1999-07-01 19:46:36 +00:00
peter
700ead8c3e Quiet warnings on Alpha. (db_expr_t is a long on alpha, int on x86) 1999-07-01 19:42:56 +00:00
jkh
e1bfba0565 Remove the now-bogus comment about using iosiz with npx0 for memory
sizing - environment does this properly  now.  Thanks, Peter!
1999-07-01 18:39:23 +00:00
peter
67438f2286 Look up the kernel environment for MAXMEM as a final override for the
memory size.  If somebody wants to change the name, fine - I used this
since it's consistant with the config variable it replaces.
This is intended to replace the npx0 msize hack (which no longer works).
1999-07-01 18:33:22 +00:00
peter
65a02b75ea Move kern_envp and preload initialization a little earlier so that we
can do a getenv_int() inside the memory sizing routines to override the
memory limit.
1999-07-01 18:27:15 +00:00
billf
56161029de Fix ambigious else.
Reviewed By:	eivind
1999-07-01 17:59:17 +00:00
peter
140b47277b Don't include trailing whitespace in ID tokens before comments. ie:
options FOO=10		# comment
would give FOO the value of "10		" and that caused unwanted
touches on the opt_*.h files.

I hope I've got this right..
1999-07-01 16:20:16 +00:00
peter
8a33200f02 Detect and remove defunct or unknown options from opt_*.h files. This
can happen when options are removed from the options files.
1999-07-01 16:17:13 +00:00
peter
165471c200 Fix two easy warnings when using BRIDGE without IPFIREWALL. 1999-07-01 15:07:08 +00:00
peter
f2e5b74638 Fix some warnings, unused functions etc. 1999-07-01 15:05:11 +00:00
ru
0624def54d Document that FTP_PASSIVE_MODE should be explicitly
set to `YES' for passive mode to be used by default.
Just setting FTP_PASSIVE_MODE is not sufficient, as
it was before.

Noted by:	eivind
Reviewed by:	des
1999-07-01 14:32:07 +00:00
ru
5824f4faaa Turn System V command line syntax ``on'' by default.
Requested by:		peter
Reviewed by:		des, billf
1999-07-01 13:33:56 +00:00
peter
9f31938811 Fix warning. va_fsid is udev_t, which is int32_t. No need to use %lx. 1999-07-01 13:32:54 +00:00
kris
5f51812dc5 Spelll 'asynchronous' coriectly 1999-07-01 13:31:30 +00:00
peter
6cb5fe6c6b Slight reorganization of kernel thread/process creation. Instead of using
SYSINIT_KT() etc (which is a static, compile-time procedure), use a
NetBSD-style kthread_create() interface.  kproc_start is still available
as a SYSINIT() hook.  This allowed simplification of chunks of the
sysinit code in the process.  This kthread_create() is our old kproc_start
internals, with the SYSINIT_KT fork hooks grafted in and tweaked to work
the same as the NetBSD one.

One thing I'd like to do shortly is get rid of nfsiod as a user initiated
process.  It makes sense for the nfs client code to create them on the
fly as needed up to a user settable limit.  This means that nfsiod
doesn't need to be in /sbin and is always "available".  This is a fair bit
easier to do outside of the SYSINIT_KT() framework.
1999-07-01 13:21:46 +00:00
sheldonh
e671ad02ff Fix the NAME section of the kldload.2 manpage, which made reference to
kldunload. Add proper cross-references to the whole family.

PR:	12472
Submitted by:	Chris Costello <chris@calldei.com>
1999-07-01 12:16:06 +00:00
jkh
6e69eca401 Sigh. It's always the smallest changes that generate the largest public
commentary. :)  3rd and final frob of this.  Leave enough comments
behind that anyone running into trouble at least has some cited clues
on dealing with it and jump into the brave new world with uncommented
IANA port assignments.
1999-07-01 11:36:38 +00:00
billf
73d3a9b398 (1) Don't perror() when at.deny doesn't exist, that's an accepted behavior.
(2) Die when there is a problem opening at.allow other then it not existing.
    An error other then it not existing might be a trick to somehow
    circumvent system security.

Mostly Reviewed By:	msmith
1999-07-01 01:07:30 +00:00
jkh
3e4a05994f Compromise proposal: Comment out both old and new radius ports, explain
the differences in the comments, let the USER select which assignment to
use now.

Suggested by:		rgrimes
1999-07-01 00:08:08 +00:00
sheldonh
e3cd370e12 Ommitted in previous commit message:
Submitted by:	David Malone <dwmalone@maths.tcd.ie>
1999-06-30 23:47:46 +00:00
sheldonh
fe92ab33f8 Enable wrapping for dgram services and fix logging so that -l really
does log all connections.
1999-06-30 23:36:39 +00:00
msmith
ec1ef74280 Increase the size of the route reference count from 15 bits to 31 bits.
This doesn't change the size or alignment of the structure on either i386
or Alpha, and thus should be binary-compatible (modulo problems with old
applications and routes with more than 2^15 references).

Reviewed by:	peter
1999-06-30 23:11:15 +00:00
sheldonh
a987e5b063 Allow the use of `-' as an argument to the -w option so that standard
input may be used (e.g. gunzip -c /var/log/wtmp.Jan.gz | ac -w - ).

PR:	12467
Submitted by:	wollman
1999-06-30 21:46:03 +00:00
peter
a9c3f31bb0 Slight tweak to fork1() calling conventions. Add a third argument so
the caller can easily find the child proc struct.  fork(), rfork() etc
syscalls set p->p_retval[] themselves.  Simplify the SYSINIT_KT() code
and other kernel thread creators to not need to use pfind() to find the
child based on the pid.  While here, partly tidy up some of the fork1()
code for RF_SIGSHARE etc.
1999-06-30 15:33:41 +00:00
kato
d49508a313 Sync with sys/i386/i386/userconfig.c revision 1.147. 1999-06-30 13:30:58 +00:00
kato
df883482f7 Sync with sys/i386/i386/machdep.c revision 1.345. 1999-06-30 13:30:10 +00:00
kris
ed6a966fc1 retreived -> retrieved
Obtained from:		OpenBSD
1999-06-30 12:53:06 +00:00
kris
c9ebcf4453 Grammar and spelling fixes
Obtained from:	OpenBSD
1999-06-30 12:49:56 +00:00
kris
355fb5338b Flesh out VOP_ADVLOCK.9 with a description of the available flags
Sync vnode.9 with the definitions in <sys/vnode.h>

Reviewed by:	Doug Rabson
1999-06-30 12:02:52 +00:00
kris
eb9a61dc2f Correct reference to the obsolete vadvise() to madvise() (with appropriate
arguments)

PR:		11586
Submitted by:	David Gilbert <dgilbert@velocet.ca>
Reviewed by:	Doug Rabson
1999-06-30 11:50:09 +00:00
jkh
81c13b666b Put radius on its proper ports. 1999-06-30 06:11:14 +00:00
hosokawa
3c3a5fcaa2 Changed pcicmem and cardirq variables to non-dirty variables. 1999-06-30 05:04:37 +00:00
julian
b242252948 Submitted by: "David E. Cross" <crossd@cs.rpi.edu>
Matt missed a line..
1999-06-30 04:29:13 +00:00
hosokawa
c8760ef377 pccard_beep parameter is not supported by rc.conf and rc.pccard of -current.
(I'll port it later...)
1999-06-30 04:16:08 +00:00
hosokawa
b741c9ce12 Added -z and -i option. 1999-06-30 03:49:30 +00:00
alc
fb44239c8b An SMP-specific change: Remove unnecessary lock acquires and releases
surrounding critical sections that consist of (1) a single read or
(2) a single locked RMW operation.

(Thanks to thomma@slip.net (Tamiji Homma) for helping to test
these changes.)
1999-06-30 03:39:29 +00:00
julian
0154a689b3 Submitted by: Conrad Minshall <conrad@apple.com>
Reviewed by: Matthew Dillon <dillon@apollo.backplane.com>

The following ugly hack to the exit path of nfs_readlinkrpc() circumvents
an Auspex bug: for symlinks longer than 112 (0x70) they return a 1024 byte
xdr string - the correct data with many nulls appended.  Without this fix
namei returns ENAMETOOLONG, at least it does on our source base and on
FreeBSD 3.0.  Note we do not (and should not) rely upon their null padding.
1999-06-30 02:53:51 +00:00
hosokawa
cd20be7e99 FreeBSD does supports LKM now.
PR: doc/10331
Reviewed by: mpp@freebsd.org
Submitted by: Andreas Gustafsson <gson@araneus.fi>
1999-06-29 23:59:15 +00:00
hosokawa
e7989bf7f2 Removed unused boot_crunch.conf 1999-06-29 23:49:31 +00:00