Commit Graph

232704 Commits

Author SHA1 Message Date
ozaki-r
e85cdef150 Use pserialize for rtlist in bridge
This change enables lockless accesses to bridge rtable lists.
See locking notes in a comment to know how pserialize and
mutexes are used. Some functions are rearranged to use
pserialize. A workqueue is introduced to use pserialize in
bridge_rtage via bridge_timer callout.

As usual, pserialize and mutexes are used only when NET_MPSAFE
on. On the other hand, the newly added workqueue is used
regardless of NET_MPSAFE on or off.
2015-01-08 10:47:44 +00:00
hkenken
a14eae2b3c fix typo 2015-01-08 10:38:08 +00:00
ozaki-r
ac80d197aa Add tests for brconfig maxaddr 2015-01-08 06:33:11 +00:00
pooka
c5d51f5087 one more MKZFS fix (how many subdirs does this place have?) 2015-01-08 04:00:31 +00:00
christos
819d4545f4 Provide -C == -A + -B like fgrep, from Anon Ymous 2015-01-08 03:56:33 +00:00
pooka
e8f299cad3 fix MKZFS=yes ports 2015-01-08 03:50:56 +00:00
christos
27f32661d6 no need for the X headers anymore. 2015-01-08 03:47:32 +00:00
christos
88e5019daf merge common information (fix build) 2015-01-08 01:52:42 +00:00
pooka
f454f435c3 edit one more particularly well-hidden site needing -lrumpkern_sysproxy 2015-01-07 23:12:31 +00:00
christos
f8128537a0 adjust to the netname4 prototype. 2015-01-07 22:43:01 +00:00
christos
20d9dd5566 make netname4 match the netname6 signature avoiding a NULL pointer. 2015-01-07 22:38:32 +00:00
pooka
cf2a8a31eb +rumpkern_sysproxy to setlists 2015-01-07 22:26:50 +00:00
pooka
0397f3a735 Move sysproxy support into a separate component, rumpkern_sysproxy,
instead of it being always provided by the rump kernel base.  This
move accomplishes two things:

1) it is no longer necessary to provide sysproxy hypercall stubs for
   platforms which do not want to use sysproxy
2) it is easier to reason about the security aspects, since configurations
   not linking the sysproxy component simply do not support remote
   system calls

discussed on rumpkernel-users
2015-01-07 22:24:03 +00:00
joerg
24a21ee034 st_nlink on Linux is not int, so add an explicit cast. 2015-01-07 20:50:36 +00:00
joerg
72e6048ca0 Reorganise the way xorg is build. Move build of makestrs into src/tools
as it is needed for the "includes" phase. Make it symlink all necessary
headers in obj to decouple it from "includes" itself, breaking the
dependency cycle. Move the do-x11 target between do-lib and do-build, so
that libraries can get the benefit of build_install (correct .WAIT
behavior) and everything else like "includes" uses the plain SUBDIR
entry in external/mit.
2015-01-07 20:42:01 +00:00
riastradh
ede4dd9ede Rewrite /dev/random man page.
- Describe application usage up front.
- State the security model.
- Explain entropy.
- Describe current implementation strategy near the bottom.
2015-01-07 18:50:18 +00:00
knakahara
ca5e6fe73f Added myself. 2015-01-07 10:22:54 +00:00
macallan
f427ef1f51 enable genfb at sbus
output may not be pretty but it has a halfway decent chance to work at
least to some degree on otherwise unsupported graphics hardware
2015-01-07 09:50:05 +00:00
ozaki-r
fdb884f32b Add some tests for rtable operations of if_bridge 2015-01-07 08:55:01 +00:00
ozaki-r
3cde4cbc35 Pass a correct firmware size (instead of 0) to firmware_free
firmware_free now uses kmem_free(9) instead of free(9),
so we need to pass a correct size to it.
2015-01-07 07:05:48 +00:00
riastradh
3e78aa497a Name kmem_free(rn, sizeof(*rn)) as freeprivate to match makeprivate.
Per pooka's request from a year or so ago when I passed this patch by
him a year or so ago, if I recall correctly.
2015-01-07 04:05:26 +00:00
christos
7f4dbbddd0 fix library name; add shared library version 2015-01-07 03:49:13 +00:00
riastradh
c1b55c2b04 Don't leak rn on vcache_get failure. 2015-01-07 03:45:18 +00:00
christos
4e74cea47d add lto 2015-01-07 02:53:41 +00:00
mrg
7e6b4f282e fix a gcc tag, pointed out by uebayasi@. 2015-01-07 02:46:36 +00:00
christos
c2c9c6ba4c it is lto1 2015-01-07 02:18:10 +00:00
christos
b065c82840 regen 2015-01-07 02:08:06 +00:00
christos
62254aa965 regen; backtrace support is complete 2015-01-07 02:06:59 +00:00
christos
2c904ef7c1 fix build 2015-01-07 02:06:23 +00:00
christos
7f61831388 enable lto 2015-01-07 02:06:03 +00:00
christos
0c2e46cd4b enable the rest of the languages 2015-01-07 02:05:41 +00:00
christos
d5e8e308ec build lto 2015-01-07 02:02:44 +00:00
nonaka
836f08a84d Remove non-printable character. 2015-01-07 01:11:47 +00:00
dholland
e7288b6692 add something 2015-01-06 22:38:41 +00:00
mrg
dc7eec00f8 fix MKGCC=no builds. 2015-01-06 21:42:02 +00:00
joerg
707bb266b1 panic is printflike. 2015-01-06 21:36:38 +00:00
mrg
0eb5ccbd11 revert the previous, it is incorrect and breaks MKGCCCMDS=no.
fixes for MKGCC=no should appear next.
2015-01-06 21:04:06 +00:00
christos
ca77f03d28 add MGX 2015-01-06 19:19:10 +00:00
christos
f44f27dc8e tab police 2015-01-06 19:18:21 +00:00
macallan
cc620aaf19 add mgx driver 2015-01-06 17:51:57 +00:00
macallan
b2b0b52232 attach wsdisplay at wsemuldisplaydev instead of every single driver 2015-01-06 17:50:24 +00:00
macallan
67c7c13dd7 mention mgx driver 2015-01-06 17:48:45 +00:00
christos
ad991e655e We never want the c definitions in <sys/endian.h> 2015-01-06 17:43:16 +00:00
macallan
5bc3657eb5 implement WSDISPLAYIO_*CMAP and WSDISPLAYIO_GET_FBINFO ioctl()s
now X with wsfb works properly
2015-01-06 17:41:30 +00:00
christos
e14c7e489f fix conditional; makes 0 len mbuf, 0 offset, 0 len test work. 2015-01-06 16:24:58 +00:00
christos
c8990bd93c need immediate assignment 2015-01-06 16:08:06 +00:00
christos
d2c586bb77 simplify. 2015-01-06 16:04:58 +00:00
bouyer
87fe8c7aca As proposed on tech-net@, introduce a new switch type, PSWITCH_TYPE_RADIO,
to be used to report to userland hardware radio switch changes.
powerd(8) will call a "radio_button" script to handle the event.
This script can e.g. start or stop wpa_supplicant.
Update wpi(4) to report PSWITCH_TYPE_RADIO events to sysmon.
2015-01-06 15:39:54 +00:00
martin
87706a3247 Invoke the helper program from the test installation directory (instead
of the current/temporary).
Properly register failure.
2015-01-06 15:13:16 +00:00
macallan
3ea142811f - enable alpha fonts now that we have acceleration and glyphcache
- fix drawing of underlined characters
- try to flush framebuffer writes before reading them with the blitter
2015-01-06 13:54:18 +00:00