aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2015-09-16 07:33:08 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2015-09-16 07:33:08 -0400
commit1265803f63a2f7e5fcb778dac34efe7436eba8c1 (patch)
tree00390b5812c63d43111de8e7dba3cbabd0fd7712
parentrelease 0.9.30 (diff)
downloadfirejail-1265803f63a2f7e5fcb778dac34efe7436eba8c1.tar.gz
firejail-1265803f63a2f7e5fcb778dac34efe7436eba8c1.tar.zst
firejail-1265803f63a2f7e5fcb778dac34efe7436eba8c1.zip
Default profiles work
-rw-r--r--Makefile.in1
-rw-r--r--RELNOTES9
-rwxr-xr-xconfigure18
-rw-r--r--configure.ac2
-rw-r--r--etc/disable-common.inc20
-rw-r--r--etc/fbreader.profile11
6 files changed, 50 insertions, 11 deletions
diff --git a/Makefile.in b/Makefile.in
index 10b057997..bb00a7911 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -100,6 +100,7 @@ realinstall:
100 install -c -m 0644 etc/quassel.profile $(DESTDIR)/etc/firejail/. 100 install -c -m 0644 etc/quassel.profile $(DESTDIR)/etc/firejail/.
101 install -c -m 0644 etc/deadbeef.profile $(DESTDIR)/etc/firejail/. 101 install -c -m 0644 etc/deadbeef.profile $(DESTDIR)/etc/firejail/.
102 install -c -m 0644 etc/filezilla.profile $(DESTDIR)/etc/firejail/. 102 install -c -m 0644 etc/filezilla.profile $(DESTDIR)/etc/firejail/.
103 install -c -m 0644 etc/fbreader.profile $(DESTDIR)/etc/firejail/.
103 bash -c "if [ ! -f /etc/firejail/login.users ]; then install -c -m 0644 etc/login.users $(DESTDIR)/etc/firejail/.; fi;" 104 bash -c "if [ ! -f /etc/firejail/login.users ]; then install -c -m 0644 etc/login.users $(DESTDIR)/etc/firejail/.; fi;"
104 # man pages 105 # man pages
105 rm -f firejail.1.gz 106 rm -f firejail.1.gz
diff --git a/RELNOTES b/RELNOTES
index 3c7b2dcdf..87497e538 100644
--- a/RELNOTES
+++ b/RELNOTES
@@ -1,4 +1,11 @@
1firejail (0.9.30) baseline; urgency=low 1ffirejail (0.9.31) baseline; urgency=low
2 * disable X11 autostart folders in default profiles
3 * disable subversion and git config files in home directory
4 * added FBReader default profile
5 -- netblue30 <netblue30@yahoo.com> current development
6
7
8irejail (0.9.30) baseline; urgency=low
2 * added a disable-history.inc profile as a result of Firefox PDF.js exploit; 9 * added a disable-history.inc profile as a result of Firefox PDF.js exploit;
3 disable-history.inc included in all default profiles 10 disable-history.inc included in all default profiles
4 * Firefox PDF.js exploit (CVE-2015-4495) fixes 11 * Firefox PDF.js exploit (CVE-2015-4495) fixes
diff --git a/configure b/configure
index 2e95be9d2..56a08d0e7 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for firejail 0.9.30. 3# Generated by GNU Autoconf 2.69 for firejail 0.9.31.
4# 4#
5# Report bugs to <netblue30@yahoo.com>. 5# Report bugs to <netblue30@yahoo.com>.
6# 6#
@@ -580,8 +580,8 @@ MAKEFLAGS=
580# Identity of this package. 580# Identity of this package.
581PACKAGE_NAME='firejail' 581PACKAGE_NAME='firejail'
582PACKAGE_TARNAME='firejail' 582PACKAGE_TARNAME='firejail'
583PACKAGE_VERSION='0.9.30' 583PACKAGE_VERSION='0.9.31'
584PACKAGE_STRING='firejail 0.9.30' 584PACKAGE_STRING='firejail 0.9.31'
585PACKAGE_BUGREPORT='netblue30@yahoo.com' 585PACKAGE_BUGREPORT='netblue30@yahoo.com'
586PACKAGE_URL='http://firejail.sourceforge.net' 586PACKAGE_URL='http://firejail.sourceforge.net'
587 587
@@ -1238,7 +1238,7 @@ if test "$ac_init_help" = "long"; then
1238 # Omit some internal or obsolete options to make the list less imposing. 1238 # Omit some internal or obsolete options to make the list less imposing.
1239 # This message is too long to be a string in the A/UX 3.1 sh. 1239 # This message is too long to be a string in the A/UX 3.1 sh.
1240 cat <<_ACEOF 1240 cat <<_ACEOF
1241\`configure' configures firejail 0.9.30 to adapt to many kinds of systems. 1241\`configure' configures firejail 0.9.31 to adapt to many kinds of systems.
1242 1242
1243Usage: $0 [OPTION]... [VAR=VALUE]... 1243Usage: $0 [OPTION]... [VAR=VALUE]...
1244 1244
@@ -1299,7 +1299,7 @@ fi
1299 1299
1300if test -n "$ac_init_help"; then 1300if test -n "$ac_init_help"; then
1301 case $ac_init_help in 1301 case $ac_init_help in
1302 short | recursive ) echo "Configuration of firejail 0.9.30:";; 1302 short | recursive ) echo "Configuration of firejail 0.9.31:";;
1303 esac 1303 esac
1304 cat <<\_ACEOF 1304 cat <<\_ACEOF
1305 1305
@@ -1389,7 +1389,7 @@ fi
1389test -n "$ac_init_help" && exit $ac_status 1389test -n "$ac_init_help" && exit $ac_status
1390if $ac_init_version; then 1390if $ac_init_version; then
1391 cat <<\_ACEOF 1391 cat <<\_ACEOF
1392firejail configure 0.9.30 1392firejail configure 0.9.31
1393generated by GNU Autoconf 2.69 1393generated by GNU Autoconf 2.69
1394 1394
1395Copyright (C) 2012 Free Software Foundation, Inc. 1395Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1691,7 +1691,7 @@ cat >config.log <<_ACEOF
1691This file contains any messages produced by compilers while 1691This file contains any messages produced by compilers while
1692running configure, to aid debugging if configure makes a mistake. 1692running configure, to aid debugging if configure makes a mistake.
1693 1693
1694It was created by firejail $as_me 0.9.30, which was 1694It was created by firejail $as_me 0.9.31, which was
1695generated by GNU Autoconf 2.69. Invocation command line was 1695generated by GNU Autoconf 2.69. Invocation command line was
1696 1696
1697 $ $0 $@ 1697 $ $0 $@
@@ -4102,7 +4102,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4102# report actual input values of CONFIG_FILES etc. instead of their 4102# report actual input values of CONFIG_FILES etc. instead of their
4103# values after options handling. 4103# values after options handling.
4104ac_log=" 4104ac_log="
4105This file was extended by firejail $as_me 0.9.30, which was 4105This file was extended by firejail $as_me 0.9.31, which was
4106generated by GNU Autoconf 2.69. Invocation command line was 4106generated by GNU Autoconf 2.69. Invocation command line was
4107 4107
4108 CONFIG_FILES = $CONFIG_FILES 4108 CONFIG_FILES = $CONFIG_FILES
@@ -4156,7 +4156,7 @@ _ACEOF
4156cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4156cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4157ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 4157ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4158ac_cs_version="\\ 4158ac_cs_version="\\
4159firejail config.status 0.9.30 4159firejail config.status 0.9.31
4160configured by $0, generated by GNU Autoconf 2.69, 4160configured by $0, generated by GNU Autoconf 2.69,
4161 with options \\"\$ac_cs_config\\" 4161 with options \\"\$ac_cs_config\\"
4162 4162
diff --git a/configure.ac b/configure.ac
index ff11d95b6..0ccba0a13 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
1AC_PREREQ([2.68]) 1AC_PREREQ([2.68])
2AC_INIT(firejail, 0.9.30, netblue30@yahoo.com, , http://firejail.sourceforge.net) 2AC_INIT(firejail, 0.9.31, netblue30@yahoo.com, , http://firejail.sourceforge.net)
3AC_CONFIG_SRCDIR([src/firejail/main.c]) 3AC_CONFIG_SRCDIR([src/firejail/main.c])
4#AC_CONFIG_HEADERS([config.h]) 4#AC_CONFIG_HEADERS([config.h])
5 5
diff --git a/etc/disable-common.inc b/etc/disable-common.inc
index f4aea1b6a..984bbe628 100644
--- a/etc/disable-common.inc
+++ b/etc/disable-common.inc
@@ -20,3 +20,23 @@ blacklist ${HOME}/.remmina
20 20
21# Other 21# Other
22blacklist ${HOME}/.tconn 22blacklist ${HOME}/.tconn
23blacklist ${HOME}/.FBReader
24
25# X11 session autostart
26blacklist ${HOME}/.xinitrc
27blacklist ${HOME}/.xprofile
28blacklist ${HOME}/.config/autostart
29blacklist /etc/xdg/autostart
30blacklist ${HOME}/.kde4/Autostart
31blacklist ${HOME}/.kde/Autostart
32blacklist ${HOME}/.config/plasma-workspace/shutdown
33blacklist ${HOME}/.config/plasma-workspace/env
34blacklist ${HOME}/.config/lxsession/LXDE/autostart
35blacklist ${HOME}/.fluxbox/startup
36blacklist ${HOME}/.config/openbox/autostart
37blacklist ${HOME}/.config/openbox/environment
38
39# git, subversion
40blacklist ${HOME}/.subversion
41blacklist ${HOME}/.gitconfig
42blacklist ${HOME}/.git-credential-cache
diff --git a/etc/fbreader.profile b/etc/fbreader.profile
new file mode 100644
index 000000000..97baa2a3e
--- /dev/null
+++ b/etc/fbreader.profile
@@ -0,0 +1,11 @@
1# fbreader profile
2noblacklist ${HOME}/.FBReader
3include /etc/firejail/disable-mgmt.inc
4include /etc/firejail/disable-secret.inc
5include /etc/firejail/disable-common.inc
6include /etc/firejail/disable-history.inc
7caps.drop all
8seccomp
9netfilter
10noroot
11