Commit Graph

4442 Commits

Author SHA1 Message Date
tg
b80ee741e4 - First shot at PIC emulation;
- better 8250 emulation;
- fake vertical retrace bit in Input Status #1 register
  (this was lost in the VGA emu rewrite).

Submitted by:	Igor Serikov <bt@turtle.pangeatech.com>
2001-10-02 11:28:59 +00:00
fenner
5565b27985 Allow "obsolete" (but commonly-used) command line style to be used
with -F, e.g. tail -1 -F /var/log/messages.

Submitted by:	Maxim Konovalov <maxim@macomnet.ru>
2001-10-02 06:22:01 +00:00
ru
727c2b4b9e mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
ru
3573c599bf mdoc(7) police: make double quotes in #include statement visible. 2001-10-01 15:01:57 +00:00
ru
4ec21b2668 mdoc(7) police: s/FreeBSD/.Fx/, bump document date. 2001-10-01 13:32:46 +00:00
obrien
dd0f173528 Adjust to the libedit enhancements some functions now take more parameters.
Partially submitted by:	kris
2001-10-01 08:46:45 +00:00
grog
71c64c2d10 Add description for calendar.freebsd. 2001-10-01 02:35:52 +00:00
grog
db22948c5a Correct spelling of Labour Day in Australia, and clarify which states observe it.
Add Queen's Birthday in WA.
Expand unnecessary abbreviation.
Correct rules for German Buss-  und Betttag.
Disunite Ivory Coast and Panama.
2001-10-01 02:35:08 +00:00
bmilekic
679bc6b787 Re-enable mbtypes statistics in the mbuf allocator. I disabled these
when I changed the allocator bits. This implements per-CPU mbtypes
stats by keeping net number of decrements/increments of a given mbtype
per-CPU and then summing all of the per-CPU mbtypes to produce the total
net number of allocated mbufs of the given mbtype.
Counters are carefully balanced to avoid/prevent underflows/overflows.

mbtypes stats are re-enabled with the idea that we may occasionally
(although very rarely) observe slight inconsistencies in the stat
reporting. Most of the time, we should be fine, though.

Also make appropriate modifications to netstat(1) and systat(1) to do
the necessary reporting.

Submitted by: Jiangyi Liu <jyliu@163.net>
2001-09-30 01:58:39 +00:00
billf
9774b46c80 use openpty() instead of rolling a custom function (which didn't support
the full range of ptys anyways)
2001-09-28 22:46:13 +00:00
obrien
ebe273ae16 Clarify that -h implies -c. 2001-09-24 17:42:37 +00:00
des
d7a57efb17 Don't print running stats unless we're the foreground process.
PR:		30764
2001-09-23 22:03:39 +00:00
mikeh
83e9fffd73 Don't add space after comma unless there was already one (prevents a
rare overflow). Optimize loop slightly. Don't exit if realloc can't
shrink a buffer (just continue and use the larger buffer).

Obtained from:	OpenBSD
MFC after:	2 weeks
2001-09-23 04:07:26 +00:00
obrien
acd3e91014 blah, remove debugging code that crept in with last commit. 2001-09-23 00:11:48 +00:00
obrien
9d570ddd42 Add the 'h' flag to operate on symlinks rather than what they point to. 2001-09-22 18:45:03 +00:00
cjc
0fb38d3ab8 Fixing a bug that causes very short uptimes (less than one minute) to
be 30 seconds off. (Thanks to Vladimir B.Grebenschikov
<vova@express.ru> for the PR and ru for a more elegant fix.)

PR:		bin/30680
Approved by:	ru
2001-09-22 09:33:00 +00:00
ru
e4961e647a mdoc(7) police: markup nits. 2001-09-21 07:04:47 +00:00
wollman
3f062eaaf2 Cross-reference jot(1).
MFC after:	1 week
2001-09-21 03:05:16 +00:00
wollman
3e5540d0ba Cross-reference rs(1), the general array re-shaper. (pr(1) is commonly used
to display text in columns even when the other formatting pr does is not
desired.)

MFC after:	1 week
2001-09-21 02:57:56 +00:00
wollman
05c0980636 Cross-reference between lam(1) and paste(1). Add a STANDARDS section to
lam(1) indicating that paste(1) is a standard way to do some of the same
things.

MFC after:	1 week
2001-09-21 02:51:07 +00:00
peter
860188b5bf Userland part of nfs client/server split and cleanup. 2001-09-18 23:34:44 +00:00
grog
64b23fcc74 Fix multiple uses of commas to separate countries. This construct is
commonly used in the United States of America to represent a
hierarchical relationship between city and state or country
("Evacuation Day in Suffolk County, Massachusetts"), but it was also
being abused to enumerate unrelated places ("Independence Day in
Albania, Mauritania").

Remove the list of countries observing All Souls' Day.  This is a
widely observed holiday, and the list only included South American
contries.

There's more to do here; the list is rather patchy.
2001-09-17 21:19:28 +00:00
ru
56d979def6 When bootstrapping install(1), libc may not have the strtofflags(3) support. 2001-09-17 11:58:14 +00:00
grog
c6ef72517b Correct spelling of PNG.
Make it clear that 16 September is the national day both in Mexico and PNG.
2001-09-15 23:55:07 +00:00
rwatson
8e6605aefd o Modify NFS rights comment to note that the early credential changes
to test for a home directory don't set up the additional groups, and
  as such may limit users conservatively.  This does not affect the
  eventual credentials selected.
2001-09-15 17:09:39 +00:00
ru
792ef9715a Fold groups(1) and whoami(1) into id(1). 2001-09-14 14:04:08 +00:00
ru
e3a9c7b564 Simplify f_Xtime(). 2001-09-14 13:42:26 +00:00
ru
9e8f597b79 Bloat find(1) even more, and introduce the concept
of time units to be used with -[acm]time primaries.

Based on patch from Nils M Holm <nmh@t3x.org>.

PR:		bin/29165, bin/30309
2001-09-14 12:47:13 +00:00
ru
59cbe41568 Now that we have it, replace `afterinstall' target with SCRIPTS. 2001-09-13 14:26:31 +00:00
ru
7e4453e235 Fixed the BINGRP handling mess.
EXEGRP and EXEMODE are used to install DOS (EXE format) binaries.
doscmd(1) can optionally be installed as ``setgid kmem''.
Hence the assignment operator for EXEGRP.

PR:		bin/30538
2001-09-13 07:20:51 +00:00
ru
36d40d85c3 Set BINOWN=root explicitly for setuid root binaries.
This is not "useless", as one may have non-default
setting for BINOWN in make.conf, and we still want
these to be installed setuid root in this case.
2001-09-13 06:48:18 +00:00
markm
41fc533f8e Reinstate complete (and now correctly functioning) WARNS=2. 2001-09-12 19:15:02 +00:00
ru
f57a015920 Fixed some of style bugs. 2001-09-12 10:04:42 +00:00
julian
aff3918a2c KSE Milestone 2
Note ALL MODULES MUST BE RECOMPILED
make the kernel aware that there are smaller units of scheduling than the
process. (but only allow one thread per process at this time).
This is functionally equivalent to teh previousl -current except
that there is a thread associated with each process.

Sorry john! (your next MFC will be a doosie!)

Reviewed by: peter@freebsd.org, dillon@freebsd.org

X-MFC after:    ha ha ha ha
2001-09-12 08:38:13 +00:00
grog
c104c86d17 Correct the entry for Sudetenland. It also has nothing to do with the south.
Corrected by:	joerg
Pointy hat to:	grog
2001-09-12 07:22:38 +00:00
grog
168ddbba2a Correct the invasion of Südetenland. Any involvement of ducks was insignificant. 2001-09-12 00:13:02 +00:00
ru
76802850ea Implement the ``-f address_family'' filter for -i.
Prodded by:	Igor Podlesny <poige@morning.ru>
2001-09-11 17:14:33 +00:00
ru
389b2a3471 Update usage() to match reality. 2001-09-11 15:21:36 +00:00
ru
a6d24eab16 mdoc(7) police: Fixed the .Ex calls in manpages that describe more
than one utility.

PR:		docs/30437
Submitted by:	SUZUKI Koichi <koich@cac.co.jp>
2001-09-11 12:27:15 +00:00
mike
3d38b78b79 Add a cast to silence a warning (error because of WARNS=2) on Alpha.
Discussed with:	des
2001-09-10 17:23:57 +00:00
ru
3857cc7223 Do not overrun entry array when printing output tables.
Cleanup storage allocation for entries.

Obtained from:	NetBSD
2001-09-10 15:09:12 +00:00
ru
ee890c27cc Fixed SIGFPE (divide by zero) if column's width exceeds display width (-w).
Obtained from:	OpenBSD
2001-09-10 11:56:07 +00:00
ru
4d397f7284 Fixed the -z option handling:
-Wuninitialized if used without -t.

PR:		bin/30467

Null pointer dereference if used with -t.

Maximum column width computation was wrong.
2001-09-10 11:43:40 +00:00
dd
021fca08cf - Move the prototype of ttymsg() into ttymsg.h. syslogd and talkd
also use this, and they shouldn't have to have their own prototypes.

- Silence warnings about constness and signedness in ttymsg().  This
  includes changing the return value to a `const char *', and changing
  the types of `left' and `wret' (both byte counts) to ssize_t.

Reviewed by:	bde
2001-09-09 14:23:31 +00:00
brian
0c636a544a Iron out an identity crisis. I'm Irish, not English. 2001-09-09 08:33:40 +00:00
dillon
6b42930fa9 Make sure that all non-root-owned binaries in standard system
paths are chflaged 'schg' to prevent exploit vectors when run
by cron, by a root user, or by a user other then the one owning the
binary.  This applies to most of the uucp binaries, cu, tip, and
man (man was already installed properly).

MFC will occur when approved.
2001-09-09 04:54:10 +00:00
mike
2c640e4211 Remove a bogus cast and lockdown users(1) with WARNS?=2
Submitted by:	David Hill <david@phobia.ms>
Reviewed by:	-audit
MFC after:	1 week
2001-09-09 00:40:04 +00:00
grog
0ff916156b Add Dennis Ritchie. 2001-09-09 00:36:20 +00:00
des
2630abf91a If the local file does not exist, or is a regular file, and we're not trying
to resume a transfer, download the requested document into a temporary file
which we later rename.  This avoids leaving half-completed files around in
case of a crash (it'll still leave a half-completed file, but with a  hope-
fully non-conflicting name), and should reduce the need for human inter-
vention on ports-building machines.

The temporary file name for "foo/bar" is constructed by invoking mkstemps()
with the pattern "foo/.fetch.XXXXXX.bar"

Requested by:	obrien
2001-09-08 15:17:15 +00:00
markm
f80fab10a6 Back out (with prejudice) the last WARNS=2 fix. I cannot understand
its failure mode, and will revisit it later.
2001-09-07 16:20:38 +00:00