Differences From Artifact [68c11f76c6]:
- File src/OFSandbox.h — part of check-in [0fc70a4510] at 2017-04-13 12:57:59 on branch trunk — OFSandbox: Don't waste memory on bools (user: js, size: 4326) [annotate] [blame] [check-ins using]
To Artifact [f00e17ef0d]:
- File
src/OFSandbox.h
— part of check-in
[02ccf37477]
at
2017-04-14 02:28:10
on branch trunk
— OFSandbox: Revert using a bitfield
GCC does not support properties that use a bit field. (user: js, size: 4134) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
25 26 27 28 29 30 31 | /*! * @class OFSandbox OFSandbox.h ObjFW/OFSandbox.h * * @brief A class which describes a sandbox for the application. */ @interface OFSandbox: OFObject <OFCopying> { | | < < | < | < < | < | < < | < | < < | < < | < < | < < < | 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | /*! * @class OFSandbox OFSandbox.h ObjFW/OFSandbox.h * * @brief A class which describes a sandbox for the application. */ @interface OFSandbox: OFObject <OFCopying> { bool _allowsStdIO, _allowsReadingFiles, _allowsWritingFiles; bool _allowsCreatingFiles, _allowsCreatingSpecialFiles; bool _allowsTemporaryFiles, _allowsIPSockets, _allowsMulticastSockets; bool _allowsChangingFileAttributes, _allowsFileOwnerChanges; bool _allowsFileLocks, _allowsUNIXSockets, _allowsDNS; bool _allowsUserDatabaseReading, _allowsFileDescriptorSending; bool _allowsFileDescriptorReceiving, _allowsTape, _allowsTTY; bool _allowsProcessOperations, _allowsExec, _allowsProtExec; bool _allowsSetTime, _allowsPS, _allowsVMInfo; bool _allowsChangingProcessRights, _allowsPF, _allowsAudio, _allowsBPF; } /*! Allows IO operations on previously allocated file descriptors. */ @property bool allowsStdIO; /*! Allows read access to the file system. */ @property bool allowsReadingFiles; |
︙ | ︙ |