1abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes/****************************************************************************
2abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes ****************************************************************************
3abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes ***
4abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes ***   This header was automatically generated from a Linux kernel header
5abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes ***   of the same name, to make information necessary for userspace to
6abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes ***   call into the kernel available to libc.  It contains only constants,
7abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes ***   structures, and macros generated from the original header, and thus,
8abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes ***   contains no copyrightable information.
9abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes ***
10abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes ***   To edit the content of this header, modify the corresponding
11abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes ***   source file (e.g. under external/kernel-headers/original/) then
12abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes ***   run bionic/libc/kernel/tools/update_all.py
13abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes ***
14abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes ***   Any manual change here will be lost the next time this script will
15abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes ***   be run. You've been warned!
16abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes ***
17abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes ****************************************************************************
18abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes ****************************************************************************/
19abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes#ifndef _ASM_SHMBUF_H
20abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes#define _ASM_SHMBUF_H
21abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughesstruct shmid64_ds {
22d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  struct ipc64_perm shm_perm;
23abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  size_t shm_segsz;
25d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  __kernel_time_t shm_atime;
26d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  __kernel_time_t shm_dtime;
27d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  __kernel_time_t shm_ctime;
28abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  __kernel_pid_t shm_cpid;
30d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  __kernel_pid_t shm_lpid;
31d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  unsigned long shm_nattch;
32d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  unsigned long __unused1;
33abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  unsigned long __unused2;
35abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes};
36abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughesstruct shminfo64 {
37d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  unsigned long shmmax;
38abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  unsigned long shmmin;
40d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  unsigned long shmmni;
41d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  unsigned long shmseg;
42d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  unsigned long shmall;
43abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  unsigned long __unused1;
45d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  unsigned long __unused2;
46d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  unsigned long __unused3;
47d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  unsigned long __unused4;
48abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes};
50abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes#endif
51