Chris Quenelle writes:
> The ELF symbols are different for global vs static symbols.

Yep.

>  If you have a
> list of known tunables, you should be able to audit this automatically by
> having the build scan the symbols after you compile.

Sadly, no.  Most things designed for use in /etc/system are ad-hoc.
There's certainly no general list.  (Outside of the 'ip' module, where
we do some build time auditing for a different reason.)

It's just a bit of arcana that designers and code reviewers sometimes
need to know about, like the difference between .data and .bss.  :-/

-- 
James Carlson, Solaris Networking              <james.d.carlson at sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

Reply via email to