1
Fork 0

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:
Alexis Beingessner 2022-03-22 21:29:38 -04:00 committed by Aria Beingessner
parent 68643603ad
commit 09395f626b
5 changed files with 39 additions and 36 deletions

View file

@ -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),
}
}
}