| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
case. It seems entries are in reverse order when read from the kernel
memory but in the right order when read from a file (i.e. ALQ). Handle
both cases.
MFC after: 1 day
|
|
|
|
|
|
|
|
| |
option is undocumented because it does nothing. It does nothing
because bsdtar never needs it. It is accepted because gnutar does
sometimes need it and many scripts use it.
Reported by: Pawel Jakub Dawidek
|
|
|
|
|
|
| |
name in '-c' (RFCOMM channel) option.
MFC after: 3 days
|
|
|
|
|
| |
PR: not quite docs/84620
MFC after: 2 weeks
|
|
|
|
|
|
| |
PR: bin/56558
Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru>
MFC after: 2 weeks
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
| |
MFC after: 1 day
|
|
|
|
| |
Reviewed by: nyan
|
|
|
|
|
|
|
|
| |
time_t and times will look incorrect on machines with 64bit time_t.
PR: 88788
Submitted by: Keith White <Keith.White -at- site.uottawa.ca>
MFC after: 1 week
|
|
|
|
|
| |
free()ing stack memory which causes the program to abort,
and I can no longer make buildworld.
|
|
|
|
|
|
|
|
|
| |
than strlen(var) + 1)
- ReadMakeFile: prevent `fname' memory leak
- ReadMakeFile: prevent double free (caused by double fclose) --
ParsePopInput() closes input file
Reviewed by: harti
|
|
|
|
| |
commit to fix up kvm support for netstat -m.
|
|
|
|
| |
According to Dan Nelson, this fixes the build on AIX 5.2.
|
|
|
|
|
|
|
| |
service name instead of channel number with -c command option. Supported
service names are: DUN (Dial-Up Networking), FAX (Fax) and SP (Serial Port).
MFC after: 1 week
|
|
|
|
|
|
| |
instead of printing it to stdout.
MFC after: 1 week
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This includes fixes and cleanups listed below:
- If a process dissappears while we are signalling it, don't count it as a
match/error.
- Better handling of errors and messages.
- Downgrade failure to kill(2) (other than ESRCH) from fatal error to a
warning; otherwise processing aborts and possibly matching killees would
remain unsignalled. This makes pkill match the Solaris behavior.
- Exit with 2 on usage errors as documented.
Obtained from: NetBSD
Glanced at by: maintainer (gad) [a bit different version of this patch]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
% pgrep <something> [to verify which processes match]
% pkill <something>
To speed such operation up, add -I option which works like rm(1)'s -i
option (unfortunately -i is already used in pkill(1)), ie. pkill will
ask for confirmation before killing each matching process.
After adding -j, -F, -i, -S, -o and -L options and other improvements,
I think I can add myself to the copyright header.
Glanced at by: maintainer (gad)
|
|
|
|
| |
Noticed by: Guido van Rooij <guido at gvr dot org>
|
| |
|
|
|
|
|
| |
Avoid using extern by declaring shared functions in header files.
Const poision.
|
| |
|
| |
|
|
|
|
| |
live rather than listing it as an extern in indent.c.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
kernel memory and not using sysctl. Previously, libmemstat was used
only for the live kernel via sysctl paths.
This results in netstat output becoming both more consistent between
core dumps and the live kernel, and also more information in the core
dump case than previously (i.e., mbuf cache information).
Statistics relating to sfbufs still rely on a kvm descriptor as they
are not currently exposed via libmemstat. netstat -m operating on a
core is still unable to print certain sfbuf stats available on the live
kernel.
MFC after: 1 week
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
| |
This should almost certainly be extended to other local file systems
as well (ntfs springs to mind), but I don't have the ability to test
it.
|
| |
|
|
|
|
|
|
|
|
| |
when list the archive contents, then try to extract selected files
(file selection always works against unedited pathnames). With this change,
-t always shows the pathnames as they appear in the archive.
Thanks to: Robert Watson
|
|
|
|
|
|
|
|
|
|
|
| |
this by accessing the cdev_priv element of the cdev structure. Looking
forward we need a better way to handle this, as this structure shouldn't
be frobbed by userspace.
Submitted by: Doug Steinwand
PR: bin/88203
MFC after: 1 week
Discussed with: phk
|
|
|
|
|
| |
Submitted by: osa
MFC after: 1 week
|
|
|
|
|
|
| |
the "~C" command.
MFC After: 1 week
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
MFC after: 1 month
Reviewed by: davidxu
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This causes attempts to update a non-existent file to report
an actual error instead of triggering an assertion failure.
PR: bin/87911
Thanks to: roemer.ulrich
MFC after: 3 days
Note: This does not entirely fix bin/87911. I need to decide on
the "correct" response when someone tries to update a non-existent
archive file.
|
|
|
|
|
|
|
|
| |
in order to properly set HAVE_NL_LANGINFO. <whew!>
Thanks to: Andrey Chernov
PR: bin/88013
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
called "-F" for a very long time.)
PR: bin/86915
Thanks to: Gary W. Swearingen
MFC after: 3 days
|
|
|
|
| |
Approved by: tobez
|
|
|
|
|
| |
PR: 88076
Submitted by: Andriy Gapon
|
|
|
|
| |
Submitted by: Andre Guibert de Bruet andy at siliconlandmark dot com
|
|
|
|
|
|
|
|
|
|
|
| |
command is handled as a shell function. This avoids the following
peculiar behaviour when /usr/bin is on a case-insensitive filesystem:
# READ foo
(... long pause, depending upon the amount of swap space available ...)
sh: Resource temporarily unavailable.
Reported by: I can't remember; someone on IRC.
MFC after: 1 week
|
|
|
|
| |
PR: 87724
|
|
|
|
|
|
| |
PR: bin/87783
Submitted by: Mats Palmgren
MFC after: 1 week
|
|
|
|
|
|
| |
size.
PR: 86355
|
|
|
|
|
|
|
|
| |
looked for in the system make file directory or in the specified
-m paths instead of always looking in the other -I and .PATH
specified paths. (Commit log shamelessly stolen from NetBSD.)
Reviewed by: yar
|
|
|
|
|
|
| |
instead of subtracting 'bootime' from 'now'.
Sponsored by: TCP/IP Optimization Fundraise 2005
|
|
|
|
| |
types, so refactor the code here to grab them when length is zero.
|
|
|
|
|
|
|
| |
make's processing of top-level and included makefiles. Point
out at make.conf(5) and __MAKE_CONF when telling about sys.mk.
Reviewed by: ru
|