2 * Copyright 2010 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_SEL_QUALIFY_H_
8 #define NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_SEL_QUALIFY_H_
11 * We have several different ways of starting Native Client, but all of them
12 * need to run minimal checks during sel_ldr startup to ensure that the
13 * environment can't subvert our security. This header provides a high-level
14 * interface to the Platform Qualification tests for this very purpose.
17 #include "native_client/src/include/nacl_base.h"
18 #include "native_client/src/trusted/service_runtime/nacl_error_code.h"
23 * Runs the Platform Qualification tests required for safe sel startup. This
24 * may be a subset of the full set of PQ tests: it includes the tests that are
25 * important enough to check at every startup, and tests that check aspects of
26 * the system that may be subject to change.
28 NaClErrorCode NaClRunSelQualificationTests(void);
32 #endif /* NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_SEL_QUALIFY_H_ */