Searched refs:kAllowedMask (Results 1 – 1 of 1) sorted by relevance
165 const uint64_t kAllowedMask = MAP_SHARED | MAP_PRIVATE | MAP_ANONYMOUS | in RestrictMmapFlags() local169 return If((flags & ~kAllowedMask) == 0, Allow()).Else(CrashSIGSYS()); in RestrictMmapFlags()177 const uint64_t kAllowedMask = PROT_READ | PROT_WRITE | PROT_EXEC; in RestrictMprotectFlags() local179 return If((prot & ~kAllowedMask) == 0, Allow()).Else(CrashSIGSYS()); in RestrictMprotectFlags()195 const uint64_t kAllowedMask = O_ACCMODE | O_APPEND | O_NONBLOCK | O_SYNC | in RestrictFcntlCommands() local208 If((long_arg & ~kAllowedMask) == 0, Allow()).Else(CrashSIGSYS())) in RestrictFcntlCommands()