-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
This script is used to install the official binary package of Tencent QQ, | ||
the famous malware (and instant messaging software in Chinese). | ||
|
||
There is firejail's qq.profile for you to use it safely (thus QQ cannot spy your filesystem). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# Firejail profile for Tencent QQ. | ||
# Persistent local customizations | ||
include qq.local | ||
# This profile is based (forked) on: | ||
# include default.profile | ||
|
||
# generic gui profile | ||
# depending on your usage, you can enable some of the commands below: | ||
|
||
blacklist /opt | ||
read-only /etc | ||
|
||
include disable-common.inc | ||
include disable-devel.inc | ||
include disable-exec.inc | ||
include disable-interpreters.inc | ||
include disable-passwdmgr.inc | ||
include disable-programs.inc | ||
include disable-write-mnt.inc | ||
include disable-xdg.inc | ||
|
||
# include whitelist-common.inc | ||
# include whitelist-usr-share-common.inc | ||
include whitelist-runuser-common.inc | ||
# include whitelist-var-common.inc | ||
|
||
# apparmor | ||
caps.drop all | ||
# ipc-namespace | ||
machine-id | ||
# net none | ||
netfilter | ||
no3d | ||
nodvd | ||
nogroups | ||
nonewprivs | ||
noroot | ||
nosound | ||
notv | ||
nou2f | ||
novideo | ||
protocol unix,inet,inet6 | ||
seccomp | ||
shell none | ||
# tracelog | ||
|
||
disable-mnt | ||
private | ||
# private-bin program | ||
# private-cache | ||
# private-dev | ||
# see /usr/share/doc/firejail/profile.template for more common private-etc paths. | ||
# private-etc alternatives,fonts,machine-id | ||
# private-lib | ||
# private-opt none | ||
# private-tmp | ||
|
||
dbus-user filter | ||
dbus-user.talk org.freedesktop.portal.Fcitx | ||
#dbus-user none | ||
dbus-system none | ||
|
||
memory-deny-write-execute | ||
#read-only ${HOME} | ||
|