Make some linux/unix APIs better conform to strict provenance.
This largely makes the stdlib conform to strict provenance on Ubuntu. Some hairier things have been left alone for now.
This commit is contained in:
parent
68643603ad
commit
09395f626b
5 changed files with 39 additions and 36 deletions
|
@ -493,7 +493,7 @@ impl RawFrame {
|
|||
match self {
|
||||
RawFrame::Actual(frame) => frame.ip(),
|
||||
#[cfg(test)]
|
||||
RawFrame::Fake => ptr::invalid_mut(1),
|
||||
RawFrame::Fake => crate::ptr::invalid_mut(1),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue