Commit Graph

7919 Commits

Author SHA1 Message Date
imp
4500192f1e Use ansi function definitions.
Add const to usage function.
2002-03-27 04:21:40 +00:00
imp
83fee43945 de __P 2002-03-27 04:14:11 +00:00
pb
79f2ae8295 Fix problem in macro definition breaking compiles with -DDEBUG.
PR:		bin/35773
Submitted by:	Thomas Quinot <thomas@cuivre.fr.eu.org>
2002-03-26 17:37:59 +00:00
hm
50bd66e348 Add support for Q.931 subaddresses.
Submitted by: Steven Looman <fsteevie@wish.net>
2002-03-26 15:13:54 +00:00
brian
494653cf80 Fix a typo
Submitted by:	dirk
2002-03-25 14:14:31 +00:00
phk
b61fae7b37 Modernize my email address. 2002-03-25 14:12:49 +00:00
phk
191c10a907 Modernize my email address 2002-03-25 13:53:46 +00:00
des
6f161db61f Remove spaces between (void) and function calls. Use TAILQ_FOREACH
instead of hand-rolled equivalent.  Add curly braces for symmetry
around else.
2002-03-24 06:02:10 +00:00
des
3f10f569f9 Parenthesize return values and pull an orphaned { back into the fold. 2002-03-24 05:52:04 +00:00
des
0a98d111f8 __FBSDID, ANSIfy function definitions, staticize functions and globals,
don't initialize globals to 0, some reindentation of declarations, some
comments added or reworded.
2002-03-24 05:48:37 +00:00
des
156336576c Un-__P(). 2002-03-24 05:24:04 +00:00
will
c8728b83f5 Minor changes:
[1] Support the Sony VAIO Jogdial in moused(8).
 [2] Modify spic(4) to support additional Sony VAIO models.

Submitted by:	[1] Juriy Goloveshkin <j@gu.ru>,
		[2] Akira Funahashi <funa@funa.org>
Tested by:	cjh, jim, Jerry A! <jerry@thehutt.org>
Approved by:	nsayer
MFC after:	2 weeks
2002-03-24 03:07:07 +00:00
dd
ff86b0cbfe Correct a typo.
PR:		36214
Submitted by:	Nagy Attila <bra@fsn.hu>
2002-03-24 02:34:59 +00:00
keramida
08fc42b74c Be a bit more verbose. "modtime" means nothing.
"modification time" is a lot better.

MFC after:      3 days
2002-03-24 00:56:38 +00:00
keramida
8f16c6e004 Grammar fix: "When at least one of the fields .. matches ...".
MFC after:      3 days
2002-03-24 00:48:07 +00:00
alfred
7a9725738b Use char foo[] = "BAR" to avoid direct assignment of const char * into char *.
rpcgen can't really make those fields const because the remote side might
want to munge them, so we need to pass non-const in.  Hackish, but should
work.
2002-03-22 20:02:54 +00:00
alfred
3bb6263065 Const fix. 2002-03-22 20:00:10 +00:00
alfred
a518a57745 Remove cast that's not needed. 2002-03-22 19:57:09 +00:00
alfred
4ca456bc07 WARNS from 3 to 4. still some warnings about assigning const char * to
char *, but we'll fix those later.
2002-03-22 19:50:58 +00:00
alfred
ce941bc328 rename 'enum res' and 'struct status' to 'enum sm_res' and 'struct sm_status'
to avoid -Wshadow warnings in consumers of its generated header files.
2002-03-22 19:43:21 +00:00
alfred
919657358b constify log_from_addr() parameter. 2002-03-22 19:20:35 +00:00
alfred
2119d73ec0 Bring code to WARNS=3 level. Mostly fix unused variables. 2002-03-21 23:05:13 +00:00
alfred
8df6a8d168 Remove main() prototype. 2002-03-21 22:53:49 +00:00
alfred
9d874c3f4f Remove __P. 2002-03-21 22:52:45 +00:00
bmah
8605fb9207 Fix typo: s/forth/fourth/ 2002-03-21 20:10:10 +00:00
imp
e083934243 o __P removed
o main prototype removed
2002-03-21 13:14:21 +00:00
ru
f46172b8f0 Replaced hacks in sbin/Makefile,v 1.99 and usr.sbin/Makefile,v 1.217
with the NO_IPFILTER make.conf(5) knob.

(So that we can "make the-rest-of-the-world" again.)
2002-03-21 09:15:39 +00:00
obrien
f0428c61e5 Remove 'register' keyword.
It does not help modern compilers, and some may take some hit from it.
(I also found several functions that listed *every* of its 10 local vars with
 "register" -- just how many free registers do people think machines have?)
2002-03-20 17:55:10 +00:00
ru
966ddd4b2d Grammar nits. 2002-03-20 15:09:32 +00:00
darrenr
d38bd4faf0 * ipftest now compiles with IPFILTER_LOG and needs ip_log.c to be able to
do the log regression test.
* dumping state/nat entries is also possible, outputting this information is
  in the print{state,nat}.c files.
2002-03-20 08:57:10 +00:00
obrien
704fcba2d8 Remove ipftest until the committer can actually test his changes. 2002-03-20 01:57:52 +00:00
mikeh
325f93132c Fix bugs from previous commit: initialize the correct field and use
the correct local variable.

Caught by: Joachim Isaksson <Joachim.Isaksson@algitech.com>
Pointy hat to: mikeh
2002-03-20 01:31:15 +00:00
bmah
9961feddbb Add the ERRATA file to the documentation menu and index.
While I'm here, make the menu entries on the documentation menu begin
with "1" instead of "2".

Reviewed by:	imp, rwatson, murray
Approved by:	imp, rwatson, murray
MFC after:	1 week
2002-03-18 17:34:28 +00:00
imp
717df632eb o remove __P
o Use ansi function definitions
o MAXPATHLEN already has the NUL at the end, so no need to add 1 (note that
  MAXNAMLEN doesn't, so the + 1 there is correct).
o remove register.
2002-03-18 07:23:41 +00:00
imp
a30b9727c4 Add xref to fdisk and disklabel to aid people looking around on how to
partition disks.

Suggested by: Dworkin Muller
2002-03-18 07:20:15 +00:00
dwmalone
675bb4eaa8 Describe the format of the allow and deny files. This is more-or-less
the patch Matthew submitted, but I broke the lines in a more FreeBSD
way and made one small wording change.

PR:		31265
Submitted by:	Matthew D. Fuller <fullermd@over-yonder.net>
MFC after:	3 weeks
2002-03-17 14:03:17 +00:00
murray
8aac2bced4 Add wireless devices to device_names array. Now that ifconfig can set
session IDs, and sysinstall can load modules from the MFSROOT, it
should be possible to install FreeBSD over a wireless link.

MFC after:	2 weeks
2002-03-17 08:04:02 +00:00
sobomax
f83e22ee01 When loading a font allow suffix specifying its size be omited, in which
case use size of the currently displaying font as a suffix. For example,
when the when the size of the currently displayed font is 8x8 the
following command will load koi8-r-8x8.fnt.

# vidcontrol -f koi8-r

MFC after:	2 weeks
2002-03-16 23:35:51 +00:00
des
621e8aedcb Revert previous revision; sysinstall should build fine now even when cross-
building, plus ru says the previous revision didn't actually achieve what
it was meant to achieve.
2002-03-15 18:48:20 +00:00
ru
7dcb46211f mdoc(7) police: fix list width. 2002-03-15 17:06:19 +00:00
ru
77f6cdff84 mdoc(7) police: .Va -> .Ev. 2002-03-15 17:03:05 +00:00
ru
1cc2bc68b4 Fix a typo. 2002-03-15 16:53:32 +00:00
ru
e211701785 Pedantry to satisfy the bin/34159 author. 2002-03-15 12:24:44 +00:00
ru
6092d5a92e Embed boot images built as part of buildworld rather than the
installed ones under /boot (which we may not even have in the
case of a cross build).

This introduced chicken and egg problem - we need boot images
early in the "depend" stage but they have not yet been built.
Work around this by excluding the generated makeboot.c source
from the "depend" list; it's okay because we hardcode all its
dependencies explicitly.  We actually lose the dependency bit
on <sys/types.h> but it's probably okay too as the only thing
we use is the u_char datatype and this is unlikely to change.
After all, it's normal for sloppy cleaning to cause problems.

beast.FreeBSD.org running 5.0-CURRENT alpha has been able to
cross build i386 world with this patch.

Prodded by:	gallatin
2002-03-15 11:27:47 +00:00
ru
8293cff8ae Don't use temporary file to generate makedevs.c -- it's okay
to write to makedevs.c directly as it's not protected by the
.PRECIOUS attribute.
2002-03-15 11:21:57 +00:00
rwatson
2c972b1f4d NAI DBA update. 2002-03-14 21:58:58 +00:00
brian
c04d7dcf7f Use the return value from snprintf() to keep a track of the length of
the display string in MPPEDispOpts.

PR:		35836
MFC After:	2 weeks
2002-03-13 10:21:19 +00:00
des
eb1acdd650 Don't try to cross-build sysinstall. 2002-03-12 18:55:53 +00:00
brian
37c26e36bd Handle B460800 and B921600 being defined in <termios.h> 2002-03-12 16:05:26 +00:00
murray
6ae4808f0c Update number of ports available. 2002-03-11 13:48:13 +00:00
dd
353a5387c8 Chase sysctl name.
Submitted by:	Christopher Sharp <christopher_sharp@web.de>
2002-03-11 00:07:55 +00:00
hm
e7464160ce after joerg's recent merge of i4b's isppcontrol to the main spppcontrol,
remove now obsolete files.
2002-03-09 13:37:24 +00:00
dd
2a79f1d58d When reporting that a line is too long, include the line number in the
error message.  While I'm here, add a note that the "line too long"
message isn't always accurate.

PR:		35395
Submitted by:	andrew@ugh.net.au
2002-03-09 03:52:14 +00:00
keramida
d095671847 Fix typo: s/secotor/sector/. 2002-03-08 13:50:28 +00:00
keramida
cd4208364d - Misc grammar fixes.
- Add `Ar filename' to the description of the -f option.
2002-03-08 12:50:41 +00:00
keramida
fe73428d2b Minor grammar fix:
s/will be resume/will be resumed/
2002-03-08 12:48:05 +00:00
keramida
9f56e61a6c Fix typo: capablities -> capabilities. 2002-03-08 01:59:52 +00:00
keramida
417bb60d18 Fix typo: to examining -> to examine. 2002-03-08 01:29:06 +00:00
keramida
46c2cb6285 Merge a duplicate description of the -L option into the first one.
PR:		docs/34782
MFC after:	1 week
2002-03-08 00:36:36 +00:00
obrien
c6383171cc Default to UTC on sparc64 also. 2002-03-06 06:18:21 +00:00
brian
9a2e2a5631 Don't drop the last character from ut_line in ID0logout().
PR:		35531
MFC after:	2 weeks
2002-03-05 13:03:11 +00:00
maxim
4e27d61460 Unbreak PAP-only authentication.
PR:			i386/34607
Not objected by:	peter
Approved by:		ru
Obtained from:		ppp-2.4.1b2
MFC after:		1 week
2002-03-05 10:50:55 +00:00
sos
e90754fa87 Update headers 2002-03-04 21:11:30 +00:00
sos
09513281af fix the wildrunning % counter. 2002-03-04 20:50:16 +00:00
brian
7130913c86 Don't blow away ``set escape'' settings when we've completed the
login phase.  Just initialise the correct parts.

Originially submitted by:	Vladimir B. Machulsky <bofhmail@yahoo.com>
2002-03-04 10:08:57 +00:00
takawata
b08416cb67 Fix bug on method local named object related panic and Bankfield
operation.
2002-03-02 15:05:26 +00:00
ume
a9748e5285 Sync with latest KAME's manpage of prefix(8).
Obtained from:	KAME
MFC After:	1 week
2002-03-01 08:45:24 +00:00
sobomax
f7eeb627fa Use some black make(1) magic to make pkg_install build even without
Makefile.inc in parent directory (e.g. when checked out from cvs as a module).

MFC after:	2 weeks
2002-02-27 19:03:15 +00:00
dd
d78decac59 Introduce a version field to `struct xucred' in place of one of the
spares (the size of the field was changed from u_short to u_int to
reflect what it really ends up being).  Accordingly, change users of
xucred to set and check this field as appropriate.  In the kernel,
this is being done inside the new cru2x() routine which takes a
`struct ucred' and fills out a `struct xucred' according to the
former.  This also has the pleasant sideaffect of removing some
duplicate code.

Reviewed by:	rwatson
2002-02-27 04:45:37 +00:00
sos
7db2708a45 When asked to print bytes (-b option) do that and put 16 on a line. 2002-02-26 10:40:42 +00:00
peter
3a3f6bbbac Add a hint about -DNO_WERROR 2002-02-25 21:59:57 +00:00
bde
60113d280a #include <time.h> for the definition of time functions instead of
depending on namespace pollution 2 layers deep in <sys/stat.h>.

Removed unused include of <sys/stat.h>.  Only its pollution was used.
2002-02-25 07:39:34 +00:00
bde
735b820e9d #include <time.h> for the definition of time functions instead of
depending on namespace pollution 2 layers deep in <sys/stat.h>.
2002-02-25 05:31:49 +00:00
bde
d229dbfa39 #include <sys/time.h> instead of depending on namespace pollution in
<sys/stat.h> for the declaration of struct timeval.
2002-02-25 05:23:59 +00:00
dougb
ef77daf0aa Improve grep'ing for variables in make.conf and rc.conf*.
Thanks to cjc for the idea.
2002-02-25 04:52:56 +00:00
dougb
739589f9f2 * Add a feature to do a "pre {build|install}world" check of (so far)
master.passwd, group, and make.conf
* Add a feature to check variables in rc.conf[.local] to their
counterparts in /etc/defaults/rc.conf after a run
* Twiddle whitespace a little
* Change some "[ -f file ] && rm file" to "rm -f file"
2002-02-24 10:22:14 +00:00
bde
890b2b108d Reserved one of the spare fields in struct gmon to record the history
counter type, as threatened in rev.1.8 (the density doesn't need to
be recorded since it can be derived from other fields).  This doesn't
affect binary compatibility, but new utilities won't be able to depend
on the contents of this field because libc/gmon/gmon.c was broken --
it wrote garbage to the spare fields.

Added a history counter type field to struct gmonparam.  This breaks
binary compatibility a little, since kgmon wanted to read the whole
struct.  Fixed kgmon to only depend on reading the critical earlier
parts of the struct.  This should also fix 6+ year old breakage of
binary compatibility when the profrate field was added.

Only initialize the new field in struct gmon for now, so that the
compatibility code for this (in kgmon) gets tested.  The compatibility
code has to guesstimate the value.  The new field in struct gmonparam
is for the kernel to initialize so that kgmon doesn't have to guess.
2002-02-21 05:52:49 +00:00
ache
32c5c91bd8 Don't define NOADDITIONAL in CFLAGS again, it is already in named.h
This commit unbreak 'make depend'
2002-02-21 04:20:47 +00:00
peter
1f9db9e171 Commit some infrastructure for turning on -Werror for kernel compiles.
It doesn't actually do it yet though.  This adds a flag to config so
that we can exclude certain vendor files from this even when the rest
of the kernel has it on.  make -DNO_WERROR would also bypass all of it.
2002-02-20 23:35:56 +00:00
alfred
33bbbca23c Prefix structure members to protect them against clashes with eg.
c++ keywords.

This keeps us in sync with NetBSD because they actually committed
my delta first.

Ok'd by: lennard
2002-02-20 20:47:21 +00:00
sobomax
b0cc49afaa Make sortdeps() working with dependency lists containing one or no elements.
Submitted by:	roam
MFC in:		1 week
2002-02-20 17:15:17 +00:00
sobomax
f6405797d0 Provide protection against incorrect input (dependency list).
Submitted by:	roam
2002-02-20 17:07:19 +00:00
brian
158e0e60fc Document NGM_PPPOE_ACNAME handling. 2002-02-20 15:53:47 +00:00
brian
64153c1e49 Handle NGM_PPPOE_ACNAME messages.
Submitted by:	Andre Albsmeier <andre@albsmeier.net>
Approved by:	julian
2002-02-20 15:52:20 +00:00
shiba
a510b2c554 Add some code which read manufucturer id. This is for NEWCARD compatibility.
Reviewed by: imp
2002-02-20 14:48:23 +00:00
imp
1e7fa14cdb Fixed divots that I created when I moved prototypes of group_from_gid
and user_from_uid to grp.h and pwd.h.  Update the man pages.

Submitted by: David Malone
Pointy hat to: imp
2002-02-19 00:05:59 +00:00
mike
b2f3aa6012 o Move NTOHL() and associated macros into <sys/param.h>. These are
deprecated in favor of the POSIX-defined lowercase variants.
o Change all occurrences of NTOHL() and associated marcros in the
  source tree to use the lowercase function variants.
o Add missing license bits to sparc64's <machine/endian.h>.
  Approved by: jake
o Clean up <machine/endian.h> files.
o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>.
o Remove prototypes for non-existent bswapXX() functions.
o Include <machine/endian.h> in <arpa/inet.h> to define the
  POSIX-required ntohl() family of functions.
o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>,
  and <sys/param.h>.
o Prepend underscores to the ntohl() family to help deal with
  complexities associated with having MD (asm and inline) versions, and
  having to prevent exposure of these functions in other headers that
  happen to make use of endian-specific defines.
o Create weak aliases to the canonical function name to help deal with
  third-party software forgetting to include an appropriate header.
o Remove some now unneeded pollution from <sys/types.h>.
o Add missing <arpa/inet.h> includes in userland.

Tested on:	alpha, i386
Reviewed by:	bde, jake, tmm
2002-02-18 20:35:27 +00:00
gshapiro
6c4999141b Update build infrastructure for sendmail 8.12.
Add new build knob, SENDMAIL_SET_USER_ID, which installs sendmail as a
set-user-ID root binary instead of the new method (set-group-ID smmsp).
2002-02-17 22:06:20 +00:00
gshapiro
8dc3819182 Update build infrastructure for sendmail 8.12. 2002-02-17 22:05:07 +00:00
gshapiro
22756c602a Add editmap, a new utility which comes with sendmail 8.12 for editing maps in
place.
2002-02-17 22:02:59 +00:00
joe
2cd45cdbfc Merge from NetBSD:
* Add a -d flag to show the device drivers associated with each device.
* Update to use the new speed structure entry.
2002-02-16 16:16:12 +00:00
des
9c7d5a8936 Unbogotify the comment containing the RCS Id. 2002-02-15 00:46:32 +00:00
maxim
f2225234bf Remove unnecessary setjmp.h.
Reviewed by:	ru
Approved by:	ru
Obtained from:	OpenBSD
MFC after:	1 week
2002-02-13 08:49:29 +00:00
maxim
cfee51de83 Unlink all log sockets at startup.
PR:		misc/34839
Reviewed by:	ru
Approved by:	ru
Obtained from:	OpenBSD
MFC after:	2 weeks
2002-02-13 08:37:55 +00:00
dougb
949352291f * Update (c)
* Fix a problem with files that have no CVS $Id's. Thanks to naddy for
spotting this one. It wasn't a _huge_ problem since almost all the files
we install (except motd) have one, but still, it's a bug.
* Add a divider between diff outputs, which is helpful both for logs,
and for giving a good visual clue for diffs that are smaller than
$LINES. Another helpful suggestion from Gary W. Swearingen, swear@blarg.net.
2002-02-12 09:54:56 +00:00
dougb
8d2b747077 * Update (c)
* Expand on the definition of the -s (strict) option, at the suggestion
of Gary W. Swearingen, swear@blarg.net.
2002-02-12 09:50:16 +00:00
obrien
a8d5b11b97 Move makeobjops to /sys so we don't have to deal with the config(8)-like
versioning.
2002-02-11 23:06:28 +00:00
obrien
4eb3dc6a31 Revert rev 1.211, kernel building assistants should live in /sys 2002-02-11 23:04:56 +00:00
obrien
ab56ec9577 Remove unused bits. 2002-02-11 22:17:08 +00:00
obrien
937ebea21c Turn on makeobjops. 2002-02-11 22:09:20 +00:00