diff options
author | netblue30 <netblue30@yahoo.com> | 2016-09-15 08:19:29 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-09-15 08:19:29 -0400 |
commit | cb42fa600df2f0843421620e3597ba71b1117828 (patch) | |
tree | 63a960dc0c310b1adeb1b24032604d944a7a0be9 | |
parent | Merge pull request #776 from manevich/x11 (diff) | |
download | firejail-cb42fa600df2f0843421620e3597ba71b1117828.tar.gz firejail-cb42fa600df2f0843421620e3597ba71b1117828.tar.zst firejail-cb42fa600df2f0843421620e3597ba71b1117828.zip |
fixed /etc/login.def reading on Mageia systems
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | README.md | 12 | ||||
-rw-r--r-- | RELNOTES | 2 | ||||
-rwxr-xr-x | mkuid.sh | 2 |
4 files changed, 17 insertions, 1 deletions
@@ -42,6 +42,8 @@ Aleksey Manevich (https://github.com/manevich) | |||
42 | - fixed several TOCTOU security problems | 42 | - fixed several TOCTOU security problems |
43 | - added --fix option to firecfg utility | 43 | - added --fix option to firecfg utility |
44 | - read_pid fix | 44 | - read_pid fix |
45 | - added --x11=block options | ||
46 | - x11 xpra, xphyr, block profile commands | ||
45 | Fred-Barclay (https://github.com/Fred-Barclay) | 47 | Fred-Barclay (https://github.com/Fred-Barclay) |
46 | - added Vivaldi, Atril profiles | 48 | - added Vivaldi, Atril profiles |
47 | - added PaleMoon profile | 49 | - added PaleMoon profile |
@@ -36,3 +36,15 @@ FAQ: https://firejail.wordpress.com/support/frequently-asked-questions/ | |||
36 | ````` | 36 | ````` |
37 | # Current development version: 0.9.43 | 37 | # Current development version: 0.9.43 |
38 | 38 | ||
39 | ## New command line options | ||
40 | ````` | ||
41 | --x11=block | ||
42 | Blacklist /tmp/.X11-unix directory, ${HOME}/.Xauthority and file | ||
43 | specified in ${XAUTHORITY} enviroment variable. Remove DISPLAY and | ||
44 | XAUTHORITY enviroment variables. Stop with error message if X11 | ||
45 | abstract socket will be accessible in jail. | ||
46 | ````` | ||
47 | |||
48 | ## New profile commands | ||
49 | |||
50 | x11 xpra, x11 xephyr, x11 block \ No newline at end of file | ||
@@ -1,5 +1,7 @@ | |||
1 | firejail (0.9.43) baseline; urgency=low | 1 | firejail (0.9.43) baseline; urgency=low |
2 | * development version | 2 | * development version |
3 | * feature: blocking x11 (--x11=block) | ||
4 | * feature: x11 xpra, x11 xephyr, x11 block profile commands | ||
3 | -- netblue30 <netblue30@yahoo.com> Fri, 9 Sept 2016 08:00:00 -0500 | 5 | -- netblue30 <netblue30@yahoo.com> Fri, 9 Sept 2016 08:00:00 -0500 |
4 | 6 | ||
5 | firejail (0.9.42) baseline; urgency=low | 7 | firejail (0.9.42) baseline; urgency=low |
@@ -4,7 +4,7 @@ echo "extracting UID_MIN and GID_MIN" | |||
4 | echo "#ifndef FIREJAIL_UIDS_H" > uids.h | 4 | echo "#ifndef FIREJAIL_UIDS_H" > uids.h |
5 | echo "#define FIREJAIL_UIDS_H" >> uids.h | 5 | echo "#define FIREJAIL_UIDS_H" >> uids.h |
6 | 6 | ||
7 | if [ -f /etc/login.defs ] | 7 | if [ -r /etc/login.defs ] |
8 | then | 8 | then |
9 | echo "// using values extracted from /etc/login.defs" >> uids.h | 9 | echo "// using values extracted from /etc/login.defs" >> uids.h |
10 | UID_MIN=`awk '/^\s*UID_MIN\s*([0-9]*).*?$/ {print $2}' /etc/login.defs` | 10 | UID_MIN=`awk '/^\s*UID_MIN\s*([0-9]*).*?$/ {print $2}' /etc/login.defs` |