Home
last modified time | relevance | path

Searched refs:write_id_mapping (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/filesystems/binderfs/
H A Dbinderfs_test.c228 static int write_id_mapping(enum idmap_type type, pid_t pid, const char *buf, in write_id_mapping() function
320 ret = write_id_mapping(UID_MAP, pid, id_map, strlen(id_map)); in change_idmaps()
322 TH_LOG("write_id_mapping(UID_MAP) failed"); in change_idmaps()
326 ret = write_id_mapping(GID_MAP, pid, id_map, strlen(id_map)); in change_idmaps()
328 TH_LOG("write_id_mapping(GID_MAP) failed"); in change_idmaps()
/kernel/linux/linux-6.6/tools/testing/selftests/filesystems/binderfs/
H A Dbinderfs_test.c246 static int write_id_mapping(enum idmap_type type, pid_t pid, const char *buf, in write_id_mapping() function
338 ret = write_id_mapping(UID_MAP, pid, id_map, strlen(id_map)); in change_idmaps()
340 TH_LOG("write_id_mapping(UID_MAP) failed"); in change_idmaps()
344 ret = write_id_mapping(GID_MAP, pid, id_map, strlen(id_map)); in change_idmaps()
346 TH_LOG("write_id_mapping(GID_MAP) failed"); in change_idmaps()

Completed in 2 milliseconds