On Sun, 2010-08-15 at 12:45 +0200, Adrien wrote:
>
> Finally, C bindings. I created a few while not having access to the
> internet and they are quite dirty. I highly doubt they play perfectly
> well with the garbage collector: they seem ok but probably aren't
> perfect. That's definitely something to check, even if the bindings
> were written by someone else because working nicely with the GC can be
> quite hard.
Then I suggest to post here a representative (rather complex) example of
your C binding glue code.
>
> Also, on my computer, I have the following behaviour:
> 11:44 ~ % sudo echo 0 > /proc/sys/kernel/randomize_va_space
> zsh: permission denied: /proc/sys/kernel/randomize_va_space
This is normal. The sudo applies to the echo command, not to the
redirection. You want to redirect as root, not as the user, so
sudo sh -c 'echo 0 > /proc/sys/kernel/randomize_va_space'
should work.
Cheers.
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mine, sont seulement les miennes} ***