| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Sort DOSPTYP_* entries in diskmbr.h by value.
Document these scheme-specific types in gpart(8).
MFC after: 1 week
Notes:
svn path=/head/; revision=282465
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These messages serve little purpose and break some consumers.
PR: 199855
Differential Revision: https://reviews.freebsd.org/D2440
Reviewed by: rwatson
Approved by: pjd
MFC after: 1 week
Sponsored by: DARPA, AFRL
Notes:
svn path=/head/; revision=282436
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r225523 (hrs):
Import openresolv-3.4.4.
r282431:
Import openresolv-3.7.0.
PR: 199854
Submitted by: yuri@rawbw.com
MFC after: 1 week
Relnotes: yes
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=282434
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change the nvlist_recv() function to take additional argument that
specifies flags expected on the received nvlist. Receiving a nvlist with
different set of flags than the ones we expect might lead to undefined
behaviour, which might be potentially dangerous.
Update consumers of this and related functions and update the tests.
Approved by: pjd (mentor)
Update man page for nvlist_unpack, nvlist_recv, nvlist_xfer, cap_recv_nvlist
and cap_xfer_nvlist.
Reviewed by: AllanJude
Approved by: pjd (mentor)
Notes:
svn path=/head/; revision=282346
|
|
|
|
|
|
|
| |
No ABI changes.
Notes:
svn path=/head/; revision=282004
|
|
|
|
| |
Notes:
svn path=/head/; revision=282000
|
|
|
|
| |
Notes:
svn path=/head/; revision=281999
|
|
|
|
| |
Notes:
svn path=/head/; revision=281931
|
|
|
|
|
|
|
|
|
|
| |
PR: 199641
Submitted by: Willem Jan Withagen <wjw at digiware dot nl>
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=281929
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Allocate 12.5% extra space to avoid ENOMEM when the message buffer
is growing steadily.
Reported by: Steve Wahl <steve_wahl@dell.com> (and tested)
Approved by: kib (mentor)
Obtained from: Dell Inc.
MFC after: 1 week
Notes:
svn path=/head/; revision=281787
|
|
|
|
|
|
|
|
| |
Reported by: Coverity Scan, pfg
CID: 1245747
Notes:
svn path=/head/; revision=281740
|
|
|
|
|
|
|
|
|
| |
Differential Revision: https://reviews.freebsd.org/D2287
Reviewed by: rmacklem@
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=281691
|
|
|
|
|
|
|
|
|
|
|
|
| |
discontinued by its initial authors. In FreeBSD the code was already
slightly edited during the pf(4) SMP project. It is about to be edited
more in the projects/ifnet. Moving out of contrib also allows to remove
several hacks to the make glue.
Reviewed by: net@
Notes:
svn path=/head/; revision=281613
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
documents a non-existing 'attach' command instead.
- while here address a spelling error
PR: 199111
Differential Revision: https://reviews.freebsd.org/D2259
Submitted by: fk@fabiankeil.de
Obtained from: ElectroBSD
Approved by: wblock (mentor)
MFC after: 1 week
Notes:
svn path=/head/; revision=281324
|
|
|
|
|
|
|
|
|
|
| |
This was updated in r203868 to better match the naming scheme
in other OSs that use FAT.
MFC after: 3 days
Notes:
svn path=/head/; revision=281320
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Extend the number of available subtypes for Ethernet media by using some
of the ifmedia word's option bits to help denote subtypes. As a result, the
number of possible Ethernet subtype values increases from 31 to 511.
- Use some of those new values to define new media types.
- lacp_compose_key() recgonizes the new Ethernet media types added.
(Change made as required by a comment in if_media.h)
- New ioctl, SIOGIFXMEDIA, to handle getting the new extended media types.
SIOCGIFMEDIA is retained for backwards compatibility.
- Changes to ifconfig to allow it to handle the new extended media types.
Submitted by: mike@karels.net (original), hselasky
Reviewed by: jfvogel, gnn, hselasky
Approved by: jfvogel (mentor), gnn (mentor)
Differential Revision: http://reviews.freebsd.org/D1965
Notes:
svn path=/head/; revision=281236
|
|
|
|
|
|
|
| |
Sponsored by: Nginx, Inc.
Notes:
svn path=/head/; revision=281143
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=280988
|
|
|
|
|
|
|
|
| |
Suggested by: rdivacky
MFC after: 2 weeks
Notes:
svn path=/head/; revision=280914
|
|
|
|
|
|
|
| |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=280767
|
|
|
|
|
|
|
|
|
|
|
| |
- Staticify flags that are not used outside the file scope.
PR: bin/193471
Submitted by: Robert Sprowson <webpages sprow.co.uk>
MFC after: 2 weeks
Notes:
svn path=/head/; revision=280716
|
|
|
|
|
|
|
|
| |
MFC after: 2 weeks
Sponsored by: iXsystems, Inc.
Notes:
svn path=/head/; revision=280687
|
|
|
|
|
|
|
|
|
|
| |
meant for interactivity on the command line and contain a lot of redundant
information.
Obtained from: Netflix, Inc.
Notes:
svn path=/head/; revision=280348
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: iXsystems, Inc.
Notes:
svn path=/head/; revision=280249
|
|
|
|
|
|
|
|
|
|
|
| |
Differential Revision: https://reviews.freebsd.org/D2087
Submitted by: feld (request)
Reviewed by: feld
Approved by: bcr (mentor)
Sponsored by: ScaleEngine Inc.
Notes:
svn path=/head/; revision=280191
|
|
|
|
|
|
|
|
| |
MFC after: 2 weeks
Sponsored by: iXsystems, Inc.
Notes:
svn path=/head/; revision=280166
|
|
|
|
|
|
|
|
|
|
|
|
| |
code can read the buffer via sysctl or from a core file. In the core file
case there will be no nulterm, and the code copes with that, but now in the
sysctl case there is a nulterm (there didn't used to be). The least
disruptive way to restore the old behavior (and eliminate a spurious '\000'
at the end of the output) is to remove the nulterm (by decrementing the
buffer length) in the sysctl case.
Notes:
svn path=/head/; revision=280156
|
|
|
|
|
|
|
|
|
|
|
|
| |
The restore utility already knows the full-resolution timestamps, so the
only thing to do is to stop converting the timespecs to timevals and use
futimens() and utimensat().
Differential Revision: https://reviews.freebsd.org/D2020
Reviewed by: jhb
Notes:
svn path=/head/; revision=279986
|
|
|
|
|
|
|
|
|
|
|
| |
directly in the O_FORWARD_IP6 opcode. Use getnameinfo(3) to formatting
the IPv6 addresses of such opcodes.
Obtained from: Yandex LLC
Sponsored by: Yandex LLC
Notes:
svn path=/head/; revision=279956
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Use strlcpy() instead of strcpy().
- Use strlcat() instead of a strlcpy() with a magic number subtracted
from the length.
- Replace strncmp(..., strlen(foo) + 1) with strcmp(...).
Differential Revision: https://reviews.freebsd.org/D1814
Reviewed by: rpaulo
MFC after: 2 weeks
Notes:
svn path=/head/; revision=279951
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to obtain IPv4 next hop address in tablearg case.
Add `fwd tablearg' support for IPv6. ipfw(8) uses INADDR_ANY as next hop
address in O_FORWARD_IP opcode for specifying tablearg case. For IPv6 we
still use this opcode, but when packet identified as IPv6 packet, we
obtain next hop address from dedicated field nh6 in struct table_value.
Replace hopstore field in struct ip_fw_args with anonymous union and add
hopstore6 field. Use this field to copy tablearg value for IPv6.
Replace spare1 field in struct table_value with zoneid. Use it to keep
scope zone id for link-local IPv6 addresses. Since spare1 was used
internally, replace spare0 array with two variables spare0 and spare1.
Use getaddrinfo(3)/getnameinfo(3) functions for parsing and formatting
IPv6 addresses in table_value. Use zoneid field in struct table_value
to store sin6_scope_id value.
Since the kernel still uses embedded scope zone id to represent
link-local addresses, convert next_hop6 address into this form before
return from pfil processing. This also fixes in6_localip() check
for link-local addresses.
Differential Revision: https://reviews.freebsd.org/D2015
Obtained from: Yandex LLC
Sponsored by: Yandex LLC
Notes:
svn path=/head/; revision=279948
|
|
|
|
|
|
|
|
| |
PR: 196241
MFC after: 1 week
Notes:
svn path=/head/; revision=279935
|
|
|
|
|
|
|
|
|
| |
- Add no_dad and ignoreloop per-IF knob. no_dad disables DAD completely,
and ignoreloop is to prevent infinite loop in loopback probing state when
loopback is permanently expected.
Notes:
svn path=/head/; revision=279676
|
|
|
|
|
|
|
|
|
|
| |
PR: 192852
Submitted by: taku at tackymt.homeip.net (earlier version)
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=279489
|
|
|
|
|
|
|
|
|
|
|
|
| |
block of free space after existing partition, take into account
provider's stripeoffset, since the result will be adjusted to this
value.
PR: 197989
MFC after: 1 week
Notes:
svn path=/head/; revision=279324
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
properly.
If there is garbage in the flags field, it can sometimes include a
set CDAI_FLAG_STORE flag, which may cause either an error or
perhaps result in overwriting the field that was intended to be
read.
sys/cam/cam_ccb.h:
Add a new flag to the XPT_DEV_ADVINFO CCB, CDAI_FLAG_NONE,
that callers can use to set the flags field when no store
is desired.
sys/cam/scsi/scsi_enc_ses.c:
In ses_setphyspath_callback(), explicitly set the
XPT_DEV_ADVINFO flags to CDAI_FLAG_NONE when fetching the
physical path information. Instead of ORing in the
CDAI_FLAG_STORE flag when storing the physical path, set
the flags field to CDAI_FLAG_STORE.
sys/cam/scsi/scsi_sa.c:
Set the XPT_DEV_ADVINFO flags field to CDAI_FLAG_NONE when
fetching extended inquiry information.
sys/cam/scsi/scsi_da.c:
When storing extended READ CAPACITY information, set the
XPT_DEV_ADVINFO flags field to CDAI_FLAG_STORE instead of
ORing it into a field that isn't initialized.
sys/dev/mpr/mpr_sas.c,
sys/dev/mps/mps_sas.c:
When fetching extended READ CAPACITY information, set the
XPT_DEV_ADVINFO flags field to CDAI_FLAG_NONE instead of
setting it to 0.
sbin/camcontrol/camcontrol.c:
When fetching a device ID, set the XPT_DEV_ADVINFO flags
field to CDAI_FLAG_NONE instead of 0.
sys/sys/param.h:
Bump __FreeBSD_version to 1100061 for the new XPT_DEV_ADVINFO
CCB flag, CDAI_FLAG_NONE.
Sponsored by: Spectra Logic
MFC after: 1 week
Notes:
svn path=/head/; revision=278964
|
|
|
|
|
|
|
|
|
|
| |
sysctl... This is useful for kern.arandom which (without -B) will
happily return 0 bytes, which isn't too useful or random...
fix spelling (thanks igor!) of settable while I'm here...
Notes:
svn path=/head/; revision=278654
|
|
|
|
|
|
|
|
|
| |
PR: kern/197271
Submitted by: lev
Sponsored by: Yandex LLC
Notes:
svn path=/head/; revision=278261
|
|
|
|
|
|
|
|
|
|
|
| |
Reverse the sorting order of the interfaces addresses familise so it should be
the same as getifaddrs(3) order. [2]
Suggested by: hrs [1], bz [2]
Approved by: hrs, bapt
Notes:
svn path=/head/; revision=278107
|
|
|
|
|
|
|
|
| |
Approved by: bapt, ae
X-MFC-With: r278080
Notes:
svn path=/head/; revision=278081
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
based on the address family. This should help to recognize interfaces with
multiple AF (e.g. ipv4 and ipv6) with many aliases or additional addresses. The
order of addresses inside a single group is strictly preserved.
Improve the scope_id output for AF_INET6 families, as the
current approach uses hexadecimal string that is basically the ID of an
interface, whilst this information is already depicted by getnameinfo(3) call.
Therefore, now ifconfig just prints the scope of address as it is defined in
2.4 of RFC 2373.
PR: 197270
Approved by: bapt
MFC after: 2 weeks
Notes:
svn path=/head/; revision=278080
|
|
|
|
|
|
|
|
|
|
| |
won't crop up again in the future
Reported by: gjb
MFC after: 1 week
Notes:
svn path=/head/; revision=278070
|
|
|
|
|
|
|
|
| |
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=277799
|
|
|
|
|
|
|
|
|
| |
MFC after: 13 days
X-MFC with: r277675
Pointyhat to: me
Notes:
svn path=/head/; revision=277726
|
|
|
|
|
|
|
|
| |
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=277725
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
anything until the interface is assigned an address. This fixes
ipfw_nat to do the same by using an IP of INADDR_ANY instead of
aborting the nat setup if the requested interface is not yet configured.
Differential Revision: https://reviews.freebsd.org/D1539
Reviewed by: melifaro, glebius, gnn
MFC after: 1 week
Notes:
svn path=/head/; revision=277714
|
|
|
|
|
|
|
|
| |
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=277678
|
|
|
|
|
|
|
|
|
|
| |
modules, etc
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=277675
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
usr.bin/make
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=277674
|
| |
| |
| |
| |
| |
| |
| |
| | |
- Remove unnecessary CFLAGS+= -I now that make is no longer required to make
rcorder build
Notes:
svn path=/projects/building-blocks/; revision=277673
|