|
Last change
on this file since 95feb3e9 was d7f7a4a, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 4 years ago |
|
Replace some license headers with SPDX identifier
Headers are replaced using tools/transorm-copyright.sh only
when it can be matched verbatim with the license header used
throughout most of the codebase.
|
-
Property mode
set to
100644
|
|
File size:
705 bytes
|
| Line | |
|---|
| 1 | /*
|
|---|
| 2 | * SPDX-FileCopyrightText: 2011 Jiri Svoboda
|
|---|
| 3 | *
|
|---|
| 4 | * SPDX-License-Identifier: BSD-3-Clause
|
|---|
| 5 | */
|
|---|
| 6 |
|
|---|
| 7 | /** @addtogroup libc
|
|---|
| 8 | * @{
|
|---|
| 9 | */
|
|---|
| 10 | /** @file
|
|---|
| 11 | */
|
|---|
| 12 |
|
|---|
| 13 | #ifndef _LIBC_ELF_LINUX_H_
|
|---|
| 14 | #define _LIBC_ELF_LINUX_H_
|
|---|
| 15 |
|
|---|
| 16 | #include <elf/elf.h>
|
|---|
| 17 | #include <libarch/elf_linux.h>
|
|---|
| 18 |
|
|---|
| 19 | /*
|
|---|
| 20 | * Note types
|
|---|
| 21 | */
|
|---|
| 22 | #define NT_PRSTATUS 1
|
|---|
| 23 |
|
|---|
| 24 | typedef int pid_t;
|
|---|
| 25 | typedef struct {
|
|---|
| 26 | long tv_sec;
|
|---|
| 27 | long tv_usec;
|
|---|
| 28 | } linux_timeval_t;
|
|---|
| 29 |
|
|---|
| 30 | typedef struct {
|
|---|
| 31 | int sig_info[3];
|
|---|
| 32 | short cursig;
|
|---|
| 33 | unsigned long sigpend;
|
|---|
| 34 | unsigned long sighold;
|
|---|
| 35 | pid_t pid;
|
|---|
| 36 | pid_t ppid;
|
|---|
| 37 | pid_t pgrp;
|
|---|
| 38 | pid_t sid;
|
|---|
| 39 | linux_timeval_t pr_utime;
|
|---|
| 40 | linux_timeval_t pr_stime;
|
|---|
| 41 | linux_timeval_t pr_cutime;
|
|---|
| 42 | linux_timeval_t pr_sid;
|
|---|
| 43 | elf_regs_t regs;
|
|---|
| 44 | int fpvalid;
|
|---|
| 45 | } elf_prstatus_t;
|
|---|
| 46 |
|
|---|
| 47 | #endif
|
|---|
| 48 |
|
|---|
| 49 | /** @}
|
|---|
| 50 | */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.