mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #6710] [MERGED] feature: add warn command #6133
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#6133
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/6710
Author: @kmk3
Created: 4/15/2025
Status: ✅ Merged
Merged: 4/21/2025
Merged by: @kmk3
Base:
master← Head:add-warn-command📝 Commits (1)
517b86efeature: add warn command📊 Changes
5 files changed (+16 additions, -1 deletions)
View changed files
📝
contrib/syntax/lists/profile_commands_arg1.list(+1 -0)📝
etc/inc/disable-X11.inc(+1 -1)📝
etc/templates/profile.template(+2 -0)📝
src/firejail/profile.c(+5 -0)📝
src/man/firejail-profile.5.in(+7 -0)📄 Description
And use it in etc/inc/disable-X11.inc.
This allows printing a warning message from inside a profile.
Everything after the command is printed in a warning message as is (that
is, without macro expansion).
Example:
Relates to #6294.
This is a follow-up to #6709.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.