Commit Graph

26161 Commits

Author SHA1 Message Date
John-Mark Gurney
ad6af66e58 include sys so it builds on 2.2.x
also, fix misspelling of -1 (as EOF for getopt)
1998-01-07 06:19:50 +00:00
John Dyson
bf27292b35 Turn off the VTEXT flag when an object is no longer referenced, so
that an executable that is no longer running can be written to.  Also,
clear the OBJ_OPT flag more often, when appropriate.
1998-01-07 03:12:19 +00:00
Alexander Langer
19b7e28d58 Support listing/showing specific rules supplied on the command line.
Use error codes from <sysexits.h>.
1998-01-07 02:23:04 +00:00
Steve Price
62c1db1d1b Revert previous commit and SEE ALSO yp(4) instead. 1998-01-07 00:57:31 +00:00
Warner Losh
3c8e19e155 handle long usernames more carefully
Reviewed by:	guido
Obtained from:	OpenBSD (Theo de Raadt)
1998-01-07 00:28:36 +00:00
Warner Losh
2959539268 Avoid fclose(NULL).
Submitted by:	 OpenBSD (Theo de Raadt)
1998-01-07 00:12:04 +00:00
Warner Losh
545b0f4db7 Wait for job to finish and exit if exec fails.
Obtained from:	OpenBSD (Theo de Raadt)
1998-01-07 00:05:20 +00:00
Wolfgang Helbig
2d3b8b64a8 1. Don't reject 0145 if started at 22XX.
Applied suggested fix from Andrew Andrew <andrew@ugh.net.au> with
   some stylistic changes. Thanks.
2. #include <sys/time.h> -> #include <time.h>
3. Removed #include <sys/param.h>
4. Use setlocale(3) and strftime(3) instead of ctime(3).
5. Clean up -Wall warnings.
6. Make sure, time to leave are integral minutes if the argument
   is absolute. (i. e. without "+"). If started at 10:10:55 with
   argument "1020" it computed time to leave as 10:20:55 instead of
   10:20:00.

PR:		5395
1998-01-06 17:27:09 +00:00
KATO Takenori
232e69fdfa Sync with sys/i386/conf/files.i386 revision 1.183. 1998-01-06 13:47:54 +00:00
Wolfram Schneider
d3ee80c623 Delete a stray semicolon at the end. This only breaks gcc -pedantic
because COPYRIGHT_HPFPLIB is appended last.
Submitted by:	Bruce
1998-01-06 11:44:55 +00:00
Jamil J. Weatherbee
7614b43094 documentation changes. 1998-01-06 09:39:07 +00:00
Jamil J. Weatherbee
b3add67273 documentation changes. 1998-01-06 09:27:37 +00:00
Julian Elischer
06d13ca02d the pt driver should make one DEVFS entry for each one found rather than
just one for the whole system..
1998-01-06 08:28:46 +00:00
John Dyson
5821aa7f1b Make pstat.c compile, since in the new kernel code, VVMIO doesn't
exist anymore.
1998-01-06 05:33:28 +00:00
John Dyson
95e5e988e0 Make our v_usecount vnode reference count work identically to the
original BSD code.  The association between the vnode and the vm_object
no longer includes reference counts.  The major difference is that
vm_object's are no longer freed gratuitiously from the vnode, and so
once an object is created for the vnode, it will last as long as the
vnode does.

When a vnode object reference count is incremented, then the underlying
vnode reference count is incremented also.  The two "objects" are now
more intimately related, and so the interactions are now much less
complex.

When vnodes are now normally placed onto the free queue with an object still
attached.  The rundown of the object happens at vnode rundown time, and
happens with exactly the same filesystem semantics of the original VFS
code.  There is absolutely no need for vnode_pager_uncache and other
travesties like that anymore.

A side-effect of these changes is that SMP locking should be much simpler,
the I/O copyin/copyout optimizations work, NFS should be more ponderable,
and further work on layered filesystems should be less frustrating, because
of the totally coherent management of the vnode objects and vnodes.

Please be careful with your system while running this code, but I would
greatly appreciate feedback as soon a reasonably possible.
1998-01-06 05:26:17 +00:00
Sean Eric Fagan
dd30ff81d9 Use CHECKIO in procfs_ioctl() to ensure that any changes in UID/GID result
in the expected failure.
1998-01-06 01:37:12 +00:00
Brian Somers
4e9914b708 Correct the return value of ReportProtStatus() ("show proto").
Submitted by: Dave Bodenstab <imdave@mcs.net>
1998-01-06 00:58:31 +00:00
Wolfgang Helbig
d260b397c1 Add Latin LC_TIME file. 1998-01-06 00:54:33 +00:00
Wolfgang Helbig
f8a0edba2c 1. Don't be confused if the first day of a month is dropped due to
Gregorian Reformation. E. G. in Albania December 1, 1912 doesn't exist.
2. Add some countries in the switch table (BE, FI, LN, LU)
3. Correct some entries from the new found source of calendar knowledge:
   http://www.pip.dknet.dk/~c-t/calendar.html,
   That is Claus Tondering's Calendar FAQ.
1998-01-06 00:46:11 +00:00
Alexander Langer
016d30080f Display a better error message and use a non-zero exit code when
zero/delete operations fail.

PR:		4231
Reviewed by:	Archie Cobbs <archie@whistle.com>
1998-01-06 00:11:57 +00:00
Eivind Eklund
86a790b51c Fix phantasia.
Noticed by:	max
1998-01-05 17:28:01 +00:00
Kazutaka YOKOTA
a08cff3e41 Mention moused and mouse drivers update. 1998-01-05 12:38:54 +00:00
Kazutaka YOKOTA
851c9886fd Added some notes on cut&paste functions and button assignment. 1998-01-05 12:38:13 +00:00
Daniel O'Callaghan
09a3feaf70 PR: gnu/4385
Submitted by:	Robert Eckardt <roberte@MEP.Ruhr-Uni-Bochum.de>
Sundry man page fixes; handle Central European Summer Time (CEST);
usage fixes in line with man page fixes.
1998-01-05 11:32:39 +00:00
Philippe Charnier
3cf51049e0 Sort Xrefs. Use err(3). Remove uneeded #include.
Correct usage: one of {-p pid, command} is required.
Open output file when command line is fully analyzed: incorrect `truss -o f'
command does not create an empty file anymore.
1998-01-05 07:30:26 +00:00
Philippe Charnier
2632a83f1e Add rcsid. Remove uneeded #include. Use fprintf() in usage() instead of err(3)
to make it print: usage: progname ...
1998-01-05 07:23:02 +00:00
Philippe Charnier
cfebbb6c1a Use err(3). Change Synopsis to SYNOPSIS (needed for macro expansion) and
add SEE ALSO.
1998-01-05 07:19:15 +00:00
Philippe Charnier
d3173ea71c Add SEE ALSO section including ref to gzip. Add .An. 1998-01-05 07:14:54 +00:00
Philippe Charnier
125c8263d8 Convert to mdoc format. 1998-01-05 07:12:16 +00:00
Philippe Charnier
57e78ffb16 Sync. usage string and synopsis. Add rcsid. 1998-01-05 07:10:42 +00:00
Philippe Charnier
49fea209d4 Add -v in usage string. Add rcsid. 1998-01-05 07:07:44 +00:00
Brian Somers
9c97abd8c3 o Allow the use of HISADDR as the first arg to "add".
o Allow a forth argument in ppp.secret, specifying a new
  label.  This gives control over which section of
  ppp.link{up,down} is used based on the authenticated user.
o Support random address ranges in ppp.secret (not just in ppp.conf).
o Add a AUTHENTICATING INCOMING CONNECTIONS section to the man page.
o Add a bit more about DEFLATE in the man page.
o Fix the incorrect "you must specify a password in interactive
  mode" bit of the manual.
o Space things in the man page consistently.
o Be more precice about where you can use MYADDR, HISADDR and INTERFACE
  in the "add" command documentation.
1998-01-05 01:35:20 +00:00
Jonathan M. Bresler
080ea93df2 sigh....forgot to update the DEBUG printf
to show both the path and the length args
	to linux emulation truncate()

Submitted by:		jmb
1998-01-05 01:17:42 +00:00
Jonathan M. Bresler
1c4faf8bb9 length argument to truncate() in linux emulation
was not being set copied to the bsd arguments..
	frequently, resulting in files of over 100MB of NULs

PR:	386/5044
Reviewed by:		jmb
Submitted by:		(Richard Winkel) rich@math.missouri.edu
1998-01-05 01:05:15 +00:00
Alexander Langer
3415e12232 Use LIST_FIRST/LIST_NEXT macros instead of accessing the fields lh_first
and le_next.
1998-01-05 00:57:15 +00:00
Wolfgang Helbig
85c0df274a Add Finnish LC_TIME file.
This is the finish :-)
PR:		5409
Submitted by:	Ville Eerola  Thanks!
1998-01-05 00:21:18 +00:00
Alexander Langer
52d581cd33 Added missing parens from previous commit. 1998-01-05 00:14:05 +00:00
Alexander Langer
4afea9ab84 Bound the ICMP type bitmap now that it doesn't cover all possible
ICMP type values.
1998-01-05 00:08:57 +00:00
Alexander Langer
51b5c80f31 Reduce the amount of time that network interrupts are blocked while
zeroing & deleting rules.

Return EINVAL when zeroing an nonexistent entry.
1998-01-04 22:36:12 +00:00
Andrey A. Chernov
b250f24856 size_t -> unsigned
in arguments length INT_MAX overflow check
Suggested-by: bde
1998-01-04 22:28:47 +00:00
Andrey A. Chernov
78dd9df206 Upgrade to 2.5 (contrib version) 1998-01-04 21:41:46 +00:00
Brian Somers
e1375e2807 Make it clear that using "add ...." in ppp.conf when
not in -auto mode isn't a good idea, and that the
add should be done in ppp.linkup instead.

Change "add 0 0 HISADDR" to "add default HISADDR".  It's
more intuitive.
1998-01-04 21:28:49 +00:00
Andrey A. Chernov
6bc0f0317d Remove library funcs we already have 1998-01-04 20:45:41 +00:00
Andrey A. Chernov
a8ab3d6865 Reflect new import 1998-01-04 20:28:01 +00:00
Brian Somers
512db5555c Don't scribble on the stack if our input packet is
bigger than our MRU.  Moan and drop the packet
instead.
1998-01-04 20:26:37 +00:00
Brian Somers
79d1bdaedb Initialize CcpInfo protocols to -1 (none, not OUI).
Don't Call Term() for an algorithm that hasn't been Init()d.
1998-01-04 20:25:41 +00:00
Andrey A. Chernov
6f584bd599 This commit was generated by cvs2svn to compensate for changes in r32243,
which included commits to RCS files with non-trunk default branches.
1998-01-04 20:25:29 +00:00
Andrey A. Chernov
98c7cc311f Raw import of patch 2.5 1998-01-04 20:25:29 +00:00
Steve Price
4124d193d4 Suppress banner pages by default and add a note describing how to
turn them back on.

PR:		5226
1998-01-04 17:59:24 +00:00
Steve Price
949af4d183 Note in the BUGS section that /etc/ethers has been deprecated and
that using a DNS server is preferred to a static file.

PR:		5233
Obtained from:	partially NetBSD
1998-01-04 17:34:42 +00:00