Re: is it Ok to strip kernel & modules?

From: Warner Losh <imp_at_bsdimp.com>
Date: Tue, 25 Mar 2014 16:57:28 -0600
On Mar 25, 2014, at 4:14 PM, Lev Serebryakov <lev_at_FreeBSD.org> wrote:

> Hello, Freebsd-current.
> 
> 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...
> 
> But maybe, here are some reasons not to strip it?

If you strip the kernel, then you won’t 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
Received on Tue Mar 25 2014 - 21:57:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:47 UTC