[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 22/32] Implement freebsd11 stat related syscalls
From: |
Karim Taha |
Subject: |
[PATCH v3 22/32] Implement freebsd11 stat related syscalls |
Date: |
Sun, 13 Aug 2023 10:41:43 +0200 |
From: Michal Meloun <mmel@FreeBSD.org>
Rename the following syscalls to the freebsd11 variant:
do_freebsd_lstat -> do_freebsd11_lstat
do_freebsd_stat -> do_freebsd11_stat
Co-authored-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Michal Meloun <mmel@FreeBSD.org>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
---
bsd-user/freebsd/os-stat.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/bsd-user/freebsd/os-stat.h b/bsd-user/freebsd/os-stat.h
index 5d9323c7d1..aef55c8bb5 100644
--- a/bsd-user/freebsd/os-stat.h
+++ b/bsd-user/freebsd/os-stat.h
@@ -20,6 +20,11 @@
#ifndef BSD_USER_FREEBSD_OS_STAT_H
#define BSD_USER_FREEBSD_OS_STAT_H
+int freebsd11_stat(const char *path, struct freebsd11_stat *stat);
+__sym_compat(stat, freebsd11_stat, FBSD_1.0);
+int freebsd11_lstat(const char *path, struct freebsd11_stat *stat);
+__sym_compat(lstat, freebsd11_lstat, FBSD_1.0);
+
/* stat(2) */
static inline abi_long do_freebsd11_stat(abi_long arg1, abi_long arg2)
{
--
2.40.0
- [PATCH v3 12/32] Implement h2t_freebsd11_stat h2t_freebsd_nstat, (continued)
- [PATCH v3 12/32] Implement h2t_freebsd11_stat h2t_freebsd_nstat, Karim Taha, 2023/08/13
- [PATCH v3 13/32] Implement h2t_freebsd_fhandle t2h_freebsd_fhandle functions, Karim Taha, 2023/08/13
- [PATCH v3 14/32] Implement h2t_freebds11_statfs, Karim Taha, 2023/08/13
- [PATCH v3 16/32] Implement h2t_freebsd_stat and h2t_freebsd_statfs functions, Karim Taha, 2023/08/13
- [PATCH v3 15/32] Implement target_to_host_fcntl_cmd, Karim Taha, 2023/08/13
- [PATCH v3 17/32] Implement stat related syscalls, Karim Taha, 2023/08/13
- [PATCH v3 18/32] Implement stat related syscalls, Karim Taha, 2023/08/13
- [PATCH v3 19/32] Implement stat related syscalls, Karim Taha, 2023/08/13
- [PATCH v3 20/32] Implement stat related syscalls, Karim Taha, 2023/08/13
- [PATCH v3 21/32] Implement stat related syscalls, Karim Taha, 2023/08/13
- [PATCH v3 22/32] Implement freebsd11 stat related syscalls,
Karim Taha <=
- [PATCH v3 25/32] Implement freebsd11 stat related syscalls, Karim Taha, 2023/08/13
- [PATCH v3 26/32] Implement freebsd11 stat related syscalls, Karim Taha, 2023/08/13
- [PATCH v3 23/32] Implement freebsd11 stat related syscalls, Karim Taha, 2023/08/13
- [PATCH v3 24/32] Implement freebsd11 stat related syscalls, Karim Taha, 2023/08/13
- [PATCH v3 27/32] Implement do_freebsd_realpathat syscall, Karim Taha, 2023/08/13
- [PATCH v3 28/32] Add os-stat.c to the build, Karim Taha, 2023/08/13
- [PATCH v3 29/32] Add glue to call the following syscalls to the freebsd_syscall function:, Karim Taha, 2023/08/13
- [PATCH v3 30/32] Add glue to call the following syscalls to the freebsd_syscall function:, Karim Taha, 2023/08/13
- [PATCH v3 31/32] Add glue to call the following syscalls to the freebsd_syscall function:, Karim Taha, 2023/08/13
- [PATCH v3 32/32] Add glue to call the following syscalls to the freebsd_syscall function:, Karim Taha, 2023/08/13