date: 2006/05/27 19:32:28; author: krion; state: Exp; lines: +1 -2
Fix using "P" command on empty pattern space. If the "P" command is
used once on a non-empty pattern space and then again on an empty
pattern space, the second usage restores the pattern space length to
the length that it had when the first "P" was used.
PR: bin/96052
Submitted by: Andrey Zholos <aaz@althenia.net>
date: 2006/05/27 18:27:41; author: krion; state: Exp; lines: +35 -3
Add the capability for a trailing scale indicator to cause the
specified size to be read in the more familiar units of kilobytes,
megabytes, gigabytes, terabytes and petabytes.
PR: bin/50988
Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk>
date: 2006/05/14 20:23:00; author: krion; state: Exp; lines: +1 -4
The last execution of -exec {} + is not done if the -exec primary is
not on the top-level -and sequence, e.g. inside of ! or -or.
Create a separate linked list of all active -exec {} + primaries and
do the last execution for all at termination.
PR: bin/79263
Submitted by: Jilles Tjoelker <jilles@stack.nl>
arch, by merging revision 1.292 from ru@ who was nice enough to
fix this problem in HEAD, but I wasn't paying attention :-).
Pointy hat to: mux
Spotted by: bmah
- Add -s flag to limit the length of string fields in the output
brian Jan 2, 2006
- Accept zero len sockaddr_in types
alfred Oct 15, 2005
Approved by: alfred
When opening a trace file, open O_NONBLOCK so that ktrace doesn't stall
if the target is a fifo. After opening a trace file, check that it is a
regular file, and if not, return an error.
Reported by: kris
PR: 94278
Approved by: re (scottl)
Some years ago handling login.access(5) was moved from login(1) to
pam_login_access(8) completely and unconditionally. This patch is
to finalize the move by deleting unused files and defines, and by
updating the manpages. In addition, login.access.5 will be installed
from the pam_login_access src directory, to where it belongs and
where it has lived for quite a while, too.
Besides satisfying general purism, this patch should stop ongoing
attempts to fix the dead code.
Approved by: re (mux)
Default number of direct access devices had been changed from three to two.
Reflect this in other paragraphs.
PR: 93201
Submitted by: Marian Cerny
Approved by: re (scottl)
present in kdump.1:1.15:
Add a "-H" argument to kdump, which causes kdump to print an additional
field holding the threadid. This is more useful for libthr than
libpthread, but still quite useful in libpthread as it can be used to
process interlaced records from multiple threads over the course of a
system call.
Detect old ktr_buffer values using the heuristic "if it's negative,
then it must not be a valid threadid". This may leave something to be
desired.
Reviewed by: davidxu
Approved by: re (scottl)
- Mention that users need to be in the wheel group to `su - root' by default, and how to change it.
PR: docs/70616
Submitted by: Jilles Tjoelker <jilles at stack dot nl>
Reviewed by: ru@
Approved by: ceri@
Catch up with 64bit time_t on sparc64. The rstat packet expects a 32bit
time_t and times will look incorrect on machines with 64bit time_t.
src/usr.bin/rup/rup.c: rev 1.18 -> 1.19
PR: 88788
Submitted by: Keith White <Keith.White -at- site.uottawa.ca>
date: 2005/12/30 20:10:21; author: csjp; state: Exp; lines: +1 -1
mkstemp(3) and friends use a combination of base 10 digits, along
with upper and lower case letters from the English alphabet. Change
the number of possible file names mktemp will return from 26**6
to (10+26+26)**6 instead. This keeps things consistent with mkstemp(3)
Add myself to the list (Ehi, I'm not the youngest!)
src/usr.bin/calendar/calendars/calendar.freebsd: rev 1.173 -> 1.174
(tomorrow is my birthday..)
Approved by: philip (mentor, implicit)
Correct insecure temporary file usage in ee. [06:02]
Correct a race condition when setting file permissions, sanitize file
names by default, and fix a buffer overflow when handling files
larger than 4GB in cpio. [06:03]
Fix an error in the handling of IP fragments in ipfw which can cause
a kernel panic. [06:04]
Security: FreeBSD-SA-06:01.texindex
Security: FreeBSD-SA-06:02.ee
Security: FreeBSD-SA-06:03.cpio
Security: FreeBSD-SA-06:04.ipfw
kbyanc 2005-12-28 20:36:55 UTC
FreeBSD src repository
Modified files:
usr.bin/netstat Makefile ipsec.c main.c netstat.h
Added files:
usr.bin/netstat pfkey.c
Log:
Add support for printing IPSEC protocol stats if the kernel was
compiled with FAST_IPSEC rather than the KAME IPSEC stack.
Note that the output of "netstat -s -p ipsec" differs depending on
which stack is compiled into the kernel since they each keep different
stats. This delta also adds the "esp", "ah", and "ipcomp" protocol
stats, which are also available when the kernel is compiled with the
FAST_IPSEC stack (e.g. "netstat -s -p esp").
Submitted by: Matt Titus <titus at nttmcl dot com>
Revision Changes Path
1.31 +2 -1 src/usr.bin/netstat/Makefile
1.13 +266 -94 src/usr.bin/netstat/ipsec.c
1.81 +29 -0 src/usr.bin/netstat/main.c
1.47 +6 -0 src/usr.bin/netstat/netstat.h
1.1 +184 -0 src/usr.bin/netstat/pfkey.c (new)