NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Security and PAX



On Jun 15,  9:15am, rhino64%epost.ch@localhost (rhino64%epost.ch@localhost) wrote:
-- Subject: Re: Security and PAX

| I will send you this info soon. Should I recompile Userland programs and libs 
| with the parameter "-fpic".  If I remember well, it was the library 
| "libtermcap" (from userland) which cannot be linked and the error 
| message suggested to compile it with "-fpic".

Ah, for this link all the archive libraries into the binary you need to create
libfoo_pic.a for each one of them like you have for libc... It is not hard
to do, but we don't do it by default because people don't need it and it
takes more time and space.

| With dynamically linked programs, the behaviour can change if the dynamic libraries
| have evolved (even if they try to stay more or less compatible). 
| Since generally, old dynamic libraries are not kept when
| the system evolves (except on Windows where the DLL are a true nightmare)
| statically linked program have always the same behaviour.

You can always get release shared libraries for all the versions of NetBSD.
Sometimes you need to, because (for example) the object format changes.

christos



Home | Main Index | Thread Index | Old Index