236391 Commits

Author SHA1 Message Date
skrll
c186ced2aa Fix logic inversion in 1.107 2015-06-30 13:30:50 +00:00
christos
8661aac84a whitespace police. 2015-06-30 11:56:27 +00:00
martin
17ea7bcab8 Allow /var/shm to be a symlink to a properly set up directory. 2015-06-30 11:46:47 +00:00
ozaki-r
452d01ddfd Use KASSERT for argument NULL checks 2015-06-30 08:31:42 +00:00
ozaki-r
eeab7eecc6 Fix nd6_numroutes counting
nd6_numroutes is intended to be incremented when a route is added via RA
and decremented when a RA route is deleted. However, a decrement of a RA
route was skipped when there remained references to the RA route.
2015-06-30 06:42:06 +00:00
hannken
af0e5d04e4 Redo previous again, v_specnode is invariant but not unique.
Set "vp->v_data = vp" and use v_data as key.
2015-06-30 06:19:21 +00:00
martin
90ce5da580 Fix reversed arguments in copyin(9), c.f. kern/sys_mqueue.c rev 1.39. 2015-06-30 06:01:04 +00:00
matt
058f198b88 Make vmparam.h change work with RUMP 2015-06-30 04:20:19 +00:00
macallan
4c1a8dc139 don't mess with the cycle counter event counter, out timer interrupt comes
from elsewhere and is counted there
2015-06-30 04:10:10 +00:00
macallan
65162b9f2d shorten the interrupt name so the level field is actually readable in systat 2015-06-30 03:55:23 +00:00
macallan
4762e3e045 don't map the framebuffer as cacheable 2015-06-30 03:52:54 +00:00
matt
ca102c6db5 We support multiple page sizes so let modules know it. 2015-06-30 03:41:04 +00:00
matt
4732ca2c1e Use cpu_startup_common() 2015-06-30 02:39:03 +00:00
matt
e18587463a use cpu_startup_common 2015-06-29 17:52:53 +00:00
hannken
c6ee9f5027 Use the address of vp->v_specnode as vcache key. It is invariant
over the lifetime of the vnode.

The previous worked by luck, it took the first sizeof(void *) bytes
of struct vnode as key.

Resolves CID 1308957: wrong sizeof()
2015-06-29 16:48:20 +00:00
maxv
b5a733cae1 Remove a dead branch. Could look like a memory leak, but ih cannot be
NULL.

Found by Brainy.
2015-06-29 16:36:17 +00:00
christos
3c9a847ffa Revert previous, and explain why. 2015-06-29 16:25:49 +00:00
skrll
7270a09d72 Typos 2015-06-29 16:20:14 +00:00
christos
16b723da95 CID 1308958: Fix reversed arguments in copyin(9) 2015-06-29 15:44:45 +00:00
christos
f42b0aee93 CID 1308957: Fix wrong sizeof() 2015-06-29 15:39:40 +00:00
maxv
aafa91e0fa Use-after-free.
ok christos@

Found by Brainy.
2015-06-29 12:27:41 +00:00
ozaki-r
ca923dc320 Remove ifnet_addrs
We can assume that ifnet_addrs[ifp->if_index] is always the same as
ifp->if_dl, so we can replace ifnet_addrs[ifp->if_index] with ifp->if_dl
and remove ifnet_addrs entirely.

ok martin@
2015-06-29 09:40:36 +00:00
pooka
dda5ec9669 add brconfig to userland utils 2015-06-29 08:40:52 +00:00
matt
aa7105ed8d Need debug sets if ${MKDEBUGLIB} != "no" 2015-06-28 23:49:33 +00:00
matt
ee3e3ec79c Print both user and kernel segtabs 2015-06-28 22:14:38 +00:00
wiz
dfb9651eda Add serial comma, use upper case for abbreviation, and remove apostrophe for plural. 2015-06-28 16:22:54 +00:00
kardel
19ad638d83 fix ifstats command by relaxing invalid sanity check - ntp bug #2860 2015-06-28 15:37:37 +00:00
maxv
c723bec6a9 Initialize 'error'.
Can't test, but obvious enough apparently.

Found by Brainy.
2015-06-28 15:13:28 +00:00
kiyohara
51e0a6bae5 Move makphy to after mv{gb,xp}e.
And indents.
2015-06-28 13:10:38 +00:00
kiyohara
7d7691d2af Remove mvsdio. OpenBlocks AX3 not have it. 2015-06-28 12:58:52 +00:00
maxv
9aa6c10155 Small fixes.
ok hannken@
2015-06-28 10:04:32 +00:00
martin
4a5465f248 Pass AWK to make when invoking emit_dist_file.
Part of fixing PR toolchain/50004.
2015-06-28 09:29:58 +00:00
martin
6ade756116 Guard a few $MK... != "no" tests by an additional defined(MK...) clause
and make the emit_dist_file target depend on EXTRA_DIST_FILES.
Part of fixing PR toolchain/50004.
2015-06-28 09:28:46 +00:00
maxv
204cdd3fbe Use-after-free.
ok christos@

Found by The Brainy Code Scanner.
2015-06-28 09:15:45 +00:00
matt
499b183cfb Remove unused struct pt_entry_t union. 2015-06-27 21:44:06 +00:00
matt
3917315111 Need to test for MKCOMPATX11 2015-06-27 20:34:11 +00:00
matt
496c03f04a liblisp, libre, libmp are now private lirbaries and no longer installed. 2015-06-27 20:27:03 +00:00
matt
cde042ae67 X11 libs liblisp, libmp, libre are no longer installed and are now obsolete. 2015-06-27 17:07:58 +00:00
matt
e0484516f2 Use LIBISPRIVATE, not MKPRIVATELIB 2015-06-27 17:03:30 +00:00
matt
30074b3e8a Add MKCOMPATX11 knob for making X11 compat libraries. 2015-06-27 16:21:07 +00:00
matt
6b96e216d7 p++ symlink is only create if MKCXX != no 2015-06-27 15:47:29 +00:00
matt
5bfc4ef1ed p++ is a symlink so it won't have a .debug 2015-06-27 15:46:09 +00:00
matt
cc19e18fba Fix various missing or incorrect keywords. 2015-06-27 15:42:08 +00:00
matt
d4758b70da add pigzgzip to comment 2015-06-27 15:41:26 +00:00
martin
61b769c0d4 Terminate the obsole directory walking loop when we hit "/" or "."
(both relative to DESTDIR), I have seen it run into an endless loop with
_path=. when invoked from the top level make with some (valid) args.
2015-06-27 09:56:54 +00:00
manu
123566befd Remove useless and harmful sync(2) call in umount(8)
Remove sync(2) call before unmount(2) in umount(8). This sync(2) is useless
since unmount(2) will perform a VFS_SYNC anyway.

But moreover, this sync(2) may be harmful, as there are some situation where
it cannot return (unreachable NFS server, for instance), causing umount -f
to be uneffective.
2015-06-27 08:29:56 +00:00
dholland
8d2578da11 add one 2015-06-27 08:07:46 +00:00
mrg
df89a495e2 note GCC 4.8.5 has been imported, and while i'm here, untag thorpej
and tag christos and skrll as being responsible :-)
2015-06-27 07:30:10 +00:00
matt
eb96b2e87d Make evbarm64 (little endian) the default for aarch64. 2015-06-27 06:00:28 +00:00
matt
1d75dfbf81 add whitespace 2015-06-27 03:34:26 +00:00