| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
g_providername utility functions.
Approved by: kib (mentor)
|
|
|
|
|
|
| |
still needs all the edge cases fixed.
Submitted by: Eygene Ryabinkin
|
|
|
|
| |
restore WARNS=6.
|
|
|
|
|
|
|
| |
don't inline the locking primitives, and only grab those parts of mii
that we really need. Other space optimizations are too agressive for
the generic file (removing all of usb, and loading it as kernel
modules).
|
| |
|
|
|
|
|
|
|
| |
Apply updated patch from bin/92839 to avoid two possible buffer overflows.
PR: bin/92839
Submitted by: Helge Oldach <freebsdntpd@oldach.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Payload Length) as set in tcpip_fillheaders().
ip6_output() will calculate it based of the length from the
mbuf packet header itself.
So initialize the value in tcpip_fillheaders() in correct
(network) byte order.
With the above change, to my reading, all places calling tcp_trace()
pass in the ip6 header via ipgen as serialized in the mbuf and with
ip6_plen in network byte order.
Thus convert the IPv6 payload length to host byte order before printing.
MFC after: 2 months
|
|
|
|
|
|
|
|
|
|
| |
U1010, Lenovo 3k N200 and Acer Aspire 4715Z.
Reviewed by: attilio
PR: 126216, 126244, 127034
Submitted by: Anton E. Kartashev <amokk@mirahost.ru>,
Ganael Laplanche <ganael.laplanche@martymac.com>,
Dennis Generaloff <giantlock@gmail.com>
|
|
|
|
| |
MFC after: 1 day
|
|
|
|
|
|
|
|
| |
o It has been tested only on KB9202, KB9202A and KB9202B boards
o Better comments about hints
o option<space><tab>
o Add newer SX_NOINLINE option.
o Fix a few comments
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
calls the latter.
Merge tcp_mss_update() with code from tcp_mtudisc() basically
doing the same thing.
This gives us one central place where we calcuate and check mss values
to update t_maxopd (maximum mss + options length) instead of two slightly
different but almost equal implementations to maintain.
PR: kern/118455
Reviewed by: silby (back in March)
MFC after: 2 months
|
|
|
|
| |
Obtained from: mactel-linux
|
|
|
|
|
|
|
|
|
| |
l_ucontext. To restore the registers content, trampoline needs to
dereference uc_mcontext instead of taking some undefined values from
l_ucontext.
Submitted by: Dmitry Chagin <dchagin@>
MFC after: 1 week
|
|
|
|
|
|
| |
sysctl implementations for VIMAGE the same way we did elsewhere:
update the implementation but leave the globals and the SYSCTL
statement untouched.
|
|
|
|
| |
Discussed with: des
|
|
|
|
|
|
|
|
|
|
|
| |
SYSCTL_PROCs and check that the default mss for neither v4 nor
v6 goes below the minimum MSS constant (216).
This prevents people from shooting themselves in the foot.
PR: kern/118455 (remotely related)
Reviewed by: silby (as part of a larger patch in March)
MFC after: 2 months
|
| |
|
|
|
|
|
|
|
|
|
| |
duplication of code in fdisk and boot0cfg. Also make use of g_providername to
fix an issue with fdisk and boot0cfg not using the correct provider when
writing the MBR.
Reviewed by: phk
Approved by: pjd (mentor)
|
|
|
|
|
|
|
|
| |
- Add a routine for looking up a device and checking if it is a valid geom
provider given a partial or full path to its device node.
Reviewed by: phk
Approved by: pjd (mentor)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
somehow.
As a consequence we may now get an unexpected result(*).
Catch that error cases with a well defined panic giving appropriate
pointers to ease debugging.
(*) While the concensus was that the case should never happen unless
there was a bug, noone was definitively sure.
Discussed with: kmacy (about 8 months back)
Reviewed by: silby (as part of a larger patch in March)
MFC after: 2 months
|
|
|
|
|
|
|
|
|
| |
This is different to the first one (as len gets updated between those
two) and would have caught various edge cases (read bugs) at a well
defined place I had been debugging the last months instead of
triggering (random) panics further down the call graph.
MFC after: 2 months
|
|
|
|
| |
Confirmed by: marcus
|
|
|
|
|
| |
PR: bin/126849
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
| |
logic here gets a little complex, but the net effect is that the
SECURE_SYMLINKS flag will prevent us from ever following a symlink.
Without it, we'll only follow symlinks to dirs. bsdtar specifies
SECURE_SYMLINKS by default, suppresses it for -P.
I've also beefed up the write_disk_secure test to verify this
behavior.
PR: bin/126849
|
| |
|
|
|
|
|
| |
- Add the bus_space_compare macro for bus_space consistency.
- Switch using the bus_space_map_load() in isa_load_resourcev().
|
|
|
|
| |
- Move i8255 related defines into a separate file.
|
| |
|
|
|
|
| |
warnings with picky compiler settings
|
| |
|
|
|
|
|
| |
o kill IEEE80211_NODE_CHWUPDATE; it's use was pointless and it was defined
wrong (overlap w/ existing flags)
|
| |
|
|
|
|
|
| |
o leave a check for the max ba window disabled; we accept out of range
values and just truncate them but may want to act differently in the future
|
| |
|
| |
|
|
|
|
| |
there's a better way to do this
|
|
|
|
|
|
| |
to overflow.
MFC after: 5 days.
|
| |
|
|
|
|
|
|
| |
available.
MFC after: 5 days.
|
|
|
|
| |
o display all key flags symbolically
|
| |
|
|
|
|
| |
o add 11e reason codes
|
|
|
|
|
|
| |
relative to the head
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
| |
the default rule number but also the maximum rule number. User space
software such as ipfw and natd should be aware of its value. The
software that already includes ip_fw.h should use the defined value. All
other a expected to use sysctl (as discussed on net@).
MFC after: 5 days.
Discussed on: net@
|
|
|
|
|
| |
There are a lot of places where we do "#define<space>" instead of
"#define<tab>". Clean this up a little.
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As discussed with Robert on IRC, checking the permissions on
/dev/console to see if we can call TIOCCONS could be unreliable. When we
run a chroot() without a devfs instance mounted inside, it won't
actually check the permissions on the device node inside the devfs
instance.
Using the already existing PRIV_TTY_CONSOLE for this seems like a better
idea.
Approved by: rwatson
|
|
|
|
| |
Approved by: ade (mentor)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Initially, 'acl' (an 'acl_t *') is allocated, and its ACCESS_ACL and
DEFAULT_ACL fields are passed to the 'libc' ACL routines for subsequent
allocation. If the '-m' option (merge existing ACL with a new one) is
specified, then 'set_acl_mask()' will be called and passed one of the
two ACLs. This function, in turn, replaces this given ACL structure by
another, freshly allocated. However, the pointer in the 'acl' variable
in the caller is not updated. The caller then proceeds to free the ACL,
incurring in a double free condition.
Submitted by: Pedro Martelletto <pedro at ambientworks.net>
Approved by: rwatson (mentor)
|
| |
|