2 * Copyright 2014 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.
10 #include "native_client/src/include/nacl_assert.h"
11 #include "native_client/src/public/linux_syscalls/sys/prctl.h"
13 int main(int argc, char *argv[]) {
15 int rc = prctl(PR_GET_NAME, (uintptr_t) buf, 0, 0, 0);