[klibc] [PATCH 0/2 v3] mkstemp() and m68k support
tg at mirbsd.de
Sat Jan 28 16:48:48 PST 2012
after a year, I decided to hack on klibc again. I’ve reworked
both the patch to add mkstemp(), discussing to use AT_RANDOM
as cheap entropy source on IRC (if there will ever be another
entropy consumer, I can quickly write a minimal arc4random()
seeded from it, as it has only 16 octets), capable of making
a working mksh (static and shared) on amd64/xen, and the m68k
support code, leading to (also, static and shared) mksh on it
iff compiled with -g (let’s say, GCC is the culprit).
The two patches _should_ follow (still not 100% sure how to
feed them to sendmail and ensure they end up with the right
recipients) and are independent from each other (but for an
mksh on m68k, you obviously need both).
Cc the Linux/m68k arch list for the m68k patch, to review.
(When this works I’m probably going to build mksh-static on
dietlibc-less Debian architectures against klibc, pending
testing on those platforms of course; the eglibc one is huge.)
Support mksh as /bin/sh and RoQA dash NOW!
‣ src:bash (242 (261) bugs: 0 RC, 169 (183) I&N, 73 (78) M&W, 0 F&P)
‣ src:dash (73 (84) bugs: 3 RC, 27 (30) I&N, 43 (51) M&W, 0 F&P)
‣ src:mksh (1 bug: 0 RC, 0 I&N, 1 M&W, 0 F&P)
http://qa.debian.org/data/bts/graphs/d/dash.png is pretty red, innit?
More information about the klibc