mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #4594] [MERGED] build: allow building with address sanitizer #5200
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#5200
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/netblue30/firejail/pull/4594
Author: @reinerh
Created: 10/6/2021
Status: ✅ Merged
Merged: 10/13/2021
Merged by: @reinerh
Base:
master← Head:asan📝 Commits (1)
6b1c5cebuild: allow building with sanitizer📊 Changes
2 files changed (+63 additions, -0 deletions)
View changed files
📝
configure(+54 -0)📝
configure.ac(+9 -0)📄 Description
This allows building firejail (and other binaries) with address sanitizer (with
--enable-asan).I noticed that some were interested in this in #4592 (ping @rusty-snake @smitsohu).
I didn't rebuild
configure, as I have a different autoconf version installed and it would only blow up the diff. If someone wants to test it, please runautoreconf -vfibefore. (In my humble opinion generated files likeconfigureshould anyway not be part of the repository.)Right now running some of the tools only finds memory leaks. Running firejail itself does not work for me, it fails with this error:
Running with
--noprofileworks, but I didn't figure out yet which setting is the one that breaks it.Also so far I only tested it with gcc. clang might give different results.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.