Browse Subversion Repository
Diff of /trunk/1.7.x/ccs-patch/README.ccs
Parent Directory
| Revision Log
| Patch
1753 |
new conditions for checking file's type and permissions. |
new conditions for checking file's type and permissions. |
1754 |
For example, |
For example, |
1755 |
|
|
1756 |
allow_read /etc/fstab if path1.type=regular path1.mode=0644 |
allow_read /etc/fstab if path1.type=regular path1.perm=0644 |
1757 |
|
|
1758 |
will allow opening /etc/fstab for reading only if /etc/fstab is a regular |
will allow opening /etc/fstab for reading only if /etc/fstab is a regular |
1759 |
file and it's permission is 0644, and |
file and it's permission is 0644, and |
1760 |
|
|
1761 |
allow_write /dev/null if path1/type=char path1.major=1 path1.minor=3 |
allow_write /dev/null if path1.type=char path1.major=1 path1.minor=3 |
1762 |
|
|
1763 |
will allow opening /dev/null for writing only if /dev/null is a character |
will allow opening /dev/null for writing only if /dev/null is a character |
1764 |
device file with major=1 and minor=3 attributes. |
device file with major=1 and minor=3 attributes. |
|
Legend:
Removed from v.1903 |
|
changed lines |
|
Added in v.1927 |
|
|
|