1/* Copyright (c) 2013 The Chromium Authors. All rights reserved. 2 * Use of this source code is governed by a BSD-style license that can be 3 * found in the LICENSE file. */ 4 5#include "nacl_io/kernel_intercept.h" 6#include "nacl_io/kernel_wrap.h" 7 8#if defined(__GLIBC__) && defined(__native_client__) 9// Glibc's remove(3) and unlink(2) entry points are not yet hooked up 10// to the lower level IRT interfaces. Therefore the only way to intercept 11// these calls is to override them here. 12// TODO(sbc): remove this once glibc plumbing is in place for remove/unlink 13 14int remove(const char* path) { 15 return ki_remove(path); 16} 17#endif 18