Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Samba stopped working on yesterday's -current



On Fri, 19 Mar 2010, Christos Zoulas wrote:

The kernel config includes the following:

{112} config -x | grep PAX
###> options    PAX_MPROTECT=0          # PaX mprotect(2) restrictions
###> options    PAX_ASLR=0              # PaX Address Space Layout Randomization
{113}

Is PAX_ASLR=0 different from omitting it entirely?

Yes, it is, and it will make a difference. Try changing this line:

            ilog2(pax_align), PAX_ASLR_DELTA_EXEC_LEN), pax_align);
to:
            ilog2(pax_align), PAX_ASLR_DELTA_EXEC_LEN), pax_align) + PAGE_SIZE;

1. Where would that line be found?

2. If, in accordance with a subsequent Email in this thread, I update
   my sources, do I still need to make the above change?

3. If I update sources, do I need to remove the PAX_* lines from my
   config?


-------------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:      |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul at whooppee.com   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index