Decouple client contracts and close private role registries
This commit is contained in:
parent
786049534d
commit
22325aa76a
1 changed files with 1041 additions and 321 deletions
|
|
@ -189,7 +189,7 @@ pub fn recover_private_state_anchor_mount(
|
|||
)?;
|
||||
let authority = holder.identity().authority();
|
||||
let target = TargetCommand::new("/proc/self/exe")
|
||||
.argument(PRIVATE_RECOVERY_ROLE)
|
||||
.argument(PRIVATE_STATE_ANCHOR_RECOVERY_ROLE)
|
||||
.argument(authority.pidfs_st_dev.get().to_string())
|
||||
.argument(authority.pidfs_st_ino.get().to_string())
|
||||
.argument(user_namespace.device.get().to_string())
|
||||
|
|
@ -214,7 +214,7 @@ pub fn recover_private_state_anchor_mount(
|
|||
pub fn dispatch_private_state_anchor_recovery(arguments: &[OsString]) -> Option<io::Result<()>> {
|
||||
if arguments
|
||||
.first()
|
||||
.is_none_or(|arg| arg != PRIVATE_RECOVERY_ROLE)
|
||||
.is_none_or(|arg| arg != PRIVATE_STATE_ANCHOR_RECOVERY_ROLE)
|
||||
{
|
||||
return None;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue