blob: 07e61df935dd6c49d9aa23e52fce23b69c6d32c1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
arg checking:
1. --output=filename
- not supported in profiles
- checking no "..",
- checking no link,
- checking no dir,
- checking same permissions,
- checking no hard links
- unit test
2. --chroot=dirname
- not supported in profiles
- expand "~"
- checking no "..",
- checking is dir,
- checking no link
- checking directory structure
- unit test
3. --bind=dirname1,dirname2, --bind=filename1,filenam2
- supported in profiles
- accepted only when running as root
- checking string chars
- checking no ".."
- unit test non root
4. --tmpfs=dirname
- supported in profiles
- checking string chars
- checking no ".."
- unit test
5. --blacklist=filename, --blacklist=dirname
- supported in profiles
- checking string chars
- checking no ".."
- unit test
6. --read-only=filename, --read-only=dirname
- supported in profiles
- checking string chars
- checking no ".."
- unit test
7. --profile=filename
- check access as real GID/UID
- checking no dir
- checking no link
- checking no ".."
- unit test
8. --private=dirname
- supported in profiles
- expand "~"
- check is dir
- check no link
- checking no ".."
- check same owner
- unit test
9. --private-home=filelist
- supported in profiles
- checking no ".."
- checking file found
- checking same owner
- checking no link
- unit test
10. --netfilter=filename
- supported in profiles
- check access as real GID/UID
- checking no dir
- checking no link
- checking no ".."
- unit test
11. --shell=filename
- not supported in profiles
- check access as real GID/UID
- checking no dir
- checking no link
- checking no ".."
- unit test
|