Question about hardening build flags

2013-04-13 Thread Jérémie Courrèges-Anglas
Hi, I'm trying to port mosh[1] on OpenBSD; its build system tries to enable several compile and build flags. Most of those seem on by default, where suitable, on OpenBSD (SSP, PIE), but I wonder if ''ld -z relro'' and ''-z now'' would be useful. According to my limited testing, ''-z relro''

Re: Question about hardening build flags

2013-04-13 Thread Philip Guenther
On Sat, Apr 13, 2013 at 8:17 AM, Jérémie Courrèges-Anglas j...@wxcvbn.org wrote: I'm trying to port mosh[1] on OpenBSD; its build system tries to enable several compile and build flags. Most of those seem on by default, where suitable, on OpenBSD (SSP, PIE), but I wonder if ''ld -z relro''

A small fix for dev/ic/rc.c

2013-04-13 Thread Brad Davis
I just got an Asus Sabertooth 990FX/GEN3 R2.0 motherboard. It uses a Realtek 8111F (according to the user guide). I had the same problem that was fixed in dev/ic/rc.c revision 1.140 for the 8168C chips. Adding RL_HWREV_8168F to the switch() at line 1149 fixed the problem for me. (Actually