Searched refs:kR_WhiteListed (Results 1 – 1 of 1) sorted by relevance
84 const char kR_WhiteListed[] = "/proc/DOESNOTEXIST1"; in TestOpenFilePerms() local93 permissions.push_back(BrokerFilePermission::ReadOnly(kR_WhiteListed)); in TestOpenFilePerms()103 fd = open_broker.Open(kR_WhiteListed, O_RDONLY); in TestOpenFilePerms()105 fd = open_broker.Open(kR_WhiteListed, O_WRONLY); in TestOpenFilePerms()107 fd = open_broker.Open(kR_WhiteListed, O_RDWR); in TestOpenFilePerms()110 ret = open_broker.Access(kR_WhiteListed, F_OK); in TestOpenFilePerms()112 ret = open_broker.Access(kR_WhiteListed, R_OK); in TestOpenFilePerms()114 ret = open_broker.Access(kR_WhiteListed, W_OK); in TestOpenFilePerms()116 ret = open_broker.Access(kR_WhiteListed, R_OK | W_OK); in TestOpenFilePerms()118 ret = open_broker.Access(kR_WhiteListed, X_OK); in TestOpenFilePerms()[all …]