Re: [rfc, gdbserver] Disable address space randomization

Jan Kratochvil
2011-09-29T17:57:37Z

Hi Ulrich,

On Wed, 21 Sep 2011 18:23:34 +0200, Ulrich Weigand wrote:
> At this point this happens unconditionally, whenever the kernel
> supports the personality system call. If necessary, it would
> be possible to make this configurable by adding a command line
> argument to gdbserver ...

I do not find too great it cannot be disabled. This makes inferior problems
reproducibility worse. There should be command-line option for legacy and/or
remote command for extended mode but that is obvious.

Still it is probably better even unconditionally.

> Tested on i386-linux. Fixes a couple of test failures on Ubuntu.

I guess it has PIE by default? I am aware some PIE corner cases need more
fixes (and Fedora contains some more PIE patches even formerly posted but
those patches are not well made).

Thanks,
Jan