Hi -
On 2015-12-14 at 20:28 "'Davide Libenzi' via Akaros"
I can take this as is, minus these two commits:
c36986439eb4 ("Added memstr() API to allow to search strings in memory")
bf1c5c99e797 ("Made readstr and consequently readmem, to use
copy-to-user API")
The first isn't needed, as discussed in another email. The latter
isn't either, and I'd like for us to think that through more (and it's
not a priority).
There is also a minor issue with this. The commitid does not get
updated unless you do a make clean.
On Akaros:
/ $ cat \#version/commitid
345158006a1035496b721fb3946cc3b08839acac
On Linux:
$ git log -1
commit 2823074e41a98f840755bd7f396e9ed44b6df695
345158 was an old commit. I made a new commit and ran make.
The fix is probably to have the makefile detect a change in the commit
(possibly via a hidden file, e.g. obj/kern/.commitid) and remove the
old buildinfo.c file, triggering a rebuild.
It's not a big deal for now though. If you want to fix that up now,
let me know. o/w I can just merge what we've got, and we can fix it
later.
Barret