Searched refs:kR_WhiteListed (Results 1 – 1 of 1) sorted by relevance
83 const char kR_WhiteListed[] = "/proc/DOESNOTEXIST1"; in TestOpenFilePerms() local92 permissions.push_back(BrokerFilePermission::ReadOnly(kR_WhiteListed)); in TestOpenFilePerms()102 fd = open_broker.Open(kR_WhiteListed, O_RDONLY); in TestOpenFilePerms()104 fd = open_broker.Open(kR_WhiteListed, O_WRONLY); in TestOpenFilePerms()106 fd = open_broker.Open(kR_WhiteListed, O_RDWR); in TestOpenFilePerms()109 ret = open_broker.Access(kR_WhiteListed, F_OK); in TestOpenFilePerms()111 ret = open_broker.Access(kR_WhiteListed, R_OK); in TestOpenFilePerms()113 ret = open_broker.Access(kR_WhiteListed, W_OK); in TestOpenFilePerms()115 ret = open_broker.Access(kR_WhiteListed, R_OK | W_OK); in TestOpenFilePerms()117 ret = open_broker.Access(kR_WhiteListed, X_OK); in TestOpenFilePerms()[all …]