| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
| |
Asked to commit by: phk
|
| |
|
|
|
|
|
|
|
| |
rid of a lot of uneccesary casts and temporary variables that have just
obfuscated the code. This also let's us implement a couple of the one-
liner list functions as macros (the first one is Lst_IsEmpty) and
simplify life once we start to throw consts on the code.
|
|
|
|
|
|
|
|
|
|
| |
Approved by: Robert Watson <rwatson@freebsd.org>
Add locking to the IPv6 scoping code.
All spl() like calls have also been removed.
Cleaning up the handling of ifnet data will happen at a later date.
|
|
|
|
|
| |
frankly tired of the controversy. When people ask me why FreeBSD isn't user-
friendly, I'll tell them that I tried. RIP.
|
|
|
|
|
|
|
|
| |
adapters from usbd.conf to devd.conf. USB ethernet devices were
already handled in devd.conf so this just removes their usbd.conf
entry.
PR: conf/73799
|
|
|
|
|
|
| |
PR: kern/73766
Submitted by: Valentin Nechayev
MFC after: 1 week
|
|
|
|
|
| |
PR: kern/73286
Submitted by: Daan Vreeken
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
correct open/close behaviour of filesystems:
When an ioctl to modify the MBR arrives, we cannot take for granted that
we have the consumer open.
The symptom is that one cannot run 'boot0cfg -s2 /dev/ad0' in single-user
mode because / is the only open partition in only open r1w0e1.
If it is not, we attempt to increase the write count by one and
decrease it again afterwards.
Presumably most if not all other slices suffer from the same problem.
|
|
|
|
|
|
| |
MFC after: 1 week
PR: conf/73239
Submitted by: Daan Vreeken
|
|
|
|
|
| |
PR: bin/71615
Submitted by: Craig Rodrigues (original patch by Dan Lukes)
|
|
|
|
|
| |
Reported by: Bryan Fulton and Ted Unangst, Coverity, Inc.
Found by: The SWAT analysis tool
|
|
|
|
|
|
|
|
|
| |
regular 'ustar' entry, use narrow-character version,
not wide-character version, as the ustar entry always
uses the narrow-character filename.
Thanks to: Michal Listos
Inspired by, but doesn't fix: bin/74385
|
|
|
|
|
|
|
| |
in an error message.
Thanks to: Michal Listos
Inspired by, but doesn't fix: bin/74385
|
|
|
|
|
|
|
|
| |
Prompted by
PR: docs/73668
Submitted by: Dan Pelleg
MFC After: 3 days
|
| |
|
|
|
|
| |
Look for them in ./Customize first, then relative to . and then absolute.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the address of a channel on a SCC, it returns 0 on failure. [1]
- Hardcode channel 1 for the keyboard on Z8530, the information present
in the Open Firmware device tree doesn't allow to determine this via
uart_cpu_channel(). This makes the keyboard (if one backs out rev. 1.5
of sys/dev/puc/puc_sbus.c and has both keyboard and mouse plugged in to
avoid the hang that revision works around) and consequently syscons(4)
on Ultra 2 work. There's a problem with the keyboard LEDs similar to
the one on Ultra 60 (LEDs don't get lit under X) though, instead of
lighting just a specific single one all get lit and can't be turned off
again. [1]
- Add comments about what uart_cpu_channel() and uart_cpu_getdev_keyboard()
do and their constraints.
- Improve the comments about what uart_cpu_getdev_[console,dbgport]() do,
they don't return an address (as in bus) but an Open Firmware package
handle.
Reviewed by: marcel (modulo the comments) [1]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
instead acquire it conditionally in closef() if it is required for
advisory locking. This removes Giant from the close() path of sockets
and pipes (and any other objects that don't acquire Giant in their
fo_close path, such as kqueues). Giant will still be acquired twice for
vnodes -- once for advisory lock teardown, and a second time in the
fo_close method. Both Poul-Henning and I believe that the advisory lock
teardown code can be moved into the vn_closefile path shortly.
This trims a percent or two off the cost of most non-vnode close
operations on SMP, but has a fairly minimal impact on UP where the cost
of a single mutex operation is pretty low.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
write of various time/rtt-related fields in the tcpcb.
|
|
|
|
|
|
|
|
| |
pointer updates: test available space while holding the socket buffer
mutex, and continue to hold until until the pointer update has been
performed.
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
o Remove a bogus comment that relates to alpha.
o s/u_int64_t/uint64_t/g
o Add bi_spare2 to make the internal padding explicit.
o Move BOOTINFO_MAGIC after the field it applies to.
|
|
|
|
|
| |
and efi_readin(). This removes MD code from copy.c.
o Don't unconditionally add pal.S to SRCS. It's specific to ia64.
|
|
|
|
|
|
| |
changing the Makefile, fail the creation of loader.efi when there are
unresolved symbols in loader.sym. This avoids silently creating a
faulty EFI binary.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
operation (by subtracting the absolute result from 0), don't test
for overflow.
This avoids an arithmetic exception when dividing LONG_MIN by 1:
This is the only case that causes overflow, and the resulting value
is correct under 2's compliment arithmetic.
PR: 72024
Approved by: dwmalone@
Obtained from: NetBSD
MFC after: 4 days
|
|
|
|
|
|
|
| |
normal PPP compression, as a workaround for certain (arguably) broken
Linux PPP implementations that can't handle this particular case.
MFC after: 1 week
|
|
|
|
| |
struct tcp_info.
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
| |
Submitted by: Jorge Mario G. Mazo <jgutie11@eafit.edu.co> (original version)
PR: docs/73789
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
| |
there's table lookup, fraud, and grand fraud.
-- Andrew Hume
USENIX'04 Technical Conference, reported by Adam S. Moskowitz
;Login: 29(5):49, October 2004.
|
|
|
|
| |
including other headers.
|
|
|
|
| |
bfd sources understand the present format.
|
| |
|
| |
|
|
|
|
| |
several of my systems.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
NetBSD got activated. NetBSD has an additional change in
their mii.c rev 1.26 which got missed with that merger:
: When probing for a PHY, look at the EXTSTAT bit in the BMSR, as well,
: not just the media mask. This prevents PHYs/TBIs that only support
: Gigabit media from slipping through the cracks.
With this GE only ones like from the SK-9844 are detected again.
PR: i386/63313, i386/71733, kern/73725
Tested by: matt baker <matt at sevenone dot com>, Jin Guojun <jin at george dot lbl dot gov>
Approved by: rwatson (mentor)
Obtained from: NetBSD mii.c rev 1.26
MFC after: 1 week
|
|
|
|
|
| |
Keep a #define MNT_NODEV 0 around to avoid dealing with contrib
userland like mount_smbfs.
|
|
|
|
|
|
| |
defined.
Submitted by: mitrohin a.s. <swp at uni-altai dot ru>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This socket option allows processes query a TCP socket for some low
level transmission details, such as the current send, bandwidth, and
congestion windows. Linux provides a 'struct tcpinfo' structure
containing various variables, rather than separate socket options;
this makes the API somewhat fragile as it makes it dificult to add
new entries of interest as requirements and implementation evolve.
As such, I've included a large pad at the end of the structure.
Right now, relatively few of the Linux API fields are filled in, and
some contain no logical equivilent on FreeBSD. I've include __'d
entries in the structure to make it easier to figure ou what is and
isn't omitted. This API/ABI should be considered unstable for the
time being.
|
|
|
|
|
|
| |
devices.
Submitted by: Samuel Clements <sclements@linkline.com>
|
| |
|