1.1 --- a/libfsclient/lib/src/client.cc Fri Jul 30 00:45:24 2021 +0200
1.2 +++ b/libfsclient/lib/src/client.cc Sun Aug 01 00:07:00 2021 +0200
1.3 @@ -144,22 +144,22 @@
1.4
1.5 /* Open a file opening object. */
1.6
1.7 -l4_cap_idx_t client_open_for_user(sys_uid_t uid, sys_gid_t gid, sys_mode_t umask)
1.8 +l4_cap_idx_t client_open_for_user(user_t user)
1.9 {
1.10 l4_cap_idx_t server = l4re_env_get_cap("server");
1.11
1.12 - return client_open_for_user_using(uid, gid, umask, server);
1.13 + return client_open_for_user_using(user, server);
1.14 }
1.15
1.16 /* Open a file opening object via a named capability. */
1.17
1.18 -l4_cap_idx_t client_open_for_user_using(sys_uid_t uid, sys_gid_t gid, sys_mode_t umask, l4_cap_idx_t server)
1.19 +l4_cap_idx_t client_open_for_user_using(user_t user, l4_cap_idx_t server)
1.20 {
1.21 if (l4_is_invalid_cap(server))
1.22 return L4_INVALID_CAP;
1.23
1.24 l4_cap_idx_t opener;
1.25 - long err = file_open_for_user(uid, gid, umask, server, &opener);
1.26 + long err = file_open_for_user(user, server, &opener);
1.27
1.28 if (err)
1.29 return L4_INVALID_CAP;