/sbin/nologin not OK

goodoldmarty at gmail.com goodoldmarty at gmail.com
Sat Dec 29 09:19:08 PST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> So it's not linked to anything??? (but does contain textrel)
> compiling with: gcc -nostdlib -fno-stack-protector -fno-pic -fno-pie
> -nopie src/nologin.S -o src/nologin removes the textrel (actualy readelf
> tells me there is no dynamic section in the file) and the resulting bin
> does work.

does this mean using "gcc -nostdlib" caused the compiler to ignore the hardwired
specs, instead of appending them? What actually happened here?

Marty B.

- --
Putting Microsoft in a computer is like putting screen doors in a submarine.
Hopeless.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFHdoGModd/GHZYnVQRAnAZAJsE/VJ26iWBD3LYfJDalEUxICx61QCgzDP1
8rpXeOCEvB393+Al2d/zxU8=
=vJfR
-----END PGP SIGNATURE-----



More information about the hlfs-dev mailing list