Project

General

Profile

Actions

Bug #7887

closed

W: shlib-with-executable-stack

Added by Dmitry Smirnov about 10 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Lintian produced the following warnings after building Debian packages of ceph-0.78:

W: librados2: shlib-with-executable-stack usr/lib/x86_64-linux-gnu/librados.so.2.0.0
W: libcephfs1: shlib-with-executable-stack usr/lib/x86_64-linux-gnu/libcephfs.so.1.0.0

Here is more detailed explanation of warning:

The listed shared libraries 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.

Severity: normal, Certainty: possible

I don't understand potential implications of this warning but they are quite rare so it would be nice if someone would look into this. More information can be found on the following page:

http://lintian.debian.org/tags/shlib-with-executable-stack.html

Please advise if those warnings should be ignored.

Actions #1

Updated by Sage Weil about 7 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF