bionic_prctl.h revision 4bea4c631f747cc6b570ecd42c744a9b1103bf28
1/*
2 * Copyright (C) 2014 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef BIONIC_PRCTL_H
18#define BIONIC_PRCTL_H
19
20#include <sys/prctl.h>
21
22// This is only supported by Android kernels, so it's not in the uapi headers.
23#define PR_SET_VMA   0x53564d41
24#define PR_SET_VMA_ANON_NAME    0
25
26#endif // BIONIC_PRCTL_H
27