Update Mutex usage in .NET 9 when the "user-specific named mutex" feature is added

Aperta
#3,797 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

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
csharp
Ambito
security

Direzione di ricerca

No files, tests, or entry points are identified in the issue. Find the current Mutex usage in PSReadLine, then review the .NET 9 user-specific named mutex feature and determine how availability should be handled. Done means the implementation uses that feature when available and preserves the intended mutex behavior without the reported security concern.

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

Descrizione

Issue-Enhancement
Prerequisites
  • Write a descriptive title.
Description of the new feature/enhancement

When using Mutex in .NET Core, .NET creates a folder in the temp directory with world write access, which raises potential security concerns. .NET 9 will add a new feature to offer user-specific named mutex, and we will need to switch to that when it's available.

Proposed technical implementation details (optional)

No response

Lingua principale
C#
Stelle
4.4k
Fork
341
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la 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 PowerShell/PSReadLine

Tutte le issue di PowerShell/PSReadLine

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.