Commit Graph

238146 Commits

Author SHA1 Message Date
snj 6ddd15a9a1 fix formatting 2015-10-07 00:44:25 +00:00
christos ee7dd36d49 fix the remaining problem with pcinfo; the dtracetoolkit execsnoop script
works.
2015-10-07 00:35:23 +00:00
christos 5a472843c6 Adjust for NetBSD. 2015-10-07 00:34:37 +00:00
ozaki-r 98c468dd77 Create an llentry after fixing an interface to store
In case of RTF_LOCAL routes, we change an output interface
of a route from original one to lo0ifp. An llentry also
has to be stored to lo0ifp in such cases.

Problem reported by roy@
2015-10-07 00:33:27 +00:00
christos 2210ed24e7 provide curthread for dtrace 2015-10-07 00:32:34 +00:00
christos 8c1b3fd3c9 Expose struct kauth_cred for the benefit of the debugger. I can't convince gcc
to produce debug info for the structure if it does not appear in more than
one source file.
2015-10-06 22:13:39 +00:00
christos 8e6eeb3dcf almost fixed... Need to figure out what to do with curlwp. 2015-10-06 22:12:09 +00:00
martin 27d8dabc37 Do not use #ifdef SUN4U when testing for cpu features of post-v8 CPUs,
it is not good for SUN4V-only kernels. Instead use __sparc_v9__ (which
is also defined by the sparc compiler when called with cpu=ultrasparc).
ok: mrg@
2015-10-06 20:03:05 +00:00
christos ebf0d565d5 don't check for NULL before free() (Tilman Sauerbeck) 2015-10-06 17:36:25 +00:00
martin 7e689e2d4f Split auxio at ebus and auxio at sbus properly, so we can build kernels
without sbus support.
2015-10-06 16:40:36 +00:00
christos 3ca2aae874 CID/1325751: Avoid possible 32 bit overflow. 2015-10-06 15:06:05 +00:00
christos a3c9e9c899 CID/1325753: remove extra return. 2015-10-06 15:03:34 +00:00
mlelstv f30ec675b0 support hiding command timeout messages with a new command flag and use this
when probing for cards. Should fix PR 50302.
2015-10-06 14:32:51 +00:00
jmcneill d9483ce0a0 print wedge announcement in one line instead of two 2015-10-06 11:22:40 +00:00
prlw1 5a545d3afd Update comments to match previous change (avoid panic in SIOCGNATL) 2015-10-06 10:21:08 +00:00
knakahara b9c82b6871 quick hack for shared IRQ issue. 2015-10-06 09:44:31 +00:00
hannken 6495f9c3ba Remove dubious vhold()/holdrele() from write_logvol_dscr strategies.
The udf_node already gets locked with UDF_LOCK_NODE() and udf_reclaim()
will wait for the lock to clear.
2015-10-06 08:57:34 +00:00
riz 84d94196b6 Make this build for me. 2015-10-06 01:18:47 +00:00
christos 665d810b64 Start matching some of the field names to NetBSD's
XXX: needs work
2015-10-05 17:49:40 +00:00
christos 7948227e4f Arrange to install the dtrace files (some are broken, sets will need to be
fixed)
2015-10-05 17:49:10 +00:00
christos 4cea25895d load the kernel for NetBSD (for now) 2015-10-05 17:48:09 +00:00
christos 5fbaf483b1 Add definitions for uid_t and gid_t for NetBSD because we are screwing up
with the names in the kernel and the ctf sections end up having only __uid_t
and __gid_t.
2015-10-05 17:47:37 +00:00
christos 2a1508e4be Previous code was mis-indented but correct; simplify to make the intent clear. 2015-10-05 15:57:50 +00:00
bouyer 216147e0f1 When disabling video ouput also turn off the tcon. This will cause the
HDMI output to stop too, and the monitor will go to sleep.
2015-10-05 14:42:19 +00:00
rjs 260a174268 Catch up with switch to use Xorg server. 2015-10-05 11:14:32 +00:00
ozaki-r a7ed97a295 Fix arplookup logic
It should first lookup and then create an entry if not found (and if
creation is requested).
2015-10-05 08:17:31 +00:00
ozaki-r 91afbd53fe Use satosin6 instead of its own macro 2015-10-05 04:15:42 +00:00
christos ea79cab59b put back module filename finding code. 2015-10-04 23:25:32 +00:00
pgoyette 7c6859f1a8 Minor tweaks, from Michael McConville 2015-10-04 22:51:19 +00:00
jym 48e186f20f Cache CPU index in the non-preemptible part otherwise it can be
unreliable (and report a CPU as patched while it was not).
2015-10-04 21:08:30 +00:00
jmcneill c7ce4b6914 Use sysmon_taskq instead of our own workqueue for submitting button events. 2015-10-04 18:35:44 +00:00
mrg 67805d58fa kmem_free() the address returned by kmem_alloc(). found by Brainy.
use the newly aligned location if we needed it.  found by kre.
2015-10-04 17:52:50 +00:00
wiz 032e90426a Bump date. 2015-10-04 12:10:51 +00:00
skrll f0ac9058f1 Fix commented out USB HC debug options. RPI doesn't have [eo]hci. 2015-10-04 10:16:39 +00:00
joerg fa24cbf67e Drop unused (inline) function. 2015-10-04 08:20:24 +00:00
joerg 4930719b71 panic takes a format string. 2015-10-04 08:19:40 +00:00
joerg cae6a72ca2 Unsigned values can not be negative. 2015-10-04 08:19:13 +00:00
joerg 106e3b42b0 Use pointer computation for references outside an object. 2015-10-04 08:18:49 +00:00
joerg ac18bcbfd7 Don't check unsigned values for negativity. 2015-10-04 08:17:43 +00:00
joerg e35723c2c4 Arrays are never NULL. 2015-10-04 08:17:03 +00:00
joerg a6fbbeaa5f Avoid left-shifting negative values. 2015-10-04 08:16:13 +00:00
joerg bf3eb6d6df Panic takes a format string. 2015-10-04 08:15:46 +00:00
uebayasi 8b6b28e153 Catch up with the current, generated Makefile format. 2015-10-04 07:59:47 +00:00
joerg 887bca8d3c Fix format string. 2015-10-03 15:22:14 +00:00
hannken 7de3300bb9 Remove dubious vhold()/holdrele() from lfs_reserve().
The vnodes are always referenced on entry.

If we changed ulfs_remove() and ulfs_rmdir() to return the locked dvp
the vnodes were always locked on entry.

Remove an outdated comment from lfs_reserveavail(), unlocking/relocking
the vnode was removed in rev 1.49.
2015-10-03 09:31:29 +00:00
dholland da7186290f The per-inode state 'id_entryno' is used by pass1 for a block count,
so widen it to 'long long'. pass2 uses it for the number of entries in
a directory (IIUC) which does not need to be wider than int, but for
now let's not try to split into two fields. FUTURE...
2015-10-03 08:30:13 +00:00
dholland a07fd0a2a2 Use daddr_t instead of uint32_t for the in-memory copy of the inode
block pointers.
2015-10-03 08:30:02 +00:00
dholland 896006c986 Drop an explicit sign-extension in fsck that shouldn't be needed any
more.
2015-10-03 08:29:48 +00:00
dholland 93f2a7d5e8 Add lfs_checkword type for reading checksum data out of structures.
This is always uint32_t, but having a name for it both makes things
clearer and avoids confusion about whether it should be 32 or 64 bit.

Note: deployed in only one place (that was erroneously tagged
ondisk32) so far.
2015-10-03 08:29:34 +00:00
dholland db7a6054ae Fix hardwired 32-bit stuff in fsck:
- compute the maximum file size using LFS_BLKPTRSIZE()
   - use the new IINFO in pass 6 instead of uint32_t pointers
   - use accessors to read and write indirect blocks
2015-10-03 08:29:21 +00:00