ntpd doesn't like ASLR on stable/12 post-r350672
Dewayne Geraghty
dewaynegeraghty at gmail.com
Fri Sep 13 13:17:52 UTC 2019
The data and stack sizes are interesting when comparing ntpd 4.2.7p411 (9.2
from 2014) vs 4.2.8p12 (on 12.1Pre)
# sh -c 'ntpd --version ; procstat -l $(pgrep ntpd)|grep -E
"data|stack|lock"'
ntpd 4.2.7p411 at 1.2483-o Sun Mar 9 01:25:57 UTC 2014 (1)
34798 ntpd datasize 524288 kB 524288 kB
34798 ntpd stacksize 65536 kB 65536 kB
34798 ntpd memorylocked 32768 kB 32768 kB
ntpd 4.2.8p12-a (1)
46470 ntpd datasize 32768 MB 32768 MB
46470 ntpd stacksize 204800 B 524288 KB
46470 ntpd memorylocked 32768 KB 32768 KB
/usr/local/bin/ntpd only runs with a stack_gap=0 per
kern.elf64.aslr.stack_gap=0
kern.elf64.aslr.honor_sbrk=1
kern.elf64.aslr.pie_enable=1
kern.elf64.aslr.enable=1
kern.elf64.nxstack=1
(incidentally ntpd running with uid ntpd)
More information about the freebsd-stable
mailing list