Differences From Artifact [531e4cada4]:
- File src/OFSecureData.h — part of check-in [edbb1ff5f4] at 2018-04-07 20:48:23 on branch trunk — Add +[OFSecureData isSecure] (user: js, size: 5224) [annotate] [blame] [check-ins using]
To Artifact [ac5cf895db]:
- File
src/OFSecureData.h
— part of check-in
[0e45b7bb1c]
at
2018-04-08 13:37:31
on branch trunk
— OFSecureData: Add a memory allocator
This avoids having at last one page per OFSecureData and allows multiple
small OFSecureData sharing the same page, which is important on systems
where the number of pages that can be locked is very limited. (user: js, size: 5223) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
26 27 28 29 30 31 32 | * it when it gets deallocated. * * @note Secure memory might be unavailable on the platform, in which case this * falls back to insecure (potentially swappable) memory. */ @interface OFSecureData: OFData { | | | 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | * it when it gets deallocated. * * @note Secure memory might be unavailable on the platform, in which case this * falls back to insecure (potentially swappable) memory. */ @interface OFSecureData: OFData { struct page *_page; } #ifdef OF_HAVE_CLASS_PROPERTIES @property (class, readonly, nonatomic, getter=isSecure) bool secure; #endif /*! |
︙ | ︙ |