Commit Graph

6400 Commits

Author SHA1 Message Date
sobomax
3b5f7602b7 Alphabetically reorder options in `.Op Fl' macro to be consistent with the
rest of the code.
2000-12-05 16:40:14 +00:00
dwmalone
838492ec3b Add a -F option to the builtin ident service, which allows .fakeid files
to contain the name of other valid users.

PR:		22837
Submitted by:	Andreas Gerstenberg <andy@andy.de>
Reviewed by:	green
Reviewed by:	sheldonh
2000-12-05 13:56:01 +00:00
sobomax
4b2e95d914 - Add missed `-s' option into usage printout;
- sort options alphabetically.
2000-12-05 11:02:19 +00:00
ume
805b15b361 Wait DAD complete after ifconfig up. 2000-12-04 18:06:49 +00:00
hm
c095b67808 Add controller number to unknown incoming call log message. 2000-12-03 16:23:12 +00:00
dwmalone
d53af3129c Tidy up some prototypes:
make sure there is exactly one prototype for each function,
        use K&R style definitions everywhere to match dominant style,
        make flag_signal take an int to avoid problems if we have
                ANSI prototypes and K&R definitions.
2000-12-03 11:32:26 +00:00
green
6ee011e12d Make some style changes to the ident_stream() code.
Partially submitted by:	alfred
Reviewed by:	alfred
2000-12-02 21:18:11 +00:00
phk
0591c4bb95 Make labels mandatory for vn(4). 2000-12-01 22:27:40 +00:00
jedgar
35f9d37ffb Properly check malloc(3) return values
Approved by:	ken
2000-12-01 12:02:16 +00:00
obrien
e34517e29d The GCC 2.96 snapshots have slightly different rules for finding include
files.  Mostly -I${.CURDIR} was needed -- especially for YACC generated
files as the new cpp does not look in the ultimate source file
(ie, the .y file)'s directory as told by the "#line" directive.  Some were
misspellings of "-I${.CURDIR}" as "-I.".
2000-12-01 09:39:28 +00:00
ru
bfcf733859 mdoc(7) police: fixed errors from the previous revision, keep
the synopsis in a nice form, and a few more cosmetic changes.
2000-12-01 08:17:15 +00:00
brian
e1436a9201 Mention the MTU in ``show iface''. 2000-12-01 03:22:18 +00:00
luigi
a397dd4bbe Make crunchgen aware of obj directories. Formerly it had
/usr/obj hardwired in the code, now you can override it
with a command line option or MAKEOBJDIRPREFIX env. variable.
The above is useful to build picobsd-specific objects in some other
place than /usr/obj

While at it, fix documentation and change a few sprintf -> snprintf.
2000-11-30 21:14:54 +00:00
dannyboy
4c836aceb9 Lose an extra paragraph break.
PR:		23179
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2000-11-29 21:44:46 +00:00
brian
118a6a6571 Call MSCHAP CHAP80 in ``show lcp'' so that it's consistent with CHAP81. 2000-11-29 15:47:35 +00:00
brian
c63f0fa916 Use only the bit after the ``\'' when hashing the challenge in
MSChapv2

Submitted by: Ustimenko Semen <semen@iclub.nsu.ru>
2000-11-28 22:50:40 +00:00
charnier
f8102626b7 -Wall cleaning 2000-11-28 18:18:56 +00:00
charnier
bd5d70cb10 Make enumerated list for flags. Spelling. 2000-11-28 18:11:06 +00:00
charnier
9306ca23a3 -Wall cleaning. Use getopt(3). 2000-11-28 18:09:08 +00:00
brian
982aaf4a73 Add ``enable/disable tcpmssfixup'', defaulting to enabled.
Suggested by:	julian
Hijacked from:	ru (ports/net/tcpmssd)
2000-11-28 13:18:35 +00:00
ben
b1e0f4063d various typo and minor punctuation changes.
PR:		23111
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2000-11-28 11:35:14 +00:00
ume
55c6430976 - do not check/advertise cloned routes, nor dynamic routes
- cast size_t on printing (be friendly with alpha)

Obtained from:	KAME
2000-11-27 17:44:53 +00:00
hosokawa
6a29866e85 Filename of install help file is "INSTALL.TXT", not "install.hlp".
Typing [F1] did not popup install help file window on main menu, and so on.
2000-11-27 13:35:11 +00:00
kris
1c080faf96 Constify 2000-11-27 08:18:58 +00:00
kris
38879c7fec Fix format string warnings 2000-11-27 07:57:44 +00:00
brian
00c9863858 Change interactive mode so that a monitor thread keeps an eye on the
ppp descriptor and signals the terminal thread when there's something
to read on that descriptor.

This means that the main loop doesn't have to alarm() itself into
dropping out of el_gets() frequently to check the descriptor.  This
dropping out was disturbing syscons (via ioctl()s from libedit) enough
to reset the screensaver timeout every .5 of a second.

PR:	20345
2000-11-27 02:31:25 +00:00
dannyboy
c0031f4db1 compatability -> compatibility
PR:		23114
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2000-11-26 23:51:07 +00:00
kris
c95748df25 Correct definition of MAXHOSTNAMELEN in ifdef'ed out code 2000-11-26 22:21:39 +00:00
kris
7bfe0a85e4 Properly fix the temporary file creation in the case of multiple
command-line arguments.

Noticed by:	dynamo <dynamo@ime.net>
2000-11-26 03:37:34 +00:00
phk
cc4398d1b8 Add the "LOG_CONSOLE" facility and tell syslogd to not log it on
console devices.
2000-11-25 21:00:58 +00:00
green
24d50479eb Security fix: correctly set groups according to the user. Previously,
root's groups' permissions were being used, so a user could read up to
16 (excluding initial whitespace) bytes of e.g. a wheel-accessible file.

Also, don't allow blocking on the opening of ~/.fakeid, so replace a fopen()
with open() and fdopen().  I knew I'd be going to hell for using C file
streams instead of POSIX syscalls...
2000-11-25 04:13:05 +00:00
peter
71e57350c9 Make the xxxFILES= list generation generic. This makes it easier to add
things like MFILES= or CONFFILES= without having to modify config code.
2000-11-25 03:25:34 +00:00
ben
0b03e96db2 Fix a layout problem (.It Li -> .Fx)
PR:		23055
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2000-11-24 11:17:28 +00:00
ru
9b9f68e879 Eliminate groff(1) warnings.
Obtained from:	NetBSD
2000-11-23 10:15:50 +00:00
kuriyama
7ee3c00cb7 Remove extra ")". 2000-11-23 08:09:45 +00:00
jkh
63cd2edfd4 Finish the job of conditionalizing the PC98 stuff. 2000-11-22 22:28:34 +00:00
ru
14f333cf59 mdoc(7) police: Er macro usage cleanup. 2000-11-22 16:11:48 +00:00
ru
cff3f1a066 mdoc(7) police: do not split author names in the AUTHORS section. 2000-11-22 09:35:58 +00:00
imp
6242ba6480 Fix buffer overflows in filenames. If you had a path > 80 characters
for your /usr/obj/path/to/my/files path to the kernel, then weird
things happened.  make buildkernel would fail because config was
dumping core or generating bad file names (depending on the lenght of
the path).

While I was here, also use strlcpy, strlcat and snprintf (or asprintf)
as necessary.  Minor format policing for the snprintf calls as well.
2000-11-21 19:58:55 +00:00
dougb
6b9baeb4ed If a user is in the database, rmuser ought to be able to remove them.
Address this by using getpwnam(), thus killing several birds with
the same stone. My fix is slightly more aggressive than the
originators. :)

PR:		misc/22278
2000-11-21 05:52:35 +00:00
jkh
32c7841c33 Update source description to note that everything is now included.
Submitted by:	Chris Faulhaber <jedgar@fxp.org>
2000-11-21 02:22:31 +00:00
rnordier
856f2045e5 Wrap over-long line; drop superfluous include. 2000-11-20 20:35:35 +00:00
ru
c3189e713e mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
jkh
f93a7f9581 finish conditionalizing the PC98 specific options off the PC98
compilation variable.
2000-11-20 19:44:17 +00:00
ru
d16dd614f6 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 16:52:27 +00:00
sheldonh
44dedf1ff8 Fix broken (sectionless) cross-reference in ref 1.10. 2000-11-20 16:09:47 +00:00
brian
b5136d9709 Some gratuitous whitespace changes. 2000-11-19 16:58:59 +00:00
brian
c890a788d4 Describe how to tunnel properly.
Requested by: Greg Quinlan <greg@macquarrie.com.au>
2000-11-19 16:54:57 +00:00
brian
df7ceaea9a Accept MSCHAPv2 by default.
Enable and accept MPPE by default.
2000-11-19 16:53:50 +00:00
kris
30a6b2cb25 Format string paranoia 2000-11-19 13:30:36 +00:00