diff options
Diffstat (limited to 'test/chroot')
-rwxr-xr-x | test/chroot/chroot.sh | 2 | ||||
-rwxr-xr-x | test/chroot/configure | 3 | ||||
-rwxr-xr-x | test/chroot/fs_chroot.exp | 3 | ||||
-rwxr-xr-x | test/chroot/unchroot-as-root.exp | 3 | ||||
-rw-r--r-- | test/chroot/unchroot.c | 4 |
5 files changed, 14 insertions, 1 deletions
diff --git a/test/chroot/chroot.sh b/test/chroot/chroot.sh index ecadb899a..7f65b2188 100755 --- a/test/chroot/chroot.sh +++ b/test/chroot/chroot.sh | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | # This file is part of Firejail project | 2 | # This file is part of Firejail project |
3 | # Copyright (C) 2014-2019 Firejail Authors | 3 | # Copyright (C) 2014-2020 Firejail Authors |
4 | # License GPL v2 | 4 | # License GPL v2 |
5 | 5 | ||
6 | export MALLOC_CHECK_=3 | 6 | export MALLOC_CHECK_=3 |
diff --git a/test/chroot/configure b/test/chroot/configure index 26a516931..465092abb 100755 --- a/test/chroot/configure +++ b/test/chroot/configure | |||
@@ -1,4 +1,7 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | # This file is part of Firejail project | ||
3 | # Copyright (C) 2014-2020 Firejail Authors | ||
4 | # License GPL v2 | ||
2 | 5 | ||
3 | # build a very small chroot | 6 | # build a very small chroot |
4 | ROOTDIR="/tmp/chroot" # default chroot directory | 7 | ROOTDIR="/tmp/chroot" # default chroot directory |
diff --git a/test/chroot/fs_chroot.exp b/test/chroot/fs_chroot.exp index a071027e5..1db8269b9 100755 --- a/test/chroot/fs_chroot.exp +++ b/test/chroot/fs_chroot.exp | |||
@@ -1,4 +1,7 @@ | |||
1 | #!/usr/bin/expect -f | 1 | #!/usr/bin/expect -f |
2 | # This file is part of Firejail project | ||
3 | # Copyright (C) 2014-2020 Firejail Authors | ||
4 | # License GPL v2 | ||
2 | 5 | ||
3 | set timeout 10 | 6 | set timeout 10 |
4 | spawn $env(SHELL) | 7 | spawn $env(SHELL) |
diff --git a/test/chroot/unchroot-as-root.exp b/test/chroot/unchroot-as-root.exp index e4bedd539..844bd7450 100755 --- a/test/chroot/unchroot-as-root.exp +++ b/test/chroot/unchroot-as-root.exp | |||
@@ -1,4 +1,7 @@ | |||
1 | #!/usr/bin/expect -f | 1 | #!/usr/bin/expect -f |
2 | # This file is part of Firejail project | ||
3 | # Copyright (C) 2014-2020 Firejail Authors | ||
4 | # License GPL v2 | ||
2 | 5 | ||
3 | set timeout 10 | 6 | set timeout 10 |
4 | spawn $env(SHELL) | 7 | spawn $env(SHELL) |
diff --git a/test/chroot/unchroot.c b/test/chroot/unchroot.c index 4919637d6..4454dd1c4 100644 --- a/test/chroot/unchroot.c +++ b/test/chroot/unchroot.c | |||
@@ -1,3 +1,7 @@ | |||
1 | // This file is part of Firejail project | ||
2 | // Copyright (C) 2014-2020 Firejail Authors | ||
3 | // License GPL v2 | ||
4 | |||
1 | // simple unchroot example from http://linux-vserver.org/Secure_chroot_Barrier | 5 | // simple unchroot example from http://linux-vserver.org/Secure_chroot_Barrier |
2 | #include <unistd.h> | 6 | #include <unistd.h> |
3 | #include <stdlib.h> | 7 | #include <stdlib.h> |