procfs: add pidns= mount option

Aperta
#217 2 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
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
linux, rust
Ambito
backend, security

Direzione di ricerca

The issue points to the procfs mount creation behavior and related issue #216, but names no source files or tests. Start by reading #216 and tracing where a new procfs filesystem selects the current task's PID namespace. Done means a mount option can select a PID namespace explicitly and the behavior is covered by tests, including the empty procfs use case.

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

Descrizione

api/procfs impact/feature

At the moment, procfs automatically assumes task_active_pid_ns(current) when you create a new filesystem, but it would be really handy for container runtimes to be able to specify the PID namespace manually. It would also make creating empty procfs instances (to avoid mnt_too_revealing restrictions) much easier.

I'm not sure if we would use this in libpathrs, but this is an obvious sister feature to #216.

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.