Browse Subversion Repository
Diff of /trunk/1.8.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.perm=0644 |
allow_read /etc/fstab if path1.type=file 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 |
1807 |
@ Relocate definitions and functions. |
@ Relocate definitions and functions. |
1808 |
|
|
1809 |
To reduce exposed symbols, I relocated some definitions and functions. |
To reduce exposed symbols, I relocated some definitions and functions. |
1810 |
|
|
1811 |
|
Fix 2009/01/28 |
1812 |
|
|
1813 |
|
@ Fix "allow_read" + "allow_write" != "allow_read/write" problem. |
1814 |
|
|
1815 |
|
Since 1.6.0 , due to a bug in ccs_update_single_path_acl(), |
1816 |
|
appending "allow_read/write" entry didn't update internal "allow_read" |
1817 |
|
and "allow_write" entries. As a result, attempt to open(O_RDWR) succeeds |
1818 |
|
but open(O_RDONLY) and open(O_WRONLY) fail. |
1819 |
|
|
1820 |
|
Workaround is to write an entry twice when newly appending that entry. |
1821 |
|
If written twice, internal "allow_read" and "allow_write" entries |
1822 |
|
are updated. |
|
Legend:
Removed from v.2037 |
|
changed lines |
|
Added in v.2178 |
|
|
| |