Searched refs:kAllowedMask (Results 1 – 1 of 1) sorted by relevance
202 const uint64_t kAllowedMask = MAP_SHARED | MAP_PRIVATE | MAP_ANONYMOUS | in RestrictMmapFlags() local206 return If((flags & ~kAllowedMask) == 0, Allow()).Else(CrashSIGSYS()); in RestrictMmapFlags()214 const uint64_t kAllowedMask = PROT_READ | PROT_WRITE | PROT_EXEC; in RestrictMprotectFlags() local216 return If((prot & ~kAllowedMask) == 0, Allow()).Else(CrashSIGSYS()); in RestrictMprotectFlags()232 const uint64_t kAllowedMask = O_ACCMODE | O_APPEND | O_NONBLOCK | O_SYNC | in RestrictFcntlCommands() local245 If((long_arg & ~kAllowedMask) == 0, Allow()).Else(CrashSIGSYS())) in RestrictFcntlCommands()