オープンソース・ソフトウェアの開発とダウンロード

Subversion リポジトリの参照

Diff of /trunk/1.7.x/ccs-patch/README.ccs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1928 by kumaneko, Tue Dec 9 08:56:18 2008 UTC revision 2079 by kumaneko, Wed Jan 28 05:22:11 2009 UTC
# Line 1758  Fix 2008/12/01 Line 1758  Fix 2008/12/01
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.dev_major=1 path1.dev_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.
# Line 1784  Fix 2008/12/09 Line 1784  Fix 2008/12/09
1784        MAX_REJECT_LOG were not working.        MAX_REJECT_LOG were not working.
1785    
1786        This bug will trigger OOM killer if /usr/sbin/ccs-auditd is not working.        This bug will trigger OOM killer if /usr/sbin/ccs-auditd is not working.
1787    
1788    Fix 2008/12/24
1789    
1790        @ Add "ccs_" prefix.
1791    
1792          To be able to tell whether a symbol is TOMOYO Linux related or not,
1793          I added "ccs_" prefix as much as possible.
1794    
1795        @ Fix ccs_check_flags() error message.
1796    
1797          I meant to print SYAORAN-ERROR: message when error == -EPERM,
1798          but I was printing it when error == 0 since 1.6.0 .
1799    
1800    Fix 2009/01/05
1801    
1802        @ Use kmap_atomic()/kunmap_atomic() for reading "struct linux_binprm".
1803    
1804          As remove_arg_zero() uses kmap_atomic(KM_USER0), I modified to use
1805          kmap_atomic(KM_USER0) rather than kmap().
1806    
1807        @ Relocate definitions and functions.
1808    
1809          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.1928  
changed lines
  Added in v.2079

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26