github / github/codeql

preload tracer sets errno

オープン
#13,894 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
question
主要言語
CodeQL
スター
10.1k
フォーク
2.1k
平均マージ
2日 15時間
マージ済み PR(30日)
141

説明

**Description of the issue**
The library that gets preloaded by the `preload_tracer` sets the `errno` to `EINVAL`

This seems to be a similar issue to https://github.com/rizsotto/Bear/issues/469 and prevents the Linux kernel from being able to compile fully due to the use of errno here:
https://github.com/torvalds/linux/blob/f6a691685962637e53371788fe2a72b171aedc68/scripts/kallsyms.c#L134

```
[2023-08-05 17:56:22] [build-stdout] CC init/version-timestamp.o
[2023-08-05 17:56:22] [build-stdout] LD .tmp_vmlinux.kallsyms1
[2023-08-05 17:56:23] [build-stdout] NM .tmp_vmlinux.kallsyms1.syms
[2023-08-05 17:56:23] [build-stdout] KSYMS .tmp_vmlinux.kallsyms1.S
[2023-08-05 17:56:23] [build-stderr] read_symbol: Invalid argument
[2023-08-05 17:56:23] [build-stderr] make[2]: *** [scripts/Makefile.vmlinux:36: vmlinux] Error 1
[2023-08-05 17:56:23] [build-stderr] make[1]: *** [/home/user/linux/Makefile:1238: vmlinux] Error 2
[2023-08-05 17:56:23] [build-stderr] make: *** [Makefile:234: __sub-make] Error 2
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。