feature: support a custom dirfd when hardlinking files

Aperta
#356 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
linux, rust
Ambito
backend, security

Direzione di ricerca

Start by reading the implementation and tests for pathrs_inroot_hardlink to see how it resolves the target and linkname from the same root. Then compare the proposed dirfd support with issue #355, which may make this feature unnecessary. Done means the API can accept a separate directory file descriptor for path resolution, unless #355 makes that unnecessary.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

api/cffi api/root api/rust impact/feature

pathrs_inroot_hardlink only lets you resolve the target and linkname paths from the same root. This is fine for most programs but programs that are very careful about traversing directory trees might prefer to be able to specify a file descriptor instead.

If we have #355 this might be unnecessary because you could just resolve the path and pass the file descriptor...

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cyphar/libpathrs

Tutte le issue di cyphar/libpathrs

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.