Skip to content

Commit

Permalink
bsd-user: Implement target_to_host_fcntl_cmd
Browse files Browse the repository at this point in the history
Implement the stat conversion functions:
target_to_host_fcntl_cmd

Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
  • Loading branch information
staceyson authored and bsdimp committed Aug 28, 2023
1 parent 5aa88f9 commit 584d6fc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bsd-user/freebsd/os-stat.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,11 @@ abi_long h2t_freebsd11_statfs(abi_ulong target_addr,
return 0;
}

/*
* fcntl cmd conversion
*/
abi_long target_to_host_fcntl_cmd(int cmd)
{
return cmd;
}

0 comments on commit 584d6fc

Please sign in to comment.