Line
Link Here
|
0 |
-- sandbox-2.6.orig/libsandbox/libsandbox.c 2012-07-03 06:38:40.000000000 +0200 |
0 |
++ sandbox-2.6/libsandbox/libsandbox.c 2015-03-26 17:14:41.319661866 +0100 |
Lines 302-307
Link Here
|
302 |
/* errno is set only on failure */ |
302 |
/* errno is set only on failure */ |
303 |
errno = 0; |
303 |
errno = 0; |
304 |
|
304 |
|
|
|
305 |
/* If lstat() fails with EOVERFLOW, the most likely |
306 |
* reason is that we are accessing a directory-inode |
307 |
* with inode number too large to fit into a 32-bit |
308 |
* unsigned integer. Ignore the error in that case. |
309 |
*/ |
310 |
if (errno == EOVERFLOW) |
311 |
errno = 0; |
312 |
|
305 |
if (errno == ENOENT) |
313 |
if (errno == ENOENT) |
306 |
/* If lstat() failed with eerror = ENOENT, then its |
314 |
/* If lstat() failed with eerror = ENOENT, then its |
307 |
* possible that we are running on an older kernel |
315 |
* possible that we are running on an older kernel |