Lintian ReportsBETA

Wexecutable-stack-in-shared-library

Tag versions

The tag is present in Lintian version 2.109.6. That is the most recent version we know about.

The listed shared library declares the stack as executable.

Executable stack is usually an error as it is only needed if the code contains GCC trampolines or similar constructs which uses code on the stack. One possible source for false positives are object files built from assembler files which don't define a proper .note.GNU-stack section.

To see the permissions on the stack, run readelf -l on the shared library and look for the program header of type GNU_STACK. In the flag column, there should not be an E flag set.

Visibility: warning

Check: libraries/shared/stack

Renamed from:

The following 18 source packages in the archive triggered the tag 1155 times.

We found 10 overrides. The tag performed 99% of the time.