Date: Fri, 13 Sep 2019 23:17:21 +1000 From: Dewayne Geraghty <dewaynegeraghty@gmail.com> To: Konstantin Belousov <kostikbel@gmail.com> Cc: Ian Lepore <ian@freebsd.org>, freebsd-stable stable <freebsd-stable@freebsd.org> Subject: Re: ntpd doesn't like ASLR on stable/12 post-r350672 Message-ID: <CAGnMC6qT0MG5FUqwbSnYMGWAbfPDa59Xm_yAi0PpGftTzBAqHg@mail.gmail.com> In-Reply-To: <20190910174841.GC2559@kib.kiev.ua> References: <alpine.BSF.2.21.99999.352.1908242135380.6386@enterprise.ximalas.info> <20190824204114.GG71821@kib.kiev.ua> <alpine.BSF.2.21.99999.352.1908250012580.6386@enterprise.ximalas.info> <20190824222817.GJ71821@kib.kiev.ua> <alpine.BSF.2.21.99999.352.1908250038010.6386@enterprise.ximalas.info> <20190825120342.GN71821@kib.kiev.ua> <2a0ad34a5c57489732296e43d50b42b5f3923f96.camel@freebsd.org> <20190910174841.GC2559@kib.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGnMC6qT0MG5FUqwbSnYMGWAbfPDa59Xm_yAi0PpGftTzBAqHg>