Differences From Artifact [d7f3bcd0a9]:
- File
src/OFSandbox.m
— part of check-in
[40cf53506a]
at
2017-04-09 18:22:14
on branch trunk
— Add OFSandbox
Only OpenBSD's pledge() is supported so far. (user: js, size: 9114) [annotate] [blame] [check-ins using]
To Artifact [3da3a171ab]:
- File
src/OFSandbox.m
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 9115) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
201 202 203 204 205 206 207 | OF_HASH_FINALIZE(hash); return hash; } #ifdef OF_HAVE_PLEDGE | | | 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 | OF_HASH_FINALIZE(hash); return hash; } #ifdef OF_HAVE_PLEDGE - (OFString *)pledgeString { void *pool = objc_autoreleasePoolPush(); OFMutableArray *pledges = [OFMutableArray array]; OFString *ret; if (_allowsStdIO) [pledges addObject: @"stdio"]; |
︙ | ︙ |