mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #3594] [MERGED] cat option #4825
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#4825
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/3594
Author: @smitsohu
Created: 8/18/2020
Status: ✅ Merged
Merged: 8/22/2020
Merged by: @netblue30
Base:
master← Head:ls📝 Commits (5)
66c398erefactor ls.c and prepare for new --cat option921b0c9drop system(3) calls from sandbox.cf473c95cat optionef9fdc4Merge branch 'master' into ls450ae94harden cat option📊 Changes
6 files changed (+174 additions, -92 deletions)
View changed files
📝
src/firejail/firejail.h(+3 -0)📝
src/firejail/ls.c(+106 -63)📝
src/firejail/main.c(+31 -0)📝
src/firejail/sandbox.c(+14 -26)📝
src/firejail/usage.c(+3 -0)📝
src/man/firejail.txt(+17 -3)📄 Description
Add a
--catoption, similar to--ls, that prints the content of a sandbox file to standard out. Also use the added functionality to replace all remaining system(3) calls.Note that rIght now this is only a poor man's
catthat actually cannot concatenate files but just print a single file.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.