Skip to content

_winapi.CreateJunction does not restore privilege levels #114096

Closed
@zooba

Description

@zooba

Creating a junction requires enabling the SE_RESTORE_NAME privilege, which may cause changes in behaviour elsewhere in the process. We should restore it after creating the junction.

Linked PRs

Metadata

Metadata

Assignees

Labels

3.11only security fixes3.12only security fixes3.13bugs and security fixesOS-windows

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions