Use correct kernel headers version
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
- Tipo di issue
- Refactoring
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- centos, linux, shell
- Ambito
- build-system, operating-systems
Direzione di ricerca
No files or tests are named. Start by locating the arm64 and x86 toolchain configuration and the kernel-header selection, then verify the chosen headers against CentOS 6.10's 2.6.32 baseline. Done means both toolchains use the oldest supported kernel headers and the required compatibility handling is validated.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The arm64 and x86 toolchain should use the same kernel headers version as found on the oldest distro version we want to support. Not newer, not older.
Currently the x86 toolchain targets CentOS 6.10, glibc 2.12.2, which has a kernel version 2.6.32, but we use kernel headers for 4.7.
This causes problems when configuring the third party libraries for the target system, because they can detect features that aren't actually present.
At the same time the kernel data structures used might not be in sync with what the actual underlying kernel is using (think of audit, netlink, perf etc), which could result in errors, access to invalid memory, crashes.
What we should do instead is to have the toolchain use the correct headers and then have osquery create it's own copy of defines or data structures where necessary, and switch between them depending on the version of kernel it's running on.
- Lingua principale
- Shell
- Stelle
- 43
- Fork
- 23
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di osquery/osquery-toolchain
-
Build error.Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
osquery/osquery-toolchain#29 ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
osquery/osquery-toolchain#26 ·
-
question
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
osquery/osquery-toolchain#24 · 3 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
osquery/osquery-toolchain#13 ·
-
Explore toolchain build reproducibilityForse di nuovo libera @theopolis l’ha presa 2644 giorni fa e non c’è nessuna pull request aperta. Apertaenhancement
osquery/osquery-toolchain#11 · 1 commento · 1 assegnatario ·
Tutte le issue di osquery/osquery-toolchain
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
ardia-browser/ardia#6391 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
software-mansion-labs/Diplomat#291 ·
I maintainer di solito rispondono entro 1 giorno
-
Area/Infrastructure Aspect/Infra Resources Type/Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
wso2/agent-manager#2717 ·
I maintainer di solito rispondono entro 1 giorno
-
meta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
last9/last9-mcp-server#786 ·
I maintainer di solito rispondono entro 1 giorno