prctl_numbers.h 439 B

1234567891011121314151617
  1. /*
  2. * Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #define PR_SET_DUMPABLE 1
  8. #define PR_GET_DUMPABLE 2
  9. #define PR_SET_NO_NEW_SYSCALL_REGION_ANNOTATIONS 3
  10. #define PR_GET_NO_NEW_SYSCALL_REGION_ANNOTATIONS 4
  11. #define PR_SET_COREDUMP_METADATA_VALUE 5
  12. #define PR_SET_PROCESS_NAME 6
  13. #define PR_GET_PROCESS_NAME 7
  14. #define PR_SET_THREAD_NAME 8
  15. #define PR_GET_THREAD_NAME 9