Browse Subversion Repository
Diff of /trunk/1.6.x/ccs-patch/README.ccs
Parent Directory
| Revision Log
| Patch
1141 |
It seems that correct method to use is in_atomic() |
It seems that correct method to use is in_atomic() |
1142 |
rather than in_interrupt() because in_atomic() returns nonzero |
rather than in_interrupt() because in_atomic() returns nonzero |
1143 |
whenever scheduling is not allowed. |
whenever scheduling is not allowed. |
1144 |
|
|
1145 |
|
Fix 2008/01/24 |
1146 |
|
|
1147 |
|
@ Support /proc/ccs/ access by non-root user. |
1148 |
|
|
1149 |
|
Until now, only root user can access /proc/ccs/ interface. |
1150 |
|
But to permit /proc/ccs/ access by non-root user so that |
1151 |
|
it won't require ssh login by root user when administrating |
1152 |
|
from remote host, I eased restrictions on this interface. |
1153 |
|
|
1154 |
|
(current->uid == 0 && current->euid == 0) || |
1155 |
|
(current->uid != 0 && current->uid == inode->i_uid) || |
1156 |
|
(current->gid != 0 && current->gid == inode->i_gid) |
1157 |
|
|
1158 |
|
The inode's uid and gid are set using chown/chgrp commands. |
|
Legend:
Removed from v.899 |
|
changed lines |
|
Added in v.924 |
|
|
|