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

Subversion リポジトリの参照

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

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

revision 1705 by kumaneko, Wed Oct 15 04:18:19 2008 UTC revision 1764 by kumaneko, Wed Oct 29 12:10:18 2008 UTC
# Line 1651  Fix 2008/10/07 Line 1651  Fix 2008/10/07
1651        As the number of parameters is increasing, I modified to use a structure        As the number of parameters is increasing, I modified to use a structure
1652        for passing parameters.        for passing parameters.
1653    
     @ Always allow updating task state for signal operations.  
   
       ccs_check_signal_acl() was skipping permission checks if signal is 0  
       or sent to self or sent to same domain. To make it possible to update  
       task state when current process is sending 0 signal or to self or  
       to same domain, I modified to check ACL anyway. The result of access  
       control will not change, but this modification will generate granted logs  
       which were not generated until now.  
   
1654  Fix 2008/10/11  Fix 2008/10/11
1655    
1656      @ Remove domain_acl_lock mutex.      @ Remove domain_acl_lock mutex.
# Line 1689  Fix 2008/10/15 Line 1680  Fix 2008/10/15
1680        which returns process information of the specified PID in        which returns process information of the specified PID in
1681        "PID manager=\* execute_handler=\* state[0]=\$ state[1]=\$ state[2]=\$"        "PID manager=\* execute_handler=\* state[0]=\$ state[1]=\$ state[2]=\$"
1682        format.        format.
1683    
1684    Fix 2008/10/20
1685    
1686        @ Use rcu_dereference() when walking the list.
1687    
1688          I was using "dependency ordering" for appending an element to a list
1689          without asking the reader to take a lock. But "dependency ordering"
1690          is not respected by DEC Alpha or by some aggressive value-speculation
1691          compiler optimizations.
1692    
1693          On such environment, use of "dependency ordering" can lead to system
1694          crash because the reader might read uninitialized value of newly
1695          appended element.
1696    
1697          To prevent the reader from reading uninitialized value of newly appended
1698          element, I inserted rcu_dereference() when walking the list.

Legend:
Removed from v.1705  
changed lines
  Added in v.1764

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