diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2023-11-01 09:56:06 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2023-11-07 10:27:20 -0300 |
commit | ed318beab986c6f6ccf2507d4753dfea6a7b1f8d (patch) | |
tree | d1c3f457ad6da1347b82826034e03842961dde23 /support/support.h | |
parent | 78ed8bdf4f13e7f5d8eef77c12fbb030fdbdafe0 (diff) | |
download | glibc-ed318beab986c6f6ccf2507d4753dfea6a7b1f8d.zip glibc-ed318beab986c6f6ccf2507d4753dfea6a7b1f8d.tar.gz glibc-ed318beab986c6f6ccf2507d4753dfea6a7b1f8d.tar.bz2 |
support: Add support_set_vma_name
Check if kernel supports prctl (PR_SET_VMA, PR_SET_VMA_ANON_NAME, ...).
Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'support/support.h')
-rw-r--r-- | support/support.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/support/support.h b/support/support.h index b7f76bf..4a068d3 100644 --- a/support/support.h +++ b/support/support.h @@ -235,6 +235,10 @@ void support_stack_free (struct support_stack *stack); The returned value is the lowest file descriptor number. */ int support_open_dev_null_range (int num, int flags, mode_t mode); + +/* Check if kernel supports set VMA range name. */ +extern bool support_set_vma_name_supported (void); + __END_DECLS #endif /* SUPPORT_H */ |