| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
any better on 4.x than it does on 5.2. If that's true then there
is no point to the __FreeBSD_version check that I had added.
|
|
|
|
| |
Reviewed by: freebsd-arch
|
|
|
|
| |
Noticed by: bde
|
|
|
|
|
|
| |
man page: The swapfile argument is currently unused.
Noticed by: ru
|
|
|
|
|
|
| |
version isn't going to be committed to that branch...
Noticed by: des
|
|
|
|
|
|
| |
"system processes" to always ignore. Based on my testing with `-D',
I am pretty sure this is what we want for 5.x-current. If my thinking
is wrong, this also makes it easier to switch to a different check.
|
| |
|
| |
|
|
|
|
|
| |
details of libkvm, and just tell what the getbootfile(3) function
will return, by using the text from netstat(1) and dmesg(8).
|
| |
|
| |
|
| |
|
|
|
|
| |
(this is a probably temporary option, and is not to be documented)
|
|
|
|
|
|
| |
the "Take the appropriate action" section).
Obtained from: the sysutils/pkill port
|
|
|
|
|
|
| |
needed because off_t == __int64_t, while size_t == __uint64_t. This
also compiles with WARNS=5 on amd64, but I haven't tested the other
platforms yet.
|
| |
|
| |
|
|
|
|
| |
a cross-reference to killall(1).
|
|
|
|
|
|
|
|
|
|
|
|
| |
what are supported in `ps':
-M Extract values associated with the name list from the
specified core instead of the default /dev/kmem.
-N Extract the name list from the specified system instead
of the default /kernel.
Written by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
Obtained from: the sysutils/pkill port
|
|
|
|
|
|
|
| |
when compiling with WARNS=3
Written by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
Obtained from: the sysutils/pkill port
|
|
|
|
|
| |
Written by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
Obtained from: the sysutils/pkill port
|
|
|
|
|
|
|
|
|
| |
straight from NetBSD (except to add the RCS-ID lines for FreeBSD).
These will probably require a few updates before they are added to
the FreeBSD buildworld. I might MFC these to 4.x-stable after 4.10.
Discussed on: freebsd-arch
Obtained from: NetBSD (and OpenBSD also has these)
|
| |
|
|
|
|
| |
Nudged by: ru
|
| |
|
|
|
|
|
|
| |
within the running system.
Sponsored by: Ralf the Wonder Llama
|
|
|
|
|
|
|
| |
It allows you to list IPC facilities owned by username/uid.
Submitted by: Christian S.J. Peron <maneo@bsdpro.com>
PR: bin/63463
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fd_set and Sigaction structures. Use these for printing the arguments
to sigaction(), nanosleep(), select(), poll(), gettimeofday(),
clock_gettime(), recvfrom(), getitimer() and setitimer().
This is based on Dan's patch from the PR but I've hacked it for
style and some other issues. While Dan has checked this patch, any
goofs are probably my fault.
(The PR also contains support for the dual return values of pipe().
These will follow once I've ported that support to platforms other
than i386.)
PR: 52190
Submitted by: Dan Nelson <dnelson@allantgroup.com>
|
|
|
|
|
| |
PR: 52190
Submitted by: Dan Nelson <dnelson@allantgroup.com>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
2. Compare socket(2) return code to -1, not <= 0.
Obtained from: OpenBSD rev. 1.9
|
| |
|
|
|
|
|
|
|
|
| |
- 0 should have been -1 in previous commit (just to stay consistent),
- Spell null pointers as NULL, not 0,
- Fixed the comment about pr_usesysctl to not confuse it with boolean.
Pointed by: bde
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
included twice by lprint.c, which included both finger.h and extern.h.
finger.h, in turn, includes extern.h. The redundant include of extern.h
was removed from lprint.c, as part of this change, but the include guards
were added anyway out of spite.
|
| |
|
| |
|
|
|
|
| |
necessary.
|
|
|
|
|
|
|
| |
ENOENT, because that means we do not have PIM in the kernel.
Submitted by: hmp
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed a nearby bug. The "play it safe" code in dosysctl() was unsafe
because it overran the buffer by 1 if sysctl() filled all of the buffer.
Fixed a nearby style bug in output. Not just 1, but 2 extra newlines
were printed at the end by "vmstat -m" and "vmstat -z". Don't print
any newlines explicitly. This depends on 2 of the many formatting
bugs in the corresponding sysctls. First, the sysctls return an extra
newline at the end of the strings. This also messes up output from
sysctl(8). Second, the sysctls return an extra newline at the beginning
of the strings. This is good for separating the 2 tables output by
"vmstat -mz" and for starting the header on a new line in plain sysctl
output, but gives a bogus extra newline at the beginning for "vm -[m | z]"
and "sysctl -n [kern.malloc | vm.zone]".
Fixed some nearby style bugs in the source code:
- the same line that misspelled 0 as NULL also spelled NULL as 0.
- the size was doubled twice in the realloc loop.
- the "play it safe" comment was misleading. Terminating the buffer
is bogus because dosysctl() is only meant to work with sysctls that
return strings and the terminator is part of a string. However, the
kern.malloc sysctl has more than style bugs. It also doesn't return
a string. Termination is needed to work around this bug.
|