Commit Graph

8403 Commits

Author SHA1 Message Date
Tim Kientzle
45d4d7ac8c bsdtar 2.0.23:
* New test scripts exercise some basic functionality
   * Most header inclusions are now protected (portability)
   * read.c now relies on security checks in libarchive instead
     of trying to do its own (optimization)
   * -p now enabled by default for root, add --no-same-permissions
     to disable it
   * Comments, minor style fixes.
2007-03-11 10:36:42 +00:00
Michael Bushkov
5f6af5a919 Add myself.
Approved by:	brooks (mentor)
2007-03-11 06:44:37 +00:00
Martin Blapp
5c550a8a5f Uppercase FreeBSD, sigh. 2007-03-10 18:31:33 +00:00
Martin Blapp
29f12f6e3f Add myself 2007-03-10 18:30:12 +00:00
Christian Brueffer
4806fea24e Uppercase FreeBSD. 2007-03-10 12:45:46 +00:00
Ruslan Ermilov
bdf3513904 Bump the original revision of c89(1). 2007-03-10 07:11:20 +00:00
Ruslan Ermilov
bf78e6dabb Reduce diffs with c99(1). 2007-03-10 07:10:01 +00:00
Kirk McKusick
67562496ad Add myself. 2007-03-10 05:56:05 +00:00
Ruslan Ermilov
228978c1b8 Sort (once again) by month/day/year/login. 2007-03-09 20:31:46 +00:00
Johann Kois
ddf3a67d31 Add my record.
Discussed with and approved by: remko@
2007-03-09 20:14:59 +00:00
Ed Maste
f9feee175b KERN_PROC_ALL produces a kinfo_proc for each thread in a process, which
caused fstat to produce duplicated output for threaded processes.  Instead
use KERN_PROC_PROC to get just one kinfo_proc per process.

MFC After:	2 weeks
2007-03-09 16:21:40 +00:00
Ruslan Ermilov
087d64de6f Fix markup. 2007-03-09 14:36:18 +00:00
Ruslan Ermilov
28842b571d Spell "id" as "ID". 2007-03-09 12:45:00 +00:00
Martin Wilke
a630c2b75d - Add my birthday 2007-03-08 22:53:50 +00:00
Max Khon
d2742a2b29 Better English. 2007-03-08 14:05:45 +00:00
Yoshio MITA
7645637281 Following rwatson's suggestion.
<20070307130635.M28276@fledge.watson.org>
2007-03-08 13:09:55 +00:00
Tim Bishop
f22bd00d94 Add my birthday to the FreeBSD calendar.
Encouraged by:	rwatson
2007-03-08 12:17:01 +00:00
Bernd Walter
ac7272e70d Add myself to the FreeBSD calendar. 2007-03-08 10:54:27 +00:00
Max Khon
9a81351403 Implement "Remaking Makefiles" feature:
After reading Makefile and all the files that are included using .include
or .sinclude directives (source Makefiles) make considers each source
Makefile as a target and tries to rebuild it.  Both explicit and implicit
rules are checked and all source Makefiles are updated if necessary. If
any of the source Makefiles were rebuilt, make restarts from clean state.

To prevent infinite loops the following source Makefile targets are
ignored:
- :: targets that have no prerequisites but have commands
- ! targets
- targets that have .PHONY or .EXEC attributes
- targets without prerequisites and without commands

When remaking a source Makefile options -t (touch target), -q (query
mode), and -n (no exec) do not take effect, unless source Makefile is
specified explicitly as a target in make command line.
Additionally, system makefiles and .depend are not considered as a
Makefiles that can be rebuilt.

Reviewed by:	harti
2007-03-08 09:16:11 +00:00
Will Andrews
ffb7adf38e Fix a bug where the standard input (fifoFd == 0) was confused with an
error return from open(2), leading to an erroneous value of maxJobs and
a hung make when -f is standard input and -j is used.

PR:		bin/101232
Submitted by:	Nate Eldredge <nge@cs.hmc.edu>
2007-03-08 07:57:43 +00:00
Tim Kientzle
254cbd1764 Argh. Support for reading ACLs off of disk was inadvertently disabled
as part of an old configuration shuffle.  As a result, although
ACL restore has been working, ACLs haven't been written into archives
for some time.  <sigh>

Pointy hat: You know.
MFC after: 3 days
2007-03-08 05:52:01 +00:00
Bruce A. Mah
ffa83f46c0 Jump on the calendar bandwagon and add myself. 2007-03-07 19:15:18 +00:00
Stefan Walter
34401adb87 Add my birthday to calendar.freebsd. 2007-03-07 19:00:01 +00:00
Diane Bruce
344c88ecd8 - Add myself to calendar.freebsd
Encouraged by:	rwatson, ehaupt
Approved by:	ehaupt (mentor)
2007-03-07 16:06:48 +00:00
Paolo Pisati
e31a5e5583 Correctly sort my entry to FreeBSD calendar first by date, then by year.
Pointed out by: ru
2007-03-07 16:02:32 +00:00
Paolo Pisati
77079f1379 Add my bithdate to the FreeBSD calendar. 2007-03-07 15:08:51 +00:00
Ariff Abdullah
ea6f2b0760 Add my birth date/location to the FreeBSD calendar. 2007-03-07 14:48:42 +00:00
Rong-En Fan
5777187dd7 Add myself to the FreeBSD calendar 2007-03-07 13:45:39 +00:00
Konstantin Belousov
c0f8b88e50 Add my birthday to the freebsd calendar 2007-03-07 13:21:55 +00:00
Max Khon
27d0a1a493 Support character device as input file.
PR:             103500
2007-03-06 17:04:15 +00:00
Ruslan Ermilov
31d3065878 More markup fixes. 2007-03-04 08:24:13 +00:00
Ruslan Ermilov
58f5d5b0f8 Markup fixes. 2007-03-04 08:14:26 +00:00
Tim Kientzle
baf85fc253 Make the file tests robust against broken symlinks and other
sources of stat()/lstat() failure.
2007-03-03 07:49:08 +00:00
Tai-hwa Liang
1fa420b671 Fixing NO_INET6 build as addr2ascii() has been nuked in previous commit. 2007-03-02 05:23:39 +00:00
Bruce M Simpson
b32fedf48f stub call to addr2ascii().
Noticed by:	brooks
2007-03-01 02:11:57 +00:00
Bruce M Simpson
67228c4621 Nuke ascii2addr() and addr2ascii(). They have no consumers anywhere
in FreeBSD, and originated from INRIA IPv6.

Stub out netstat reference to addr2ascii() I mistakenly introduced.
Update misleading man page sections.

Merge NetBSD's getnameinfo() AF_LINK extensions for a portable way to
print link-layer addresses given a sockaddr_dl(), minus the IEEE 1394
bits which don't map directly to our code.

Obtained from:	NetBSD (getnameinfo.c)
Discussed on:	current (March 2006)
2007-02-28 21:18:38 +00:00
Ruslan Ermilov
ac4c858b19 Backport markup fixes from a translated version of a manpage. 2007-02-28 10:22:19 +00:00
Ruslan Ermilov
fbccd9db48 Check in some insignificant fixes obtained as a result of
the translation work.
2007-02-28 10:19:25 +00:00
Ruslan Ermilov
081fa92f3b - Adopt the short description from POSIX as it better matches the
utility name.

- Fix a bug in description: the range preceded by a dash selects
  up to the last number, not first.
2007-02-28 10:13:32 +00:00
Ruslan Ermilov
5897a066d9 Fix markup. 2007-02-27 12:06:02 +00:00
Bruce Evans
b6c86f4b1e Fixed some style bugs (whitespace lossage for removal of __P(()), and
lots of naming and typing errors involving `interval').
2007-02-27 05:10:36 +00:00
Bruce Evans
93547b07b9 Use a periodic itimer instead of repeated calls to alarm() in
sidewaysintpr().  This increases the accuracy of the per-interval
counts when they are interpreted as rates.  Repeated calls to alarm(n)
give an average interval that is about 2 ticks larger than n and has
a large variance.  Periodic itimers normally get the average almost
right but have similarly large variance (due to scheduling delays).

Statistics utilities should use clock_gettime() to determine the
actual interval, but it is still useful to maximize the accuracy of
the interval, especially for cases like netstat -w where counts are
displayed so the program cannot hide the inaccuracy in a rate
conversion.
2007-02-27 04:54:33 +00:00
Mohan Srinivasan
7c72af8770 Reap FIN_WAIT_2 connections marked SOCANTRCVMORE faster. This mitigate
potential issues where the peer does not close, potentially leaving
thousands of connections in FIN_WAIT_2. This is controlled by a new sysctl
fast_finwait2_recycle, which is disabled by default.

Reviewed by: gnn, silby.
2007-02-26 22:25:21 +00:00
Jung-uk Kim
560a54e10c Add three new ioctl(2) commands for bpf(4).
- BIOCGDIRECTION and BIOCSDIRECTION get or set the setting determining
whether incoming, outgoing, or all packets on the interface should be
returned by BPF.  Set to BPF_D_IN to see only incoming packets on the
interface.  Set to BPF_D_INOUT to see packets originating locally and
remotely on the interface.  Set to BPF_D_OUT to see only outgoing
packets on the interface.  This setting is initialized to BPF_D_INOUT
by default.  BIOCGSEESENT and BIOCSSEESENT are obsoleted by these but
kept for backward compatibility.

- BIOCFEEDBACK sets packet feedback mode.  This allows injected packets
to be fed back as input to the interface when output via the interface is
successful.  When BPF_D_INOUT direction is set, injected outgoing packet
is not returned by BPF to avoid duplication.  This flag is initialized to
zero by default.

Note that libpcap has been modified to support BPF_D_OUT direction for
pcap_setdirection(3) and PCAP_D_OUT direction is functional now.

Reviewed by:	rwatson
2007-02-26 22:24:14 +00:00
Greg Lehey
825df58b28 Add support for selecting from multiple tuners.
Suggested by:	usleepless <usleepless@gmail.com>
2007-02-25 01:28:37 +00:00
Greg Lehey
f65f25a187 Tidy up forrmat. No functional changes. 2007-02-25 01:08:17 +00:00
Bruce M Simpson
c15ddad979 Use sysctl(2), not kvm(3), to read IPv6 multicast information from
the running system.
Use the name 'IPv6 Forwarding Table', not 'IPv6 Routing Table', to be
consistent with what the code actually does and is.
2007-02-24 21:58:30 +00:00
Bruce M Simpson
848b41603f Use the names 'IPv4' and 'Forwarding Table' in program output, not
'Routing Table', to be consistent with what the code actually does and is.
2007-02-24 21:56:52 +00:00
Bruce M Simpson
4f487dfc1a Add comments about where netstat is using KVM to read things which
should really be available via sysctl for a running system.
2007-02-24 21:42:21 +00:00
Jordan Sissel
ee35eb7aa1 Make cu/tip handle when $HOME is not set in the environment.
Approved by: philip
Submitted by: ale
PR: bin/108775
2007-02-23 18:41:12 +00:00