[rfc] supporting non-Linux unix platforms
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- rust
- Ambito
- operating-systems, security
Direzione di ricerca
Start by reading the existing Linux path resolver and the os.Root approach mentioned in the issue. Investigate how path components can be safely re-evaluated for .. on non-Linux Unix systems, and whether the existing re-opening APIs can be supported there. Done means the project has a decided approach for non-Linux support and its resolver semantics.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Initially the plan was for libpathrs to only support Linux but given that umoci supports non-Linux operating systems, it might make sense to have an O_PATH resolver that works on non-Linux systems.
We can take a leaf out of the os.Root book and implement safe .. lookups by re-evaluating all path components from the root each time we hit .. (which avoids the risk of rename attacks at the cost of making lookups O(n^2)).
The main issue is that we cannot easily implement re-opening semantics on non-Linux platforms as far as I can see. In principle we could not provide that API on non-Linux platforms but it would be unfortunate since I expect a fair number of users to use those APIs... (Though now that we have one-shot opening maybe we can do without it.)
- Lingua principale
- Rust
- Stelle
- 146
- Fork
- 12
- Merge medio
- 1g 16h
- PR unite (30g)
- 20
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
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 cyphar/libpathrs
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
cyphar/libpathrs#434 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 43/100
cyphar/libpathrs#469 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
rust tests
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
I maintainer di solito rispondono entro 1 giorno
-
api/procfs linux/upstream
Difficoltà 4/5 3-5 giorni Idoneità per principianti 44/100
I maintainer di solito rispondono entro 1 giorno
-
api/cffi bindings/go bindings/python ideas welcome
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di cyphar/libpathrs
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
apache/datafusion-iceberg#100 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: cua-driver skill fails Agent Skills frontmatter validationForse già presa @Mearman l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
area/tools bug session-analysis
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
oracle/rust-oracledb#66 ·
-
`PrimitiveArray::validate_decimal_precision` rejects every decimal array with a negative scaleAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno