Commit Graph

226071 Commits

Author SHA1 Message Date
dholland
d39951fe62 Remove empty header file. 2014-03-29 20:16:09 +00:00
dholland
7004aab3ca Use setproctitle() instead of handrolled version. 2014-03-29 20:12:12 +00:00
dholland
7b718e7cd8 Make the code for issuing talk requests to find players actually build. 2014-03-29 20:10:10 +00:00
christos
6d15f6a395 fix pci_intr_string 2014-03-29 19:54:46 +00:00
dholland
37a43147ab don't declare own boolean type 2014-03-29 19:41:10 +00:00
christos
2cad6262db add missing #else Takahiro Hayashi 2014-03-29 19:34:23 +00:00
dholland
208bf48e82 use random(), not a handrolled 16-bit generator 2014-03-29 19:33:03 +00:00
christos
568b09c7ee sprintf removal
{pci,eisa}_intr_string signature change
2014-03-29 19:30:49 +00:00
dholland
120fd4cb9a add "move gethostbyname to a compat library" to the list of things to do
on the mythical libc bump
2014-03-29 19:30:12 +00:00
christos
e58a356cba make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.
2014-03-29 19:28:24 +00:00
dholland
329b34a67e Use getaddrinfo() instead of gethostbyname(). 2014-03-29 19:26:28 +00:00
christos
1f02a58d08 make this compile (missing header file) 2014-03-29 19:20:29 +00:00
christos
e70bf8c346 fix misplaced line 2014-03-29 19:20:14 +00:00
dholland
d509fb9f42 typo in error message 2014-03-29 19:03:21 +00:00
dholland
267ec317ae const 2014-03-29 19:02:12 +00:00
dholland
8a64b7f83c simplify silly logic 2014-03-29 19:01:00 +00:00
apb
34bb1ddc72 Add a statuslen argument to get_pr_status(), and use it
as the length in a call to strlcpy().  The previous code would
have used the size of a pointer as the length.
2014-03-29 18:54:36 +00:00
apb
a88920f53c sizeof(pointer) is not a good buffer length to pass to strlcat.
Introduce a new variable, clntpathmaxlen, to hold the correct
buffer length, and pass that to strlcat.

The incorrect buffer length would have caused <filename>.<hostname>
lookups to fail.
2014-03-29 18:23:00 +00:00
tsutsui
114c4a90f7 Make sure to acquire proc_lock mutex on calling psignal(9) in EV_WAKEUP().
Without this, Xserver could cause panic on the DIAGNOSTIC kernel as x68k:
http://mail-index.netbsd.org/source-changes/2012/08/15/msg036632.html
2014-03-29 16:46:19 +00:00
gson
de089ddb26 Use daemon(3) instead of the experimental daemon2_fork() and
daemon2_detach().  Now that newer versions of daemon2_fork() and
daemon2_detach() are used in nfsd, where two-stage daemonization is
actually needed, there is no longer any reason for h_dns_server to
serve as a test case and example of their use.
2014-03-29 16:10:54 +00:00
skrll
6e791cbd37 Trailing whitespace 2014-03-29 15:48:01 +00:00
skrll
c0559412e4 Allow crash(8) to compile this. 2014-03-29 15:47:40 +00:00
matt
611d2a533f Change KERNEL_EXT_BASE to 0x80000000 and KERNEL_BASE_VIRT correspondingly. 2014-03-29 15:02:00 +00:00
matt
6e241b49ec support mapping all of memory.
Map memory starting at 0x80000000 and leave 1GB until kernel VM
Make kernel VM size 320MB (avoid loading kernel and i/o section into same
tlb index).
2014-03-29 15:00:07 +00:00
matt
acba38a72c Use armv7 instructions. Add ARM_MMU_EXTENDED support. 2014-03-29 14:53:57 +00:00
matt
d70e9a297a OMAP5/OMAP4 MP Changes + better OMAP5 support. 2014-03-29 14:47:30 +00:00
jakllsch
edd6a404ba Obtain and/or use ETHER_ADDR_LEN. 2014-03-29 14:30:16 +00:00
jakllsch
836038fc64 Use ETHER_ADDR_LEN more. 2014-03-29 14:25:10 +00:00
jakllsch
2f39df062c Obtain and use ETHER_ADDR_LEN where appropriate.
Drop unnecessary includes.

XXX libsa ether_sprintf() should maybe be ether_snprintf.
2014-03-29 14:20:14 +00:00
matt
820d40c2f8 remove trailing blank line 2014-03-29 14:13:17 +00:00
matt
1154906a85 enable cortex-a15 for omap5 boards 2014-03-29 14:11:24 +00:00
matt
5658fa86da Add install config for PANDABOARD 2014-03-29 14:07:51 +00:00
matt
7c35ec50f2 Remove OMAP5432_EVM to OMAP5EVM. Add install kernel. 2014-03-29 14:05:58 +00:00
matt
4f4d60ee67 Define KERNEL_BASES_EQUAL is KERNEL_BASE_VIRT == KERNEL_BASE_PHYS 2014-03-29 14:04:31 +00:00
matt
8ec5ba97dc adjust arm_cpu_max by 1 to be number of cpus 2014-03-29 14:02:46 +00:00
matt
6740164378 Properly powerup the 2nd CPU. Other MP changes. 2014-03-29 14:00:30 +00:00
gson
da700ef1b2 When daemonizing, delay the parent exit until the daemon is
ready to provide service.  Fixes one of the race conditions
of PR misc/48282.
2014-03-29 13:50:53 +00:00
mlelstv
86affea727 Mark variables only used in KASSET to appease compiler. 2014-03-29 12:55:11 +00:00
mlelstv
6a72627faa Appease compiler. 2014-03-29 12:54:27 +00:00
mlelstv
fe0f5b41c6 Use different option (-mcpu=68030) to select target cpu for the assembler.
The old option (-m68030) causes it to complain about features used that
are not provided by the target cpu.
2014-03-29 12:52:56 +00:00
mlelstv
ddf5baea92 Test mode is not implemented. Appease compiler. 2014-03-29 12:49:15 +00:00
hkenken
459f2ce05f Add optical joystick support for NetWalker.
+ OJ6SH-T25 (Sharp "Optical TOUCH CRUISER" sensor)
+ 2 Mouse buttons (GPIO)
2014-03-29 12:00:27 +00:00
apb
7b4ce92677 procfs_getcpuinfstr's len argument contains the buffer size on entry,
and the number of bytes used on return.  Use the actual buffer size in a
snprintf call, instead of sizeof(*buf), which is always 1.
2014-03-29 11:34:13 +00:00
skrll
3cebbec2c7 Simplify 2014-03-29 09:36:18 +00:00
maxv
687880ac6a Style 2014-03-29 09:31:11 +00:00
skrll
45c2650cd7 Sprinkle #ifdef _KERNEL{,_OPT} 2014-03-29 09:27:57 +00:00
ozaki-r
f351285ac5 Replace sprintf with snprintf 2014-03-29 05:07:25 +00:00
ozaki-r
9296282025 Fix typos 2014-03-29 05:03:43 +00:00
zafer
b79dc9575c Fix an issue with 11g beacon frames.
From FreeBSD Rev. 226465
Makes 11g wep, wpa2 and hostap work again.
2014-03-29 00:59:05 +00:00
riastradh
0fb1b53a4b Don't leak KVA by forgetting to call uvm_km_free...oops!
From rmind@.
2014-03-28 23:22:27 +00:00