| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
mount.conf(8): fix a .Xr call
Add the missing section number for devfs(5)
|
|
|
|
|
|
| |
bus_alloc_resource(9): fix mandoc markup
Add missing comma after `.Nm bus_alloc_resource_any` in NAME section.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use "build" instead of "all" when building ports modules
"all" in ports currently means "stage the ports", which requires root today,
and brings to light other potential issues, like ENAMETOOLONG with staged
directories (bug 161481, etc).
This fixes buildkernel for me when run as a non-root user, assuming all
of the prerequisites have been installed beforehand and are up-to-date.
Discussed with: swills (IRC)
|
|
|
|
| |
style(9): sort #includes
|
|
|
|
|
|
|
|
| |
Add history section to fsck(8)
PR: 212472
Approved by: bcr (mentor)
Differential Revision: https://reviews.freebsd.org/D8104
|
|
|
|
|
|
|
|
| |
If called without -T or -t, fsck attempts to detect the
file system type. If this fails, fsck will fail with
"unknown file system type" message.
PR: 188214
|
|
|
|
|
|
|
|
| |
setkey appeared in FreeBSD 4.0
PR: 212551
Approved by: bcr (mentor)
Differential Revision: https://reviews.freebsd.org/D8105
|
|
|
|
|
|
|
|
|
|
| |
shutdown appeared as a standalone utility in 4.1BSD.
http://mail-index.netbsd.org/source-changes-d/2016/09/13/msg008686.html
http://mail-index.netbsd.org/source-changes-d/2016/09/14/msg008691.html
PR: 212552
Approved by: bcr (mentor)
Obtained from: NetBSD
Differential Revision: https://reviews.freebsd.org/D8105
|
|
|
|
|
|
|
|
|
|
| |
Add history section for dd(1)
First version of UNIX to include dd found using TUHS
http://minnie.tuhs.org/cgi-bin/utree.pl?file=V5/usr/source/s1/dd.c
PR: 211777
Approved by: bcr (mentor)
Differential Revision: https://reviews.freebsd.org/D8104
|
|
|
|
| |
Mention the dd-like recoverdisk(1) to help folks find this great BSD command.
|
|
|
|
|
|
| |
Update the date for last example.
Sponsored by: Netflix
|
|
|
|
| |
Add canonical population of a disk / thumb drive from an image example.
|
|
|
|
|
|
|
|
|
|
|
| |
Fix null dereference when running out of nodes during rename.
PR: 212370
Submitted by: Sascha Wildner <swildner AT gmail>
Reviewed by: bcr (mentor)
Approved by: bapt
Obtained from: NetBSD
Differential Revision: https://reviews.freebsd.org/D8643
|
|
|
|
|
|
|
|
|
| |
Improve wording when describing -mmin.
PR: 215922
Submitted by: danielsh AT apache DOT org
Approved by: bcr (mentor)
Differential Revision: https://reviews.freebsd.org/D9313
|
|
|
|
|
|
| |
find.1: Add missing whitespace:
Obtained from: Dragonfly (dee38d02d51cc8316f82b0263158d2546f2398bc)
|
|
|
|
|
|
|
|
|
|
|
| |
Fix error in the example section
Adjust formatting highlighted by igor.
PR: 214683
Submitted by: Anindya Mukherjee <anindya49 AT hotmail DOT com>
Reviewed by: jilles
Approved by: bcr (mentor)
Differential Revision: https://reviews.freebsd.org/D8591
|
|
|
|
|
|
|
| |
Fix hexadecimal escape codes in jail.conf(5).
PR: 218154
Submitted by: Masahiro Konishi <mkonishi@sea.plala.or.jp>
|
|
|
|
|
|
|
|
|
| |
Extend manual to cover more commands and options.
PR: 203406
Submitted by: Fehmi Noyan Isi (fnoyanisi AT yahoo DOT com)
Approved by: wblock (mentor)
Differential Revision: https://reviews.freebsd.org/D8691
|
|
|
|
|
|
|
|
|
|
| |
ftp.microsoft.com is dead and the document was not archived, point to the full
protocol spec document instead.
Fix spelling mistake flagged by igor.
Rephrase bad sentence flagged by igor.
Approved by: bcr (mentor)
Differential Revision: https://reviews.freebsd.org/D10111
|
| |
|
|
|
|
|
|
|
|
|
| |
Since r316140 was a direct commit to ^/stable/10, this too is a direct commit
to ^/stable/10.
Reported by: Jenkins (FreeBSD-stable-10-i386-build job)
Tested with: amd64, i386
Sponsored by: Dell EMC Isilon
|
|
|
|
|
| |
Since we support RQSTYPE_RPT_ID_ACQ, that functionality is only useful
in loop mode, which probably doesn't worth having this hack in 2017.
|
|
|
|
| |
It is chip-specific and has nothing to do with platform.
|
| |
|
|
|
|
| |
This code has nothing to do with specific platform.
|
|
|
|
|
|
| |
There were two copies of the code: one in generic code was half-broken, and
another in platform code was never called. Leave only one in generic code
and working.
|
| |
|
| |
|
| |
|
|
|
|
| |
This unifies the code and removes some duplication.
|
|
|
|
| |
ISPASYNC_TARGET_NOTIFY_ACK makes no sense without argument.
|
|
|
|
| |
While there polish respective debug logging.
|
|
|
|
|
|
|
|
|
|
| |
Instead of single isp_intr() function doing all possible magic, introduce
four different functions to handle mailbox operation completions, async
events, response and ATIO queues. The goal is to isolate different code
paths to make code more readable, and to make easier support for multiple
interrupt vectors. Even oldest hardware in many cases can identify what
code path it should run on interrupt. Contemporary hardware can assign
them to different interrupt vectors.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Current netfront code doesn't release the resources (grants and mbufs) on
removal. Add a new helper that releases the resources, so FreeBSD doesn't run
out of grants or memory when performing heavy hotplug/unplug of Xen PV nic
devices.
This is a direct commit to stable/10 because the code in newer branches has
been completely refactored and no longer has this issue.
Reviewed by: royger
Submitted by: Ouyangzhaowei <ouyangzhaowei@huawei.com>
Differential review: https://reviews.freebsd.org/D10088
|
| |
|
|
|
|
|
|
|
|
|
| |
Document some more 10GbE+ network drivers in loader.conf
- if_cxgbe
- if_ixl
- if_ixlv
- sfxge
|
|
|
|
|
|
|
|
|
| |
Print out name of non-dynamic sysctl in sysctl_remove_oid_locked
This will provide a slightly better smoking gun than just stating
"can't remove non-dynamic nodes!" when calling sysctl_ctx_free(9)
and sysctl_remove_{name,oid}(9) with a non-dynamic (likely
static) sysctl.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r315201:
cxgbe(4): Fix an always-true assertion (reported by PVS-Studio).
sys/dev/cxgbe/t4_main.c: PVS-Studio: Expression is Always True (CWE-571) (3)
r315920:
cxgbe/iw_cxgbe: c4iw_connect should always returns a -ve errno on failure.
r315921:
cxgbe/iw_cxgbe: alloc_ep expects a gfp_t, and it's always ok to sleep during
alloc_ep.
r315922:
cxgbe/iw_cxgbe: allocations that use GFP_KERNEL (which is M_WAITOK on
FreeBSD) cannot fail.
r316008:
cxgbe/iw_cxgbe: Remove unused code.
r316062:
cxgbe/iw_cxgbe: Defer the handling of error CQEs and RDMA_TERMINATE to
the thread that deals with socket state changes. This eliminates
various bad races with the ithread.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update ntp.conf to use the ntpd pool feature.
Our previous ntp.conf file configured 3 servers from freebsd.pool.ntp.org
using 3 separate 'server' config lines. That is now replaced with a single
'pool' line which causes ntpd to add multiple servers from the pool.
More than just making the config smaller, the pool feature in ntpd has one
major advantage over configuring 3 separate servers from a pool: if a server
that was added using a 'pool' statement provides bad time (initially or at
some later date), ntpd automatically discards it and configures a new
different server from the pool without needing to be restarted.
These changes also add a 'tos' line to control how many pool servers get
added, a 'restrict source' line that is required to allow ntpd to add new
peers from the pool, and it deletes a 'restrict 127.127.1.0' line that does
nothing and should never have been there (127.127.1.0 is not a valid IP
address, it's a refclock identifier).
Reviewed by: cy
MFC requested by: ache
Differential Revision: https://reviews.freebsd.org/D9011
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With the following in /etc/fstab:
/dev/gpt/swap.eli none swap sw,late 0 0
swap will not be enabled, with `swapon -aL' complaining:
swapon: Invalid option: late
This happens because swap_on_geli_args() which parses geli arguments
out of all mount options does not expect late or noauto among them.
Fix this by explicitly allowing these arguments.
Reviewed by: jilles
Approved by: jilles
Differential Revision: D9835
|
| |
|
|
|
|
|
|
|
| |
It was implemented to reduce context switches when uploading firmware to
card's RAM. But this mechanism is not used last 10 years since all mbox
operations are now polled, and it was never used for cards produced in
last 15 years. Newer cards can use DMA to upload firmware.
|
| |
|
|
|
|
|
|
|
| |
This change fixes DMA resource leak on driver unload. Also it removes
DMA resources allocation for hardcoded number of requests before fetching
the real number from firmware. Also it prepares ground for more flexible
IRQs allocation according to firmware capabilities.
|
|
|
|
| |
Remove NULL checks after M_WAITOK allocations from isp(4).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r313436:
Clarify #includes for hexdump(3) vs sbuf_hexdump(9)
hexdump(3) only requires libutil.h, whereas sbuf_hexdump(9) requires
sys/types.h (for ssize_t) and sys/sbuf.h
r313437:
Create link from hexdump(3) to sbuf_hexdump(9) as the manpage describes
sbuf_hexdump(9)'s behavior
r313438:
Clean up trailing and leading whitespace for variables to make it
consistent with the rest of the file and style.Makefile(9) a bit
more
r314587:
Correct MLINKS for sbuf_hexdump(9)
sbuf_hexdump(9) should be linked to sbuf(9), not hexdump(3). Another
review will be posted to deduplicate the sbuf_hexdump reference in
in hexdump(3) or at the very least make the information less duplicative.
r315687:
Document sbuf_hexdump(9) in just sbuf(9)
- Remove duplicate references to sbuf_hexdump(9) from hexdump(3).
sbuf_hexdump(9) already pointed back to hexdump(3) for implementation
details.
- Refer to sbuf_hexdump(9) instead of sbuf(9) for completeness
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r315686:
kvm_geterr: handle `kd` == NULL in a deterministic/graceful manner
Return a NUL string instead of just working by accident with kvm_geterr(3)
when MALLOC_PRODUCTION is disabled (I didn't confirm the MALLOC_PRODUCTION
being enabled path).
Document the new explicit return behavior for kvm_geterr(3), as well
as the previous implicit behavior, i.e., the buffer attached to
returned via kvm_geterr(3) would be empty if a previous error hadn't been
stored in `kd`.
r315688:
kvm_write: fix -Wcast-qual warning in pointer arithmetic argument
Cast buf to `const char *` when doing arithmetic operation to match
`cp`'s type [1].
|
|
|
|
|
|
|
|
|
| |
Handle kd == NULL gracefully with kvm_close(3)
Don't segfault in kvm_close(3) if provided a NULL pointer. Instead, return
-1 and set errno to EINVAL.
Document this new behavior explicitly.
|