| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
fixing the mount(8) "failok" option.
PR: 163668
Reviewed by: Garrett Cooper, delphij (previous version)
|
|
|
|
|
|
|
|
|
|
|
| |
builtins, rather than the __asm hack. Somehow I missed the existence of this
builtin originally and only noticed that it was there when I went to implement
it...
Note: Trunk clang now has support for (most of) the C[++]11 atomics stuff.
Please test!
Approved by: brooks (mentor)
|
| |
|
|
|
|
| |
Spotted by: avg
|
|
|
|
| |
consistent.
|
| |
|
|
|
|
| |
if anyone wants, he/she can take it from svn.
|
|
|
|
|
|
|
|
|
|
|
| |
Before this fix, only the first statement of the trap was executed if
evalskip was set. This is for example the case when:
o "-e" is set for this shell
o a trap is set on EXIT
o a function returns 1 and causes the script to abort
Reviewed by: jilles
MFC after: 2 weeks
|
|
|
|
|
| |
Reviewed by: jilles
MFC after: 2 weeks
|
| |
|
|
|
|
|
|
| |
Submitted by: Mykhaylo Yehorov
PR: usb/164090
MFC after: 1 week
|
|
|
|
| |
Reviewed by: kib
|
|
|
|
|
|
|
| |
ioctl commands.
PR: 163524
Reviewed by: net
|
|
|
|
|
|
|
|
| |
directly via the sysctl interface.
Submitted by: Mykhaylo Yehorov
PR: usb/164090
MFC after: 1 week
|
| |
|
|
|
|
| |
Noticed by: avg
|
| |
|
| |
|
| |
|
|
|
|
| |
that waiter bit is set before reading semaphore count.
|
|
|
|
|
|
|
| |
Fix a few places in the sparc64 floating-point emulator where this wasn't
being handled properly.
Submitted by: bde
|
|
|
|
|
|
|
| |
use softfloat.
Thanks to Ian Lepore for testing and debugging this patch. The fenv
regression tests pass (at least for Ian's arm chip) with this change.
|
|
|
|
|
|
|
|
| |
dynamic rounding modes, but FPUless chips that use softfloat can support it
because everything is emulated anyway. (We presently have incomplete
support for hardware FPUs.)
Submitted by: Ian Lepore
|
|
|
|
|
|
| |
Also use the proper number of underscores for internal names. (Changing
the names should be fine, since apparently the symbols are currently
unused.)
|
|
|
|
|
|
| |
in fenv.h instead of the non-standard and incomplete ones in ieeefp.h.
Thanks to Ian Lepore for testing this patch.
|
|
|
|
|
|
|
| |
from the x86 version, which has a completely different long double
format.
Submitted by: Maks Verver
|
| |
|
| |
|
|
|
|
| |
zero, unlike ffs(3), which starts counting from 1.
|
|
|
|
|
| |
Reported by: Yuri Pankov <yuri.pankov@gmail.com>
MFC after: 2 months
|
|
|
|
|
|
|
|
| |
error, we want tmpfs_reg_resize() to ignore I/O errors and unconditionally
update the file's size.
Reviewed by: kib
MFC after: 3 weeks
|
|
|
|
| |
an altered Product ID.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also, rework evalcase() to not evaluate any tree. Instead, return the
NCLISTFALLTHRU node and handle it in evaltree().
Fixed bugs:
* If a ;& list with non-zero exit status is followed by an empty ;; or final
list, the exit status of the case command should be equal to the exit
status of the ;& list, not 0.
* An empty ;& case should not reset $?.
|
|
|
|
|
| |
Reported by: az
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
Plain 'va_list' in this header seems to cause troubles with non-base GCC
which creates and uses "tortured" versions of some sysem header files
including stdio.h (installed in a private 'include-fixed' directory).
Reviewed by: theraven
X-MFC with: r227753
|
|
|
|
|
|
|
| |
PR: docs/164078
Submitted by: Taras <ds@ukrhub.net>
Approved by: bcr
MFC after: 3 days
|
|
|
|
|
|
|
| |
* If no pattern is matched, POSIX says the exit status shall be 0 (even if
there are command substitutions).
* If a pattern is matched and there are no command substitutions, the first
command should see the $? from before the case command, not always 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
module
is used.
Although the module _builds_, it fails to load because of a missing symbol from
ieee80211_tdma.c.
Specifics:
* Always build ieee80211_tdma.c in the module;
* only compile in the code if IEEE80211_SUPPORT_TDMA is defined.
|
|
|
|
|
| |
so some embedded platform builds can use these instead of a fully monolithic
kernel.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The USB code as it stands includes the bus glue along _with_ the controller
code. So the ohci/ehci modules actually build the USB controller code and
the PCI bus glue.
It'd be nice to ship separate modules for the PCI glue and the USB
controller (so for example if there were a USB controller hanging off
the internal SoC bus as well as an external PCI device) it could be done.
This is primarily done to save a few bytes here and there on embedded
systems with limited flash space for kernels - a very limited (sub-1MB)
space may be available for the kernel and may only support gzip encoding.
The rootfs can be LZMA compressed.
|
|
|
|
|
|
|
| |
This is primarily done to save a few bytes here and there on embedded
systems with limited flash space for kernels - a very limited (sub-1MB)
space may be available for the kernel and may only support gzip encoding.
The rootfs can be LZMA compressed.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
on-board, glued to the AR71xx CPU. These may forgo separate WMAC EEPROMs
(which store configuration and calibration data) and instead store
it in the main board SPI flash.
Normally the NIC reads the EEPROM attached to it to setup various PCI
configuration registers. If this isn't done, the device will probe as
something different (eg 0x168c:abcd, or 0x168c:ff??.) Other setup registers
are also written to which may control important functions.
This introduces a new compile option, AR71XX_ATH_EEPROM, which enables the
use of this particular code. The ART offset in the SPI flash can be
specified as a hint against the relevant slot/device number, for example:
hint.pcib.0.bus.0.17.0.ath_fixup_addr=0x1fff1000
hint.pcib.0.bus.0.18.0.ath_fixup_addr=0x1fff5000
TODO:
* Think of a better name;
* Make the PCIe version of this fixup code also use this option;
* Maybe also check slot 19;
* This has to happen _before_ the SPI flash is set from memory-mapped
to SPI-IO - so document that somewhere.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to being more generic.
Other embedded SoCs also throw the configuration/PCI register
info into flash.
For now I'm just hard-coding the AR9280 option (for on-board AR9220's on
AP94 and commercial designs (eg D-Link DIR-825.))
TODO:
* Figure out how to support it for all 11n SoC NICs by doing it in
ar5416InitState();
* Don't hard-code the EEPROM size - add another field which is set
by the relevant chip initialisation code.
* 'owl_eep_start_loc' may need to be overridden in some cases to 0x0.
I need to do some further digging.
|
|
|
|
|
|
|
|
|
|
| |
requested value was handled incorrectly, and the function retuned NULL
instead of the truncated result.
Fix this and also remove unnecessary check for buf != NULL, which alway
retuns true.
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to read strings completely to know the actual size.
As a side effect it fixes the issue with kern.proc.args and kern.proc.env
sysctls, which didn't return the size of available data when calling
sysctl(3) with the NULL argument for oldp.
Note, in get_ps_strings(), which does actual work for proc_getargv() and
proc_getenvv(), we still have a safety limit on the size of data read in
case of a corrupted procces stack.
Suggested by: kib
MFC after: 3 days
|
|
|
|
|
|
|
| |
usefully loaded and unloaded as modules.
Submitted by: geoffrey dot levand at mail dot ru
MFC after: 2 weeks
|
|
|
|
|
|
|
|
| |
kern_jail.c: initialize fullpath_disabled to zero
vfs_cache.c: add missing dot in comment
Reported by: kib
MFC after: 1 month
|
|
|
|
|
|
|
| |
PR: bin/164139
Submitted by: Yuri Pankov <yuri.pankov@gmail.com>
Approved by: nwhitehorn
MFC after: 3 days
|
|
|
|
|
| |
setting an absolute MSR when during on the MMU. This prevents delay(), in
particular, from intermittently malfunctioning.
|