mm
b36b09239d
Fix typo in sysctl description
...
Reported by: Jeremy Chadwick
MFC after: 3 days
2013-03-17 15:53:27 +00:00
attilio
a2e67affe3
Expand ambiguous comments some more.
...
Requested by: alc
2013-03-17 15:27:26 +00:00
kib
1b20f7cc18
Remove negative name cache entry pointing to the target name, which
...
could be instantiated while tdvp was unlocked.
Reported by: Rick Miller <vmiller at hostileadmin com>
Tested by: pho
MFC after: 1 week
2013-03-17 15:11:37 +00:00
mm
6c7511b96e
libzfs_core:
...
- provide complete backwards compatibility (old utility, new kernel)
- add zfs_cmd_t compatibility mapping in both directions
- determine ioctl address in zfs_ioctl_compat.c
2013-03-17 10:57:04 +00:00
glebius
338f6e587c
In m_align() add assertions that mbuf is virgin, similar to assertions
...
in M_ALIGN(), MH_ALIGN, MEXT_ALIGN() macros.
2013-03-17 07:41:14 +00:00
glebius
7bcebf010f
Add MEXT_ALIGN() macro, similar to M_ALIGN() and MH_ALIGN(), but for
...
mbufs with external buffer.
2013-03-17 07:39:45 +00:00
glebius
09c3ea7c84
In m_megapullup() instead of reserving some space at the end of packet,
...
m_align() it, reserving space to prepend data.
Reviewed by: mav
2013-03-17 07:37:10 +00:00
rpaulo
afdfb863d6
Fix a typo in a comment.
2013-03-17 07:28:17 +00:00
joel
d322f7fe00
Remove EOL whitespace accidentally introduced in r248393.
2013-03-17 06:57:25 +00:00
joel
b42fc9ca5c
Move example to EXAMPLES.
2013-03-17 06:54:04 +00:00
joel
6e19f710d6
Move example to EXAMPLES.
2013-03-17 06:36:04 +00:00
andrew
279dc85cc8
In the uart module build ofw_bus_if.h on arm along with sparc64 as LINT
...
fails when built locally without it.
2013-03-17 06:33:49 +00:00
ian
b2acea1ddc
Add a macro that gets the physical address of a memory mapped device
...
register from a bus space resource.
Note that this macro is just for ARM, and is intended to have a short
lifespan. The DMA engines in some SoCs need the physical address of a
memory-mapped device register as one of the arguments for the transfer.
Several scattered ad-hoc solutions have been converted to use this macro,
which now also serves to mark the places where a more complete fix needs
to be applied (after that fix has been designed).
2013-03-17 03:04:43 +00:00
andrew
0952142d82
Link libgcc_s against compiler-rt on ARM EABI. This allows us to use all of
...
the symbols in compiler-rt, including the ones not available in the old
libgcc. This fixes the build with clang which generates calls to funstions
that are missing from libgcc_s.
2013-03-17 01:03:41 +00:00
andrew
9501bcd750
The -mno-apcs-frame argument is unavaliable on clang, also ignore it there.
2013-03-17 00:56:17 +00:00
pjd
acae942b05
Require CAP_SEEK if both O_APPEND and O_TRUNC flags are absent.
...
In other words we don't require CAP_SEEK if either O_APPEND or O_TRUNC flag is
given, because O_APPEND doesn't allow to overwrite existing data and O_TRUNC
requires CAP_FTRUNCATE already.
Sponsored by: The FreeBSD Foundation
2013-03-16 23:19:13 +00:00
pjd
fc3188711f
Update the tests now that absence of the O_APPEND flag requires CAP_SEEK
...
capability. Add some more tests.
Sponsored by: The FreeBSD Foundation
2013-03-16 23:13:49 +00:00
andrew
e271e57551
Add __aeabi_memset to libkern, implemented using memset, as clang may
...
generate calls to it.
2013-03-16 23:11:55 +00:00
pjd
c2c41ac818
The mode argument for open(2)/openat(2) only makes sense if the O_CREAT flag
...
was given.
Sponsored by: The FreeBSD Foundation
2013-03-16 23:10:40 +00:00
joel
2c33737ccb
Add a couple of examples.
...
Obtained from: OpenBSD
2013-03-16 22:53:38 +00:00
neel
4bbf2e81a6
Fix the '-Wtautological-compare' warning emitted by clang for comparing the
...
unsigned enum type with a negative value.
Obtained from: NetApp
2013-03-16 22:53:05 +00:00
pjd
a31543af15
Add a note to the HISTORY section about lchflags(2) being introduced in
...
FreeBSD 5.0.
2013-03-16 22:44:14 +00:00
neel
8089ec6659
Allow vmm stats to be specific to the underlying hardware assist technology.
...
This can be done by using the new macros VMM_STAT_INTEL() and VMM_STAT_AMD().
Statistic counters that are common across the two are defined using VMM_STAT().
Suggested by: Anish Gupta
Discussed with: grehan
Obtained from: NetApp
2013-03-16 22:40:20 +00:00
pluknet
2462133dfc
Fix version in the .Fx macro.
...
Reported by: <deeptech71@gmail.com>
2013-03-16 22:37:56 +00:00
pjd
a03e9d6f4c
Style: Whitespace fixes.
2013-03-16 22:37:30 +00:00
pjd
27049a86ae
Style: Remove redundant space.
2013-03-16 22:36:24 +00:00
joel
7b26e8ff4f
Cross-reference gvinum(8) instead of vinum(8).
2013-03-16 22:02:47 +00:00
joel
8b398d02b3
Remove reference to vinum(4). The manual page was removed in r248370.
2013-03-16 21:50:06 +00:00
mm
b9a4266c5c
Initialize "error" variable where illumos does.
2013-03-16 20:28:38 +00:00
joel
44d915cf60
Hide version string under verbose.
...
Approved by: mav
2013-03-16 17:57:00 +00:00
glebius
f4837a2e63
- Replace compat macros with function calls.
2013-03-16 08:58:28 +00:00
glebius
9edd6e1174
- Replace compat macros with function calls.
...
- Remove superfluous cleaning of m_len after allocating.
Sponsored by: Nginx, Inc.
2013-03-16 08:57:36 +00:00
glebius
9d8d25cc83
Contrary to what the deleted comment said, the m_move_pkthdr()
...
will not smash the M_EXT and data pointer, so it is safe to
pass an mbuf with external storage procuded by m_getcl() to
m_move_pkthdr().
Reviewed by: andre
Sponsored by: Nginx, Inc.
2013-03-16 08:55:21 +00:00
glebius
50f5985d3c
Belatedly remove the vinum(4) manual page. The vinum
...
manager is absent in FreeBSD since 6.0-RELEASE.
Reviewed by: joel
2013-03-16 08:51:47 +00:00
neel
6a88d4ed82
Change the type of 'ndesc' from 'int' to 'uint16_t' so that descriptor index
...
wraparound is handled correctly.
The gory details are available here:
http://lists.freebsd.org/pipermail/freebsd-virtualization/2013-March/001119.html
This fixes a regression introduced in r247871.
Pointed out by: Bruce Evans, Chris Torek
2013-03-16 05:40:29 +00:00
andrew
faaba46948
Add END to ARM libkern assembly functions
2013-03-16 04:08:01 +00:00
andrew
147f0b89f3
Move the __aeabi_unwind_cpp_pr{0,1,2} functions to libkern so they can be
...
referenced in a non-debug kernel.
2013-03-16 04:06:49 +00:00
andrew
2b4b00f4f6
The compiler argument -mno-apcs-frame has no meaning when using EABI as we
...
will use aapcs frames, not apcs frames.
2013-03-16 03:57:46 +00:00
andrew
14fe99e969
Implement the required but unused __aeabi_unwind_cpp_* functions in the
...
trampoline kernel.
2013-03-16 03:50:27 +00:00
andrew
547c9f6633
Fix the indentation for a few commands that were missed or incorrectly
...
indented in r248362.
2013-03-16 03:21:25 +00:00
andrew
a27e52f9c0
Adjust the indentation of the trampoline compilation to make the commands
...
easier to follow.
2013-03-16 03:15:24 +00:00
andrew
112fb744f4
Add an END macro to ARM. This is mostly used to tell gas where the bounds
...
of the functions are when creating the EABI unwind tables.
2013-03-16 02:48:49 +00:00
pjd
552a9fbc05
Sort syscalls properly.
2013-03-15 23:00:13 +00:00
jilles
d967c25f5c
sh: Recognize "--" and explicitly reject options in wait builtin.
...
If syntactically invalid job identifiers are to be taken as jobs that exited
with status 127, this should not apply to options, so that we can add
options later if need be.
2013-03-15 20:29:31 +00:00
adrian
e3bfa0687c
Why'd I keep this here? remove it entirely now.
2013-03-15 20:22:20 +00:00
joel
2ba67e203a
Add a few examples.
...
Obtained from: OpenBSD
2013-03-15 20:12:54 +00:00
adrian
90b1ba3bc4
Fix two bugs:
...
* when pulling frames off of the TID queue, the ATH_TID_REMOVE()
macro decrements the axq_depth field. So don't do it twice.
* in ath_tx_comp_cleanup_aggr(), bf wasn't being reset to bf_first
before walking the buffer list to complete buffers; so those buffers
will leak.
2013-03-15 20:00:08 +00:00
rstone
9613a0ac27
Add support for Exar XR17V358 8-port serial device to puc(4)
...
Reviewed by: marius
Sponsored by: Sandvine Inc.
MFC after: 1 week
2013-03-15 19:58:44 +00:00
kib
284e554a67
Separate the copyright lines and the informational block by a blank line.
...
Requested by: joel
MFC after: 2 weeks
2013-03-15 14:01:37 +00:00
glebius
f07362f54e
- Use m_getcl() instead of hand allocating.
...
- Do not calculate constant length values at run time,
CTASSERT() their sanity.
- Remove superfluous cleaning of mbuf fields after allocation.
- Replace compat macros with function calls.
Sponsored by: Nginx, Inc.
2013-03-15 13:48:53 +00:00