| OLD | NEW |
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 */ | 4 |
| 5 #include "nacl_io/kernel_proxy.h" | 5 #include "nacl_io/kernel_proxy.h" |
| 6 | 6 |
| 7 #include <assert.h> | 7 #include <assert.h> |
| 8 #include <errno.h> | 8 #include <errno.h> |
| 9 #include <fcntl.h> | 9 #include <fcntl.h> |
| 10 #include <pthread.h> | 10 #include <pthread.h> |
| 11 #include <string.h> | 11 #include <string.h> |
| 12 #include <iterator> | 12 #include <iterator> |
| 13 #include <string> | 13 #include <string> |
| 14 | 14 |
| (...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 635 // this is never executed from free() -- we can be reasonably sure this is | 635 // this is never executed from free() -- we can be reasonably sure this is |
| 636 // true, because malloc only makes anonymous mmap() requests, and should only | 636 // true, because malloc only makes anonymous mmap() requests, and should only |
| 637 // be munmapping those allocations. We never add to mmap_info_list_ for | 637 // be munmapping those allocations. We never add to mmap_info_list_ for |
| 638 // anonymous maps, so the unmap_list should always be empty when called from | 638 // anonymous maps, so the unmap_list should always be empty when called from |
| 639 // free(). | 639 // free(). |
| 640 return 0; | 640 return 0; |
| 641 } | 641 } |
| 642 | 642 |
| 643 } // namespace nacl_io | 643 } // namespace nacl_io |
| 644 | 644 |
| OLD | NEW |