| OLD | NEW |
| 1 // Copyright (c) 2012, Google Inc. | 1 // Copyright (c) 2012, Google Inc. |
| 2 // All rights reserved. | 2 // All rights reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
| 6 // met: | 6 // met: |
| 7 // | 7 // |
| 8 // * Redistributions of source code must retain the above copyright | 8 // * Redistributions of source code must retain the above copyright |
| 9 // notice, this list of conditions and the following disclaimer. | 9 // notice, this list of conditions and the following disclaimer. |
| 10 // * Redistributions in binary form must reproduce the above | 10 // * Redistributions in binary form must reproduce the above |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 struct elf_prpsinfo { | 94 struct elf_prpsinfo { |
| 95 char pr_state; | 95 char pr_state; |
| 96 char pr_sname; | 96 char pr_sname; |
| 97 char pr_zomb; | 97 char pr_zomb; |
| 98 char pr_nice; | 98 char pr_nice; |
| 99 unsigned long pr_flags; | 99 unsigned long pr_flags; |
| 100 #ifdef __x86_64__ | 100 #ifdef __x86_64__ |
| 101 unsigned int pr_uid; | 101 unsigned int pr_uid; |
| 102 unsigned int pr_gid; | 102 unsigned int pr_gid; |
| 103 #elif defined(__mips__) | 103 #elif defined(__mips__) |
| 104 unsigned long pr_uid; | 104 __kernel_uid_t pr_uid; |
| 105 unsigned long pr_gid; | 105 __kernel_gid_t pr_gid; |
| 106 #else | 106 #else |
| 107 unsigned short pr_uid; | 107 unsigned short pr_uid; |
| 108 unsigned short pr_gid; | 108 unsigned short pr_gid; |
| 109 #endif | 109 #endif |
| 110 int pr_pid; | 110 int pr_pid; |
| 111 int pr_ppid; | 111 int pr_ppid; |
| 112 int pr_pgrp; | 112 int pr_pgrp; |
| 113 int pr_sid; | 113 int pr_sid; |
| 114 char pr_fname[16]; | 114 char pr_fname[16]; |
| 115 char pr_psargs[ELF_PRARGSZ]; | 115 char pr_psargs[ELF_PRARGSZ]; |
| 116 }; | 116 }; |
| 117 | 117 |
| 118 #ifdef __cplusplus | 118 #ifdef __cplusplus |
| 119 } // extern "C" | 119 } // extern "C" |
| 120 #endif // __cplusplus | 120 #endif // __cplusplus |
| 121 | 121 |
| 122 #endif // __BIONIC_HAVE_SYS_PROCFS_H | 122 #endif // __BIONIC_HAVE_SYS_PROCFS_H |
| 123 | 123 |
| 124 #endif // GOOGLE_BREAKPAD_COMMON_ANDROID_SYS_PROCFS_H | 124 #endif // GOOGLE_BREAKPAD_COMMON_ANDROID_SYS_PROCFS_H |
| OLD | NEW |