← Back to issue list

Linting about execstack in libraries

View original Github issue

Metadata

Project
snapcraft
Number
#5842
Type
issue
State
open
Author
soumyaDghosh
Labels
Created
Updated
Closed

Current evaluation

Feature request to add execstack linting for libraries in snapcraft linters, so store upload blockers are caught before submission. Unlabelled, no maintainer response, 313 days old with zero comments.

Suggested action: needs triage

Reason: No labels, no comments, no assignee, and no maintainer interaction in 313 days. The linter infrastructure is actively developed (recent commits to snapcraft/linters/), and the elf module already detects execstack via ElfFile.execstack_set (snapcraft/elf/_elf_file.py:203,274), so the underlying capability exists but no linter category uses it. Needs a maintainer to decide whether to scope this as a new linter or an extension of the library linter.

Impact: 35 Quick Win: 21.0 Staleness: 65 Complexity: 40 Confidence: 78 Support Request: 10

Issue body

### What needs to get done While creating a snap, snapcraft linters doesn't complain about execstacks in libraries. But whenever we upload this in the store, these lint issues block the upload. It'd be great for snapcraft to be able to lint about these libraries with execstack. ### Why it needs to get done This would simply the upload process for snaps, where all the possible problems can be caught even before the snap hits the store/review-tools.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 35
Quick Win: 21.0
Staleness: 65
Complexity: 40
Confidence: 78
Support Request: 10
needs triage Feature request to add execstack linting for libraries in snapcraft linters, so store upload blockers are caught before submission. Unlabelled, no maintainer response, 313 days old with zero comments.
qwen/qwen3.6-35b-a3b
Staleness: 80
Complexity: 25
Confidence: 75
Support Request: 10
needs triage Feature request to add execstack linting for libraries in snapcraft to catch store upload blockers early. Currently unlabelled and inactive for 9 months.
qwen3.6-35b-a3b-mtp-q6
Staleness: 80
Complexity: 25
Confidence: 85
Support Request: 5
needs triage Feature request to add execstack library checks to snapcraft linters to prevent store upload blocks. Currently unlabelled and inactive for 258 days with no maintainer response.
qwen3.6-35b-a3b-mtp-q6
Staleness: 75
Complexity: 30
Confidence: 60
Support Request: 20
needs triage Add snapcraft linting for execstack in libraries. Store uploads block these libraries, but local linting misses them. Open, unassigned, zero comments, inactive for 237 days. Needs triage and implementation.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#1945 (confidence 85%)

    elf: clear execstack by default — established the execstack detection infrastructure in the elf module that a linter could reuse

  • Related To: snapcraft#3872 (confidence 70%)

    linters: add missing library linter — the library linter this feature would likely extend

Related issues

No related issues found above the similarity threshold.