Commit Graph

231293 Commits

Author SHA1 Message Date
christos e3206aeb2b make the apple code compile again. 2014-11-02 00:05:03 +00:00
christos be13e1550a don't fail for anonymous unions. 2014-11-01 23:21:31 +00:00
christos ab33b62df0 fix linking of DRMKMS kernel.
XXX: apple does not compile!
2014-11-01 21:46:46 +00:00
christos e12eb76e8b fix shadowing for min() and max() from libkern 2014-11-01 21:46:10 +00:00
christos 2ca0278c94 fix uninitialized 2014-11-01 21:45:31 +00:00
christos 7588982e24 fix initializer 2014-11-01 21:45:05 +00:00
christos 09296fee8b fix uninitialized 2014-11-01 21:44:51 +00:00
nakayama fd8090146c Convert sab_shutdown from deprecated shutdownhook_establish(9) API
to PMF(9) framework.

Tested on Ultra 60 with serial console.
2014-11-01 16:45:16 +00:00
martin b84c3bddda Belatedly note awge(4) 2014-11-01 14:59:45 +00:00
uebayasi e8a6d4b70c config(1): Start calling module as module 2014-11-01 14:24:45 +00:00
uebayasi 6c852b2895 config(1): More TODO description. 2014-11-01 14:15:31 +00:00
uebayasi 11d4b6746a amd64, i386: Don't expose .data.{read_mostly,cacheline_aligned} sections 2014-11-01 11:58:55 +00:00
uebayasi fe2a50734b config(1): Don't emit unused empty loc[] 2014-11-01 11:02:41 +00:00
uebayasi c62ce2631a config(1): One more TODO about retiring direct attachment 2014-11-01 08:13:11 +00:00
uebayasi b08fc936e8 Revert previous.
Not only audio_attach_mi() but also audioprint() have to be separated.
midi.c has the same problem, and a little more complicated.  These will be
revisited later.
2014-11-01 07:54:18 +00:00
uebayasi 6c283bdad1 config(1): Emit pdevinit[] into .rodata 2014-11-01 07:26:11 +00:00
uebayasi def3cecb48 config(1): Set NULL to unused cfdata::cf_loc 2014-11-01 06:20:24 +00:00
uebayasi e7bfd574ad audio(4): Fix indirect circular dependency with audio if drivers
Provide audio_attach_mi(4) as inline so that audio if drivers don't need to
call functions in audio.c.  This way audio if drivers (e.g. auich(4)) can be
linked into kernel without audio.c.
2014-11-01 05:56:36 +00:00
uebayasi e1a6328057 config(1): KNF 2014-11-01 04:34:27 +00:00
uebayasi 304be40991 config(1): Better indent of cfdata in ioconf.c 2014-10-31 18:26:06 +00:00
uebayasi 084f527f2d config(1): KNF generated ioconf.c 2014-10-31 17:58:02 +00:00
uebayasi 374e86cbe4 config(1): Emit only referenced interface attributes in ioconf.c 2014-10-31 17:43:55 +00:00
uebayasi a9a42ca79b Bump ramdisk size to embed 13M sshramdisk. 2014-10-31 16:28:56 +00:00
manu 25834497bf Avoid deadlocks on write errors
On write errors, we failed to dequeue some operations, leading to
rare but unpleasant deadlocks
2014-10-31 15:20:08 +00:00
manu 6645d5252e FUSE fallocate support
There seems to be no fdiscard FUSE operation at the moment, hence that one
is left unused.
2014-10-31 15:12:15 +00:00
manu 962cb9b884 Add PUFFS_HAVE_FALLOCATE in puffs_msgif.h so that filesystem can decide
at build time wether fallocate is usable
2014-10-31 14:20:54 +00:00
wiz a2ba5a05a6 Bump date for previous. Remove trailing space. 2014-10-31 14:01:16 +00:00
manu cf73d5332b libpuffs support for fallocate and fdiscard operations 2014-10-31 13:56:04 +00:00
manu 78fa995d09 Add PUFFS support for fallocate and fdiscard operations 2014-10-31 13:52:41 +00:00
manu ef586c84dd According to pooka@'s comment, a long time ago, VOP_STRATEGY could not
fail without taking down the kernel. It seems this is not the case anymore,
hence we can stop dropping errors in puffs_vnop_strategy()

Approved by pooka@
2014-10-31 13:51:33 +00:00
justin 4a3dd59305 PR misc/49342 fix issue where time can tick during tests
Note there are still potential issues as the clock being tested is not
monotonic but it should now not fail unless time is being adjusted.
2014-10-31 12:22:38 +00:00
uebayasi 76fdf39e44 config(1): Briefly test ioconf.c output 2014-10-31 09:11:42 +00:00
uebayasi 1eb870d67f Bump image size to compensate new iwn(4) firmwares. 2014-10-31 08:43:24 +00:00
uebayasi c42523f496 config(1), config(5): Introduce "select"
o Introduce a new selection directive "select" to select an attribute (as a
  module) and its dependencies.
o Support "no select" too.
o Stop abusing "options" to select an attribute.
o Bump config(1) version.
2014-10-31 07:38:36 +00:00
uebayasi b9efa53115 config(1): Test undefined options behavior
- Test selecting an undefined options.
- Test negating an undefined options (failing).
- Fix typos in previous.
2014-10-31 04:54:17 +00:00
lukem b315b2bb36 Version 20141026
Ignore special characters unless they're from the command line.
Fixes CVE-2014-8517
2014-10-31 03:27:18 +00:00
wiz 75f5ef0d24 Spelling fixes. 2014-10-30 23:18:02 +00:00
justin 3cf1fc0878 Add libraries in order that they will link if static as well as dynamic 2014-10-30 21:15:13 +00:00
christos a3aed58d4c do the library stubs differently 2014-10-30 20:21:39 +00:00
christos a95701b647 handle RCSID not being defined 2014-10-30 18:44:05 +00:00
maxv 86c13aa357 Limit the superblock size to SBLOCKSIZE, not MAXBSIZE. Otherwise memcpy
will read beyond the allocated buffer.

Discussed a bit on tech-kern@.
2014-10-30 17:13:41 +00:00
maxv 7eb4355d2e Reject non-regular files.
Patch from njoly@.
2014-10-30 16:45:28 +00:00
christos b89e3b087d remove overflow test that triggered for negative values; we only care
about the hash here.
2014-10-30 15:13:11 +00:00
palle 469e6a6a35 sun4v: ensure that the X (eXecute) bit is set in the TTE 2014-10-30 13:57:14 +00:00
nonaka a829c03808 Fix format. 2014-10-30 13:14:08 +00:00
nonaka 64737aeafa Add support for Intel Centrino Wireless-N 100/105/130/135/2200/2230. 2014-10-30 13:08:55 +00:00
nonaka 0e71d7ed9c Add support for Intel Centrino Wireless-N 100/105/130/135/2200/2230.
From OpenBSD.
2014-10-30 13:05:58 +00:00
nonaka f3b77edacf regen 2014-10-30 10:51:34 +00:00
nonaka 5fdb302ee8 Add some Intel Wi-Fi devices. 2014-10-30 10:50:44 +00:00
skrll 2b6336e5a7 Part of break-before-make is to dsb after the TLB invalidation. Do it in
tlb_invalidate_addr
2014-10-30 10:45:17 +00:00