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

Subversion リポジトリの参照

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

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

revision 898 by kumaneko, Tue Jan 15 04:44:35 2008 UTC revision 924 by kumaneko, Thu Jan 24 03:18:27 2008 UTC
# Line 1135  Fix 2008/01/15 Line 1135  Fix 2008/01/15
1135        To prevent attackers from controlling important processes using        To prevent attackers from controlling important processes using
1136        ptrace(), I added a hook for ptrace().        ptrace(), I added a hook for ptrace().
1137        Most programs (except strace(1) and gdb(1)) won't use ptrace(2).        Most programs (except strace(1) and gdb(1)) won't use ptrace(2).
1138    
1139        @ Fix sleep condition check in CheckSocketRecvDatagramPermission().
1140    
1141          It seems that correct method to use is in_atomic()
1142          rather than in_interrupt() because in_atomic() returns nonzero
1143          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.898  
changed lines
  Added in v.924

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