Date: Tue, 25 Mar 2014 16:57:28 -0600 From: Warner Losh <imp@bsdimp.com> To: lev@FreeBSD.org Cc: freebsd-current@freebsd.org Subject: Re: is it Ok to strip kernel & modules? Message-ID: <D0B25583-5003-4B7B-8AC7-F042C4EDC92B@gmail.com> In-Reply-To: <8406480.20140326021403@serebryakov.spb.ru> References: <8406480.20140326021403@serebryakov.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mar 25, 2014, at 4:14 PM, Lev Serebryakov <lev@FreeBSD.org> wrote: > Hello, Freebsd-current. >=20 > Why our kernel, even built without DEBUG, is not stripped? It could = sabe > 1.5Mb out of 8Mb for "router-like" (network, wifi, some netgraph, UFS, = NFS and > USB) kernel... >=20 > But maybe, here are some reasons not to strip it? If you strip the kernel, then you won=92t be able to use anything that = opens up kernel memory to read answers out of it. I think this is all wrapped in = ksyms, so you could grep for it. Be thankful that ifconfig no longer is on this = list :) Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D0B25583-5003-4B7B-8AC7-F042C4EDC92B>