Changeset 13807
- Timestamp:
- 11/04/08 21:55:40 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/libs/xpcom18a4/ipc/ipcd/daemon/src/ipcdUnix.cpp
r13788 r13807 113 113 memcpy(lockFile + dirLen + 1, lockName, sizeof(lockName)); 114 114 115 #if 0116 115 #ifdef VBOX 117 116 // 118 // Security checks 117 // Security checks for the directory 119 118 // 120 119 struct stat st; … … 137 136 } 138 137 #endif 139 #endif140 138 141 139 // … … 144 142 ipcLockFD = open(lockFile, O_WRONLY|O_CREAT, S_IWUSR|S_IRUSR); 145 143 146 #if 0147 144 #ifndef VBOX 148 145 free(lockFile); 149 146 #endif 150 #endif151 147 152 148 if (ipcLockFD == -1) 153 149 return ELockFileOpen; 154 150 155 #if 0156 151 #ifdef VBOX 157 152 // 158 // Security checks 153 // Security checks for the lock file 159 154 // 160 155 if (fstat(ipcLockFD, &st) == -1) … … 180 175 181 176 free(lockFile); 182 #endif183 177 #endif 184 178

