christos
e93b33c96c
correct/add protection against snprintf overflow.
2014-03-27 18:22:56 +00:00
christos
a9253db65e
From Ilya Zykov:
...
- ifdef out some code that is only used for NO_DEV_PTM
- pass the mountpoint instead of the ptm structure to the implementation
dependent (ptyfs or bsdpty) functions.
- add a function to return the correct ptyfs mountpoint for the current lwp
2014-03-27 17:31:56 +00:00
apb
594d9bd67e
Use calloc instead of malloc + memset. This fixes a bug
...
in which the wrong size was passed to memset.
2014-03-27 16:34:37 +00:00
apb
4840a75dea
sizeof(array - 1) decays to sizeof(pointer), but (sizeof(array) - 1)
...
was actually wanted.
The effect of this bug is that only a few bytes of the hostname are mixed
into the random seed, instead of using the entire hostname.
2014-03-27 16:26:22 +00:00
apb
ae56564c55
Fix sizeof errors in memset calls in heimdal.
2014-03-27 16:10:45 +00:00
christos
a2d437b386
kill sprintf
2014-03-27 15:50:48 +00:00
skrll
0577e0f028
More #if 0'ed removal
2014-03-27 10:42:47 +00:00
skrll
85a926e15d
Remove #if 0'ed code.
2014-03-27 10:11:04 +00:00
skrll
d0eeb335da
Simplify the semaphore code a little
2014-03-27 07:59:17 +00:00
skrll
f714ddc6b3
KNF
2014-03-27 07:56:56 +00:00
skrll
fe334a7493
bzero -> memset
2014-03-27 07:54:43 +00:00
christos
c6b4d36c05
kill sprintf
2014-03-26 22:03:26 +00:00
christos
968c5f53d8
in the bsdpty allocvp flavor, call the bsdpty mkname directly, since it is
...
the only one possible to be valid (Ilya Zykov)
2014-03-26 21:29:54 +00:00
christos
9b453fe1d0
if one of the ptyfs instances has grabbed the handle don't grab it again,
...
Ilya Zykov
2014-03-26 21:28:48 +00:00
christos
3900446f61
Add missing ;
2014-03-26 19:44:51 +00:00
christos
a6e338b0d6
kill sprintf
2014-03-26 18:12:46 +00:00
christos
3270bbc973
kill {v,}sprintf
2014-03-26 18:11:26 +00:00
christos
04166a5a62
kill sprintf
2014-03-26 18:04:33 +00:00
christos
e9ba8bc5a2
remove {v,}sprintf
2014-03-26 18:03:47 +00:00
christos
54ec44dad1
Remove {v,}sprintf
2014-03-26 18:02:24 +00:00
christos
93100edccb
kill sprintf.
2014-03-26 17:58:57 +00:00
christos
1c9d295ac5
kill sprintf
2014-03-26 17:54:46 +00:00
christos
42391ab57b
- kill sprintf
...
- fix unused
2014-03-26 17:53:36 +00:00
christos
43ebc39121
kill sprintf
2014-03-26 17:41:15 +00:00
christos
b90eac3c74
kill sprintf.
2014-03-26 17:38:09 +00:00
christos
360bdb9d7b
fix sprintf.
2014-03-26 17:35:08 +00:00
christos
93a4cd252f
return something
2014-03-26 17:31:13 +00:00
christos
e3635ac12f
use humanize_number per gimpy.
2014-03-26 17:29:21 +00:00
christos
d20a9d9af8
fix fraction part of printing (from apb)
2014-03-26 17:17:22 +00:00
skrll
ba5d403f7e
KNF
2014-03-26 16:44:41 +00:00
isaki
d1dbe4b861
Implement the software power-off (correctly) when RB_POWERDOWN is
...
specified. Before this, the kernel doesn't turn off the power in fact,
and thus the power off had happened in IPLROM after software reset.
Many thanks to tsutsui@ on port-x68k.
2014-03-26 16:21:39 +00:00
christos
5c95c9b7a3
kill sprintf.
2014-03-26 16:16:06 +00:00
christos
b50b466a22
fix sprintf
2014-03-26 16:10:20 +00:00
christos
983354312c
kill sprintf
2014-03-26 16:08:45 +00:00
skrll
a31d4c323b
Correct some bus_dma operations.
2014-03-26 16:07:15 +00:00
christos
8d7b7627fa
kill sprintf
2014-03-26 15:55:43 +00:00
christos
8c5f9077a9
simplify snprintf.
2014-03-26 15:55:31 +00:00
christos
99e481a272
kill sprintf
2014-03-26 15:47:00 +00:00
ozaki-r
66b3054ebd
Add missing 2nd argument to snprintf
2014-03-26 11:59:05 +00:00
christos
d02e70fa98
kill sprintf
2014-03-26 08:51:59 +00:00
christos
111294d48e
kill sprintf
2014-03-26 08:40:58 +00:00
christos
4674a5d7ed
fix sprintf
2014-03-26 08:29:41 +00:00
christos
647f8430d7
use sprintf.
2014-03-26 08:20:29 +00:00
christos
19ccf3b881
mark unused
2014-03-26 08:19:44 +00:00
christos
4c3cdcf099
kill sprintf, fix unused.
2014-03-26 08:17:59 +00:00
christos
16754bf12b
fix unused, missing splx.
2014-03-26 08:17:32 +00:00
christos
db89e006d6
kill sprintf
2014-03-26 08:04:19 +00:00
christos
dc14a65969
use snprintf
2014-03-26 08:02:38 +00:00
christos
e929f0f23e
fix printf issues
2014-03-26 08:01:21 +00:00
matt
0351322277
Allow SRAB to be optional.
2014-03-26 03:19:11 +00:00