Subversion リポジトリの参照
Diff of /trunk/1.8.x/ccs-patch/README.ccs
Parent Directory
| Revision Log
| Patch
2273 |
|
|
2274 |
@ Use rcu_read_lock() for find_task_by_pid(). |
@ Use rcu_read_lock() for find_task_by_pid(). |
2275 |
|
|
2276 |
Since kernel 2.6.16 , caller of find_task_by_pid() needs to call |
Since kernel 2.6.18 , caller of find_task_by_pid() needs to call |
2277 |
rcu_read_lock() rather than read_lock(&tasklist_lock) because find_pid() |
rcu_read_lock() rather than read_lock(&tasklist_lock) because find_pid() |
2278 |
uses RCU primitives but spinlock does not prevent RCU callback if |
uses RCU primitives but spinlock does not prevent RCU callback if |
2279 |
preemptive RCU ( CONFIG_PREEMPT_RCU or CONFIG_TREE_PREEMPT_RCU ) is |
preemptive RCU ( CONFIG_PREEMPT_RCU or CONFIG_TREE_PREEMPT_RCU ) is |
2280 |
enabled. |
enabled. |
2281 |
|
|
2282 |
|
Fix 2009/12/15 |
2283 |
|
|
2284 |
|
@ Don't check DAC permission if disabled mode. |
2285 |
|
|
2286 |
|
I was checking DAC permissions regarding directory entry modification |
2287 |
|
operations (e.g. mkdir()) even if mode=disabled . It is a waste of CPU |
2288 |
|
resource to check DAC permissions when MAC permissions are not checked. |
2289 |
|
Thus, I modified to skip DAC permission checks if mode=disabled . |
|
Legend:
Removed from v.3248 |
|
changed lines |
|
Added in v.3256 |
|
|
|