Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove some linux-specific musl headers #17704

Merged
merged 1 commit into from
Aug 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ See docs/process.md for more on how version tagging works.
wasm/JS interface. These function are no longer exported in all cases. If
your code directly calls these functions from JS, you can add them to
`-sEXPORTED_RUNTIME_METHODS`.
- Several linux-specific headers were removed from the emscripten sysroot. None
of the functionality in these headers was ever supported by emscripten. For
example `sys/soundcard.h` and `sys/ptrace.h`. (#17704)

3.1.19 - 08/17/2022
-------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
#include <signal.h>
#include <sys/mman.h>
#include <sys/param.h>
#if !SANITIZER_SOLARIS
#if !SANITIZER_SOLARIS && !SANITIZER_EMSCRIPTEN
#include <sys/ptrace.h>
#endif
#include <sys/resource.h>
Expand Down
21 changes: 4 additions & 17 deletions system/lib/libc/musl/arch/emscripten/bits/reg.h
Original file line number Diff line number Diff line change
@@ -1,19 +1,6 @@
#undef __WORDSIZE
#ifdef __wasm64__
#define __WORDSIZE 64
#else
#define __WORDSIZE 32
#define EBX 0
#define ECX 1
#define EDX 2
#define ESI 3
#define EDI 4
#define EBP 5
#define EAX 6
#define DS 7
#define ES 8
#define FS 9
#define GS 10
#define ORIG_EAX 11
#define EIP 12
#define CS 13
#define EFL 14
#define UESP 15
#define SS 16
#endif
Empty file.
1 change: 0 additions & 1 deletion system/lib/libc/musl/arch/generic/bits/kd.h

This file was deleted.

Empty file.
1 change: 0 additions & 1 deletion system/lib/libc/musl/arch/generic/bits/soundcard.h

This file was deleted.

1 change: 0 additions & 1 deletion system/lib/libc/musl/arch/generic/bits/vt.h

This file was deleted.

17 changes: 0 additions & 17 deletions system/lib/libc/musl/include/sys/auxv.h

This file was deleted.

22 changes: 0 additions & 22 deletions system/lib/libc/musl/include/sys/cachectl.h

This file was deleted.

69 changes: 0 additions & 69 deletions system/lib/libc/musl/include/sys/epoll.h

This file was deleted.

26 changes: 0 additions & 26 deletions system/lib/libc/musl/include/sys/eventfd.h

This file was deleted.

111 changes: 0 additions & 111 deletions system/lib/libc/musl/include/sys/fanotify.h

This file was deleted.

20 changes: 0 additions & 20 deletions system/lib/libc/musl/include/sys/fsuid.h

This file was deleted.

58 changes: 0 additions & 58 deletions system/lib/libc/musl/include/sys/inotify.h

This file was deleted.

17 changes: 0 additions & 17 deletions system/lib/libc/musl/include/sys/io.h

This file was deleted.

1 change: 0 additions & 1 deletion system/lib/libc/musl/include/sys/kd.h

This file was deleted.

Loading