| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- varios "new sentence, new line" warnings
- varios "sections out of conventional order" warnings
- varios "unusual Xr order" warnings
- varios "missing section argument" warnings
- varios "no blank before trailing delimiter" warnings
- varios "normalizing date format" warnings
MFC after: 1 month
Notes:
svn path=/head/; revision=368817
|
|
|
|
|
|
|
|
|
|
|
| |
- new sentence, new line
- unusual Xr order: ioctl(2) after da(4)
- unusual Xr order: sysexits(3) after nda(4)
MFC after: 1 week
Notes:
svn path=/head/; revision=368816
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add missing quotation mark for a comment above the .Dd
- inserting missing end of block: Sh breaks Bd
- skipping paragraph macro: Pp before Bl
- skipping paragraph macro: Pp before Bd
- empty block: Bd
MFC after: 1 week
Notes:
svn path=/head/; revision=368815
|
|
|
|
|
|
|
|
|
|
|
| |
- new sentence, new line
- function name without markup: rtalloc()
- function name without markup: VOP_RECLAIM()
MFC after: 1 week
Notes:
svn path=/head/; revision=368814
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- new sentence, new line
- sections out of conventional order: Sh FILES
- unusual Xr order: bthost(1) after bthidd(8)
- no blank before trailing delimiter
- whitespace at end of input line
- sections out of conventional order: Sh EXIT STATUS
MFC after: 1 week
Notes:
svn path=/head/; revision=368813
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=368812
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=368811
|
|
|
|
|
|
|
|
|
|
| |
The comment before the .Dd macro was missing a quotation mark, so that
the date of the man page was always today.
MFC after: 3 days
Notes:
svn path=/head/; revision=368810
|
|
|
|
|
|
|
|
|
|
| |
- new sentence, new line
- no blank before trailing delimiter
MFC after: 1 week
Notes:
svn path=/head/; revision=368809
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=368808
|
|
|
|
|
|
|
|
|
| |
- no blank before trailing delimiter
MFC after: 1 week
Notes:
svn path=/head/; revision=368807
|
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=368806
|
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=368805
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- no blank before trailing delimiter
- missing section argument: Xr inet_pton
- skipping paragraph macro: Pp before Ss
- unusual Xr order: syslogd after sysrc
- tab in filled text
There were a few multiline NAT examples which used the .Dl macro with
tabs. I converted them to .Bd, which is a more suitable macro for that case.
MFC after: 1 week
Notes:
svn path=/head/; revision=368804
|
|
|
|
|
|
|
| |
- unusual Xr punctuation: none before traceroute6(8)
Notes:
svn path=/head/; revision=368803
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- inserting missing end of block: Ss breaks Bl
- skipping paragraph macro: Pp before Ss
- referenced manual not found: Xr nvme 4 (2 times)
- unknown standard specifier: St The
The macro .St can only be used for standards known by mdoc(7). So add a
SEE ALSO section and add a reference to the NVM Express Base Specification.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=368802
|
|
|
|
|
|
|
| |
Sponsored by: Mellanox Technologies // NVIDIA Networking
Notes:
svn path=/head/; revision=368801
|
|
|
|
|
|
|
|
|
| |
- sections out of conventional order: Sh SEE ALSO
MFC after: 1 week
Notes:
svn path=/head/; revision=368800
|
|
|
|
|
|
|
|
|
|
|
| |
reversal.
MFC after: 1 week
Reported by: Mark Millard <marklmi@yahoo.com>
Sponsored by: Mellanox Technologies // NVIDIA Networking
Notes:
svn path=/head/; revision=368799
|
|
|
|
|
|
|
|
|
|
| |
- missing comma before name: Nm SYSCTL_UQUAD
- bad NAME section content: text
MFC after: 1 week
Notes:
svn path=/head/; revision=368798
|
|
|
|
|
|
|
|
|
|
|
| |
- missing comma before name: Nm ofw_bus_status_okay
- missing comma before name: Nm ofw_bus_node_status_okay
- skipping paragraph macro: Pp after Sh
MFC after: 1 week
Notes:
svn path=/head/; revision=368797
|
|
|
|
|
|
|
|
|
|
|
|
| |
- missing comma before name: Nm ofw_bus_is_compatible_strict
- missing comma before name: Nm ofw_bus_node_is_compatible
- missing comma before name: Nm ofw_bus_search_compatible
- skipping paragraph macro: Pp after Sh
MFC after: 1 week
Notes:
svn path=/head/; revision=368796
|
|
|
|
|
|
|
|
|
|
| |
- function name without markup: return()
- function name without markup: print()
MFC after: 1 week
Notes:
svn path=/head/; revision=368795
|
|
|
|
|
|
|
|
|
| |
- sections out of conventional order: Sh SEE ALSO
MFC after: 1 week
Notes:
svn path=/head/; revision=368794
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- skipping paragraph macro: Pp before Bl
- skipping paragraph macro: Pp after Ss
- skipping paragraph macro: Pp at the end of Ss
- unusual Xr punctuation: none before bhnd_driver_get_erom_class(9)
- unusual Xr punctuation: none before bus_space(9)
MFC after: 1 week
Notes:
svn path=/head/; revision=368793
|
|
|
|
|
|
|
|
|
|
|
|
| |
- skipping paragraph macro: Pp before Bl
- skipping paragraph macro: Pp at the end of Ss
- missing section argument: Xr device_set_desc
- unusual Xr punctuation: none before bhnd_erom(9)
MFC after: 1 week
Notes:
svn path=/head/; revision=368792
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- function name without markup: g_io_deliver()
- function name without markup: disk_gone()
- sections out of conventional order: Sh SEE ALSO
- referenced manual not found: Xr MAKE_DEV 9
Actually the man page of MAKE_DEV has never existed.
MFC after: 3 days
Notes:
svn path=/head/; revision=368791
|
|
|
|
|
|
|
| |
- no blank before trailing delimiter
Notes:
svn path=/head/; revision=368790
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes the gcc9 build of rtld-elf32 on amd64, which needed an
implementation of udivmoddi4.
rtld-elf uses certain functions normally found in libc, and so it
includes certain files from libc in its own build. It has two
mechanisms to include files from libc: one that rebuilds source files in
the rtld-elf environment, and one that extracts object files from a
purpose-built no-SSP PIC archive.
In addition to libc functions, rtld-elf may need to link functions
normally found in libcompiler_rt (formerly libgcc). Now, add an ability
to rebuild libcompiler_rt source files in the rtld-elf environment. We
don't yet have a need for an object file extraction mechanism.
libcompiler_rt could also supply udivdi3 and umoddi3, but leave them
alone for now.
Reviewed by: arichardson, kib
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D27665
Notes:
svn path=/head/; revision=368789
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ar cr is an update of an archive, not a creation of a new one. During
incremental builds (e.g. with meta mode) the archive was not getting
cleaned, and so could retain now-deleted objects from previous builds.
Now, delete the archive before creating/updating it.
Reviewed by: arichardson, bdrewery, kib
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D27663
Notes:
svn path=/head/; revision=368788
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This partially lifts a restriction imposed by r191639 ("Prevent a superuser
inside a jail from modifying the dedicated root cpuset of that jail") that's
perhaps beneficial after r192895 ("Add hierarchical jails."). Jails still
cannot modify their own cpuset, but they can modify child jails' roots to
further restrict them or widen them back to the modifying jails' own mask.
As a side effect of this, the system root may once again widen the mask of
jails as long as they're still using a subset of the parent jails' mask.
This was previously prevented by the fact that cpuset_getroot of a root set
will return that root, rather than the root's parent -- cpuset_modify uses
cpuset_getroot since it was introduced in r327895, previously it was just
validating against set->cs_parent which allowed the system root to widen
jail masks.
Reviewed by: jamie
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D27352
Notes:
svn path=/head/; revision=368779
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When exporting a variable we correctly check all the preconditions that
could make setenv(3) fail. Checking the setenv(3) return value seems
redundant, but given that login(1) is critical, it doesn't hurt to have
a post-check.
This change is based on the "Principles of Secure Coding" course by
Matthew Bishop, PhD., which specifically discusses this code in FreeBSD.
(This change redoes r368776 due to a silly mistake)
Notes:
svn path=/head/; revision=368778
|
|
|
|
|
|
|
|
|
|
| |
login(1): when exporting variables check the result of setenv(3)
mismatch: the return value upon error is -1, so the code was not
doing nothing.
Notes:
svn path=/head/; revision=368777
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When exporting a variable we correctly check all the preconditions that
could make setenv(3) fail. Checking the setenv(3) return value seems
redundant, but given that login(1) is critical, it doesn't hurt to have
a post-check.
This change is based on the "Principles of Secure Coding" course by
Matthew Bishop, PhD., which specifically discusses this code in FreeBSD.
Differential Revision: https://reviews.freebsd.org/D26966
Notes:
svn path=/head/; revision=368776
|
|
|
|
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Notes:
svn path=/head/; revision=368775
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These Mini-Box LCDs are using Microchip components and sub-licensed product
IDs. Whilst here, update the constant names and descriptions for the products
to use the names listed on the manufacturer's website rather than vague ones.
The picoLCD 4x20 is named that on the manufacturer's website so prefer that
name, even though linux-usb.org lists it with the numbers reversed as one might
expect.
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D27670
Notes:
svn path=/head/; revision=368774
|
|
|
|
|
|
|
|
|
|
|
|
| |
The new name more accurately describes what it does and the file move
puts it with other similar functions. Done in preparation for future
cleanups. No functional differences intended.
Sponsored by: Netflix
Historic Footnote: my last FreeBSD svn commit
Notes:
svn path=/head/; revision=368773
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also centralize and unify checks to enable ASLR stack gap in a new
helper exec_stackgap().
PR: 239873
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Notes:
svn path=/head/; revision=368772
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use traditional explicit leading zero format for hex numbers.
Align P2_ hex values.
Wrap long lines by splitting comments.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Notes:
svn path=/head/; revision=368771
|
|
|
|
|
|
|
| |
MFC with: 368714
Notes:
svn path=/head/; revision=368770
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
rtsock code was build around the assumption that each rtentry record
in the system radix tree is a ready-to-use sockaddr. This assumptions
turned out to be not quite true:
* masks have their length tweaked, so we have rtsock_fix_netmask() hack
* IPv6 addresses have their scope embedded, so we have another explicit
deembedding hack.
Change the code to decouple rtentry internals from rtsock code using
newly-created rtentry accessors. This will allow to eventually eliminate
both of the hacks and change rtentry dst/mask format.
Differential Revision: https://reviews.freebsd.org/D27451
Notes:
svn path=/head/; revision=368769
|
|
|
|
|
|
|
|
|
|
|
| |
This sysctl node can generate very verbose output, so don't trigger it
for sysctl -a or sysctl vm.pmap.
Reviewed by: markj, kib
Differential Revision: https://reviews.freebsd.org/D27504
Notes:
svn path=/head/; revision=368768
|
|
|
|
|
|
|
|
|
|
|
|
| |
These implementation IDs are defined in the SBI spec, so we should print
their name if detected.
Submitted by: Danjel Qyteza <danq1222@gmail.com>
Reviewed by: jhb, kp
Differential Revision: https://reviews.freebsd.org/D27660
Notes:
svn path=/head/; revision=368767
|
|
|
|
|
|
|
|
| |
This clock is used by the watchdog IP and can be controlled only
in the secure world.
Notes:
svn path=/head/; revision=368766
|
|
|
|
|
|
|
|
|
|
|
| |
Prefer these newly-added definitions to bare values.
MFC after: 2 weeks
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
Notes:
svn path=/head/; revision=368765
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Similar to the recent patch to arm's gdb stub in r368414, allow GDB to
update the contents of most general purpose registers.
Reviewed by: cem, jhb, markj
MFC after: 2 weeks
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
NetApp PR: 44
Differential Revision: https://reviews.freebsd.org/D27642
Notes:
svn path=/head/; revision=368764
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The SRAT may contain multiple distinct entries that together describe a
contiguous region of physical memory. In this case we were not
coalescing the corresponding entries in the memory affinity table, which
led to fragmented phys_avail[] entries. Since r338431 the vm_phys_segs[]
entries derived from phys_avail[] will be coalesced, resulting in a
situation where vm_phys_segs[] entries do not have a covering
phys_avail[] entry. vm_page_startup() will not add such segments to the
physical memory allocator, leaving them unused.
Reported by: Don Morris <dgmorris@earthlink.net>
Reviewed by: kib, vangyzen
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D27620
Notes:
svn path=/head/; revision=368763
|
|
|
|
|
|
|
|
|
|
| |
Reported by: lme
Reviewed by: lme
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D27657
Notes:
svn path=/head/; revision=368762
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This caused us to write to the low half of the feature word twice, once with
the high bits and once with the low bits. Common legacy device implementations
seem to be fairly lenient about being able to write to the feature bits
multiple times, but Arm's models use a stricter implementation that will ignore
the second write. This fixes using vtnet(4) on those models.
Reported by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Pointy hat: jrtc27
Notes:
svn path=/head/; revision=368761
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix error in extent_try_coalesce_impl(), which could cause abort
to happen when trying to coalesce extents backwards. The error could
happen because of how extent_before_get() function works. This function
gets address of previous extent, by subtracting page size from current
extent address. If current extent is located at PAGE_SIZE offset, this
address resolved to 0x0000. An assertion in rtree_leaf_elm_lookup
then caused the running program to abort.
This problem was discovered when trying to build world on 32-bit
machines with ASLR and PIE enabled. The problem was encountered
on armv7 and i386 machines, but most likely other 32-bit
architectures are affected as well.
While this patch fixes one problem with buildworld on 32-bit platforms
with ASLR, the build still fails, however it happens much later
and due to lack of memory.
The change is aligned with accepted fix in the upstream Jemalloc
repository (https://github.com/jemalloc/jemalloc/pull/1973).
As it doesn't apply on top of Jemalloc tree, its updated version
was eventually merged: https://github.com/jemalloc/jemalloc/pull/2003
PR: 249937
Submitted by: Dawid Gorecki <dgr@semihalf.com>
Obtained from: Semihalf
Sponsored by: Stormshield
Differential Revision: https://reviews.freebsd.org/D27025
Notes:
svn path=/head/; revision=368756
|