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



In article <Pine.NEB.4.64.1003191011240.7922%quicky.whooppee.com@localhost>,
Paul Goyette  <paul%whooppee.com@localhost> wrote:
>On Fri, 19 Mar 2010, Matthias Drochner wrote:
>
>>
>> paul%whooppee.com@localhost said:
>>> I can confirm that smbd and nmbd fail to start on my -current 5.99.24
>>> amd64 system built from sources that were cvs update'd on 2010-03-07
>>> at  02:41:07.
>>
>> Is this a kernel with "options PAX_ASLR"? If yes, can you try
>> one without that option?
>
>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;


christos



Home | Main Index | Thread Index | Old Index