Commit Graph

60719 Commits

Author SHA1 Message Date
Ruslan Ermilov
f811bd81b1 Backout removal of -I${.CURDIR}/../../../sys in previous revision.
It is needed to pick up (missing in SHARED=copy case) netatm/uni/
headers.

The right fix would be to install missing netatm/uni headers.
2001-06-11 17:48:15 +00:00
Ruslan Ermilov
2107b6c68e Backout previous change (removal of -I${.CURDIR}/../../sys/netinet).
This is needed to pick up the right headers.  Wrong headers from
src/contrib/ipfilter are used otherwise.

The right fix would be to fix contrib/ipfilter C sources to pick up
headers from <sys/netinet>.

Noticed by:	peter
2001-06-11 17:41:58 +00:00
Hajimu UMEMOTO
74cf6cfebf Mention about -rl behavior change. Now, MTU is printed. 2001-06-11 17:34:25 +00:00
Hajimu UMEMOTO
7165726d0d Add missing column for Mtu in header when -rl is specified. 2001-06-11 17:32:53 +00:00
Dag-Erling Smørgrav
b0def2b548 Add sbuf_copyin(). Also add 'b' variants of sbuf_{cat,copyin,cpy}() which
ignore NUL bytes in the source string.
2001-06-11 17:05:52 +00:00
Dag-Erling Smørgrav
21ceb6efa2 For some reason, though the module builds just fine without <sys/lock.h>,
LINT fails to build without it.
2001-06-11 15:04:48 +00:00
Dag-Erling Smørgrav
2b67592fad Pass on the verbose option to fetchGetURL().
In the child that's set up to run tar(1), close all file descriptors except
stdin, stdout and stderr.

PR:		bin/27760
2001-06-11 14:18:26 +00:00
Dag-Erling Smørgrav
9e2a792c46 Don't call _ftp_closefn() upon EOF in _ftp_readfn(); just return 0. This
fixes a bug in pkg_add(1) (which nobody noticed because of another bug).
2001-06-11 14:12:46 +00:00
Bruce Evans
e1d071dbfd Removed the broken code which claimed to lose the set[ug]id bits in
the !(pflag && setfile()) case for regular files unless the copy is
owned by the same user and group.  These bits have already been lost
(or never gained) in the correct way.  The code didn't actually lose
the bits; it depended on them being lost already (apparently in all
cases) and attempted to gain them as necessary, but it often gained
them (and sometimes collateral bits) when wrong:
- pflag && setfile() == 0 case (i.e., for a successful cp -p):
  setfile() copies all the attributes as correctly as possible (as
  specified by POSIX), and we sometimes messed up the up the mode by
  setting it again.  Also, if the file is immutable, then setting the
  mode again gave spurious errors (PR 20646).
- !pflag case.  If the target is created, POSIX requires it to not
  have the set[ug]id bits, but we sometimes copied them from the source.
  If the target already exists, POSIX requires its mode to be unchanged,
  but we sometimes copied the whole mode from the source.

PR:		20646
MFC after:	4 weeks
2001-06-11 13:57:54 +00:00
Hajimu UMEMOTO
449eb73569 prefixcmd_enable was obsoleted by syncing recent KAME. New prefix(8)
is just a shell script for backward compatibility.  Now, we always use
ifconfig(8) instead of prefix(8).

MFC after:	3 weeks
2001-06-11 13:28:05 +00:00
Ruslan Ermilov
e72aa2fa57 The README file says:
c)  The listing should be kept in filename sorted order.
2001-06-11 12:48:45 +00:00
Hajimu UMEMOTO
3384154590 Sync with recent KAME.
This work was based on kame-20010528-freebsd43-snap.tgz and some
critical problem after the snap was out were fixed.
There are many many changes since last KAME merge.

TODO:
  - The definitions of SADB_* in sys/net/pfkeyv2.h are still different
    from RFC2407/IANA assignment because of binary compatibility
    issue.  It should be fixed under 5-CURRENT.
  - ip6po_m member of struct ip6_pktopts is no longer used.  But, it
    is still there because of binary compatibility issue.  It should
    be removed under 5-CURRENT.

Reviewed by:	itojun
Obtained from:	KAME
MFC after:	3 weeks
2001-06-11 12:39:29 +00:00
Dag-Erling Smørgrav
52ebde4fba Add PSEUDOFS, and note that LINPROCFS depends on it. 2001-06-11 11:04:36 +00:00
Dag-Erling Smørgrav
81cbd9b091 Add pseudofs and the new linprocfs here. 2001-06-11 11:02:10 +00:00
Dag-Erling Smørgrav
36b2d3b7be Add a PSEUDOFS option to allow pseudofs to be built statically. 2001-06-11 10:58:07 +00:00
Dag-Erling Smørgrav
fb69758d03 Remove the old linprocfs code. 2001-06-11 10:57:33 +00:00
Joerg Wunsch
f8ce7dd521 Cosmetics:
. remove stale comments and a stale #define (from the old days of ft(4))
. make MAX_SEC_SIZE (used in isa_dmainit()) a #define

. fix a typo in a string
. use 0 as the blocksize in devstat_add_entry(), since the actual blocksize
  is unknown (devstat(9) suggests to use 0 in that case)
2001-06-11 10:48:10 +00:00
Peter Pentchev
f351b05a52 WARNS=2 cleanup, ANSIfication, manpage mdoc(7) cleanup.
Once again, as explained in my messages to -audit, the ANSIfication comes
as part of the preparation to add a new -d command-line flag to send
output to stdout/stderr.  That commit will come in a week, pending any
further comments/objections.  For those who have missed the -audit mails,
it's at http://people.FreeBSD.org/~roam/bsd/rarpd/usr.sbin-rarpd-d.patch

Asbestos suit:	on ;)
Reviewed by:	dd, silence on -audit
MFC after:	1 month
2001-06-11 09:29:34 +00:00
David Malone
c7fd62da6c Try to make the setting of the SIGCHLD handler the same as setting of
the NOCLDWAI flag. Susv2 seems to require this.

Submitted by:	Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
Reviewed by:	dillon
2001-06-11 09:15:41 +00:00
Andrey A. Chernov
ee84c5b19d ISO_ -> ISO 2001-06-11 04:24:43 +00:00
Andrey A. Chernov
21ff62e236 ISO_ -> ISO 2001-06-11 03:45:33 +00:00
Andrey A. Chernov
5cbf767700 ISO_ -> ISO 2001-06-11 03:08:46 +00:00
Andrey A. Chernov
b04359b9b7 ISO_ -> ISO 2001-06-11 02:59:46 +00:00
Andrey A. Chernov
8513f6b5b2 ISO_ -> ISO, calendar 2001-06-11 02:59:08 +00:00
Andrey A. Chernov
127f4717f9 ISO_ -> ISO rename 2001-06-11 02:17:23 +00:00
Andrey A. Chernov
f4ca0820bc ISO_* -> ISO* 2001-06-11 02:15:32 +00:00
Andrey A. Chernov
bc930028f5 ISO_ -> ISO (partially) 2001-06-11 02:12:25 +00:00
Andrey A. Chernov
22df530d11 ISO_ -> ISO 2001-06-11 02:00:33 +00:00
Andrey A. Chernov
f2a2da8322 ISO_* -> ISO* rename 2001-06-11 01:48:17 +00:00
Matt Jacob
428133f142 Add 'SKIP' as an action so that verification works for multivolume restores.
Tested with filesystem files.

PR:		27218
Submitted by:	mad1@tapil.com
MFC after:	3 weeks
2001-06-11 01:44:06 +00:00
Andrey A. Chernov
ce4bd508ed ISO_ -> ISO in comment 2001-06-11 01:32:33 +00:00
Andrey A. Chernov
c09ed64a72 ISO_ -> ISO 2001-06-11 01:29:40 +00:00
Andrey A. Chernov
fe6f7d3ab4 ISO_ -> ISO in DOC_LANG 2001-06-11 01:26:52 +00:00
Greg Lehey
1e1442dda0 Correct typo.
Submitted by: Normand Leclerc <leclercn@videotron.ca>
2001-06-11 00:43:26 +00:00
Cameron Grant
94faf89997 identify es1371 revision a 2001-06-11 00:32:18 +00:00
Cameron Grant
7d07ee8c6b get clkrun the right way around
remove debug messages
2001-06-11 00:29:25 +00:00
Dag-Erling Smørgrav
da6d379c40 Minor whitespace changes. 2001-06-11 00:17:59 +00:00
Andrey A. Chernov
baf58b5622 In debug mode don't print error for C,POSIX,ASCII,US-ASCII locales 2001-06-10 23:42:31 +00:00
Dag-Erling Smørgrav
deb193d250 Preemptive brucification. 2001-06-10 23:28:03 +00:00
Dag-Erling Smørgrav
f9f768f162 Connect linprocfs to the build. 2001-06-10 23:27:25 +00:00
Andrey A. Chernov
1c593a0d69 Handle ASCII and US-ASCII aliases 2001-06-10 23:26:47 +00:00
Dag-Erling Smørgrav
320414ec14 These aren't needed any more. 2001-06-10 23:24:14 +00:00
Dag-Erling Smørgrav
f08adc10fa New pseudofs-based linprocfs (repo-copied from linprocfs_misc.c). 2001-06-10 23:23:59 +00:00
Andrey A. Chernov
75d03a7f04 Handle "ASCII" and "US-ASCII" aliases 2001-06-10 23:22:31 +00:00
Dag-Erling Smørgrav
1d6286d833 Disconnect linprocfs prior to moving it. 2001-06-10 23:20:38 +00:00
Andrey A. Chernov
064484f9b3 Install additional en_US links 2001-06-10 22:40:39 +00:00
Andrey A. Chernov
bfa2fcca85 Back out *.US-ASCII compactification - application should decide 2001-06-10 22:32:39 +00:00
Andrey A. Chernov
7158e1b8bd Fix encoding info 2001-06-10 22:13:29 +00:00
Andrey A. Chernov
bda67ecc50 Add man/en.ISO8859-1 hierarchy 2001-06-10 21:55:32 +00:00
Dag-Erling Smørgrav
b27acc8dd1 Bail out if the fill function failed. 2001-06-10 21:39:01 +00:00