Commit Graph

238262 Commits

Author SHA1 Message Date
dholland
fbd9d636b3 Enable lfs64 in the cleaner. 2015-10-15 06:25:04 +00:00
dholland
ae64c38ebb Enable lfs64 in fsck_lfs.
(and in everything else that uses this code)
2015-10-15 06:24:55 +00:00
dholland
5191580c7d Enable lfs64 in dumplfs. Print LFS32/64 in the output header. 2015-10-15 06:24:46 +00:00
dholland
511153d2cc Enable the creation of lfs64 volumes.
To create an lfs64 volume, use -w 64. You can also force a 32-bit
volume with -w 32, but this will fail on devices thta are too large.

lfs64 is the default for devices > 1TB. (1TB rather than 2TB because
daddr_t is signed and negative block numbers can cause interesting
complications.)

For now print a warning that the lfs64 format isn't finalized, because
it isn't. For now any lfs64 use should be limited to test data,
benchmarking, and so forth.
2015-10-15 06:24:33 +00:00
dholland
960bd58eff Remove stray #define of lfs_magic
(the last of the fake superblock structure field macros)
2015-10-15 06:24:21 +00:00
dholland
ce301f42e4 For now bitflip the lfs64 magic number.
This will be unflipped when the format is finalized - right now I
still have pending changes to the superblock in mind (to reduce the
number of redundant fields) so anything created now is not future-
proof. However, the code's also nearing being ready for testing; so
I'm doing this before turning it on as a precaution.
2015-10-15 06:24:08 +00:00
dholland
1655608c85 Move stuff from struct ulfsmount to struct lfs. 2015-10-15 06:15:48 +00:00
dholland
3ca9387eb7 Include <sys/cdefs.h>, <sys/featuretest.h>, and <sys/ansi.h>
unconditionally, not only #ifndef _KERNEL. The kernel declarations
require cdefs.h and standard practice is to include cdefs.h where it's
used; they also require sys/ansi.h; and while they don't require
featuretest.h it's also harmless... and includes should be at the top
anyhow.

PR 46557 from Richard Hansen.
2015-10-15 06:15:22 +00:00
ozaki-r
82491a99db Name the interrupt handler for intrctl 2015-10-15 02:40:38 +00:00
christos
d522fec9f5 PR/49386: Ryota Ozaki: Add a mutex for bpf creation/removal to avoid races.
Add M_CANFAIL to malloc.
2015-10-14 19:40:09 +00:00
christos
96e2a4cea0 more descriptive errors 2015-10-14 18:31:52 +00:00
christos
0066e868a8 add new test 2015-10-14 16:33:42 +00:00
christos
40c99df3a6 Add an anonymous struct test 2015-10-14 16:32:55 +00:00
christos
d8e986fab6 Introduce a syslog format that accepts %m. Stop accepting %m in printf
like formats. Support for this is detected via the __syslog_attribute__
macro.
2015-10-14 16:05:14 +00:00
christos
55b72e0a94 this is syslog-like 2015-10-14 16:02:03 +00:00
christos
dfe90780e8 syslog attribute. 2015-10-14 16:01:29 +00:00
christos
bbef9da5e8 use syslog attribute 2015-10-14 16:00:17 +00:00
christos
4860ae3db5 use __sysloglike where appropriate. 2015-10-14 15:58:46 +00:00
christos
9fa485335a We really mean __sysloglike here... 2015-10-14 15:58:08 +00:00
christos
37ecb8c3ab introduce an NTP_SYSLOG macro. 2015-10-14 15:55:42 +00:00
christos
1616498e3d these are syslog-like 2015-10-14 15:54:21 +00:00
christos
029efed26d this is syslog-like 2015-10-14 15:53:50 +00:00
christos
fec59bb419 these are syslog-like 2015-10-14 15:53:24 +00:00
christos
fb3518b21b introduce a __syslog__ format, and __sysloglike() macros. If __syslog__
is not available, this fails back to __printf__
2015-10-14 15:52:40 +00:00
christos
a2e2b1306b eliminate %m complexity. __format_arg__ thinks it is handling a format for
printf, so it does not like %m.
2015-10-14 15:50:48 +00:00
macallan
6c39fa1448 add some comments 2015-10-14 15:44:57 +00:00
christos
a30a6d9d08 fix conditionals for libproc and librtld_db lint libraries 2015-10-14 15:20:44 +00:00
roy
a2d314543b In the event of an error within arpresolve(), delete the cloned route
otherwise it would never be deleted.
2015-10-14 11:22:55 +00:00
roy
b0f4622d81 Save and clear the la route while we have a write lock 2015-10-14 11:17:57 +00:00
wiz
91583d44bd Improve wording; add missing comma. 2015-10-14 08:32:24 +00:00
msaitoh
10e5e9e6ca - Update TODO:
- "Multiqueue" -> "TX Multiqueue" because RX Multiqueue was added.
  - Sort entries.
- Grouping functions.
2015-10-14 07:16:04 +00:00
nonaka
22a41a669f PR/50261: Add valz(4) man page. 2015-10-14 04:22:45 +00:00
ozaki-r
cfd6ae6bc2 Remove leading whitespaces and kind 2015-10-14 02:16:51 +00:00
christos
f5de81ed67 Add a coverity annotation; string bytes follow the struct. It would be
better to add a char bytes[]; at the end of the struct.
2015-10-14 01:49:46 +00:00
christos
7931040a64 CID 1327233: Expicitly ignore return values of syscalls that don't fail. 2015-10-14 01:33:32 +00:00
mrg
0ea4e8dbad use pci_dma64_available() to choose a valid DMA tag. 2015-10-14 00:12:55 +00:00
christos
8a63f54079 sprinkle __diagused 2015-10-13 21:28:41 +00:00
rjs
8c2654abca Add core networking support for SCTP. 2015-10-13 21:28:34 +00:00
christos
29160715bc the next symbol should be a type. 2015-10-13 20:49:39 +00:00
christos
14356dd961 handle anonymous struct/union members. 2015-10-13 20:25:21 +00:00
rjs
5f50d03486 Add Xorg server to ibmnws build. 2015-10-13 20:12:03 +00:00
rjs
210aa65bab Add Xorg server and S3 driver to ibmnws build. 2015-10-13 19:43:44 +00:00
christos
17f4a693be more descriptive aborts 2015-10-13 16:09:33 +00:00
roy
222d6fab6a arpresolve() now returns 0 on success otherwise an error code.
Callers of arpresolve() now pass the error code back to their caller,
masking out EWOULDBLOCK.

This allows applications such as ping(8) to display a suitable error
condition.
2015-10-13 12:33:07 +00:00
riastradh
8ea291252e Fix mapping Intel graphics device registers.
- Accept either 32-bit or 64-bit mappings for all devices.
- Let the device always dictate size of the mapping.
- Explain why we don't have a statically fixed mapping size.

Fixes the main part of PR kern/50060.  Still a display mode issue
from one submitter, but it is almost certainly an unrelated issue.
2015-10-13 12:17:04 +00:00
roy
9ba2bef003 Move the NOARP check up a bit so that it works when an la is created
but hasn't been resolved yet.
Fixes PR kern/17611.
2015-10-13 11:13:37 +00:00
knakahara
f301f2ad4d fix RXCSUM_CRCOFL bit of WMREG_RXCSUM register. 2015-10-13 10:39:25 +00:00
pgoyette
44a923b2d1 Update sets lists for nouveau man-pages 2015-10-13 10:33:17 +00:00
knakahara
472815437c wm_linkintr_msix() should use WM_DEBUG_LINK instead of WM_DEBUG_TX. 2015-10-13 10:26:21 +00:00
knakahara
7d9bd782c2 recover if_wm.c:r1.348 2015-10-13 10:21:21 +00:00