summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authorambrisko <ambrisko@FreeBSD.org>2005-12-08 22:15:09 +0000
committerambrisko <ambrisko@FreeBSD.org>2005-12-08 22:15:09 +0000
commit8f15339baa514298f6365102f87e313c3d5272e2 (patch)
tree5f16e34c57fcca85f1f4820ec227f38c4b2f44f1 /sys/compat
parent8cf667cb0b5875f637f797417b3d2718821d9988 (diff)
downloadFreeBSD-src-8f15339baa514298f6365102f87e313c3d5272e2.zip
FreeBSD-src-8f15339baa514298f6365102f87e313c3d5272e2.tar.gz
Regen for futimes.
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/freebsd32/freebsd32_proto.h5
-rw-r--r--sys/compat/freebsd32/freebsd32_syscall.h2
-rw-r--r--sys/compat/freebsd32/freebsd32_syscalls.c2
-rw-r--r--sys/compat/freebsd32/freebsd32_sysent.c2
4 files changed, 8 insertions, 3 deletions
diff --git a/sys/compat/freebsd32/freebsd32_proto.h b/sys/compat/freebsd32/freebsd32_proto.h
index f88a6ef..b89f468 100644
--- a/sys/compat/freebsd32/freebsd32_proto.h
+++ b/sys/compat/freebsd32/freebsd32_proto.h
@@ -200,6 +200,10 @@ struct freebsd32_sysctl_args {
char new_l_[PADL_(void *)]; void * new; char new_r_[PADR_(void *)];
char newlen_l_[PADL_(u_int32_t)]; u_int32_t newlen; char newlen_r_[PADR_(u_int32_t)];
};
+struct freebsd32_futimes_args {
+ char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
+ char tptr_l_[PADL_(struct timeval32 *)]; struct timeval32 * tptr; char tptr_r_[PADR_(struct timeval32 *)];
+};
struct freebsd32_clock_gettime_args {
char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)];
char tp_l_[PADL_(struct timespec32 *)]; struct timespec32 * tp; char tp_r_[PADR_(struct timespec32 *)];
@@ -297,6 +301,7 @@ int freebsd32_lseek(struct thread *, struct freebsd32_lseek_args *);
int freebsd32_truncate(struct thread *, struct freebsd32_truncate_args *);
int freebsd32_ftruncate(struct thread *, struct freebsd32_ftruncate_args *);
int freebsd32_sysctl(struct thread *, struct freebsd32_sysctl_args *);
+int freebsd32_futimes(struct thread *, struct freebsd32_futimes_args *);
int freebsd32_clock_gettime(struct thread *, struct freebsd32_clock_gettime_args *);
int freebsd32_clock_settime(struct thread *, struct freebsd32_clock_settime_args *);
int freebsd32_clock_getres(struct thread *, struct freebsd32_clock_getres_args *);
diff --git a/sys/compat/freebsd32/freebsd32_syscall.h b/sys/compat/freebsd32/freebsd32_syscall.h
index ee8e86f..b82fb17 100644
--- a/sys/compat/freebsd32/freebsd32_syscall.h
+++ b/sys/compat/freebsd32/freebsd32_syscall.h
@@ -187,7 +187,7 @@
#define FREEBSD32_SYS_mlock 203
#define FREEBSD32_SYS_munlock 204
#define FREEBSD32_SYS_undelete 205
-#define FREEBSD32_SYS_futimes 206
+#define FREEBSD32_SYS_freebsd32_futimes 206
#define FREEBSD32_SYS_getpgid 207
#define FREEBSD32_SYS_poll 209
#define FREEBSD32_SYS___semctl 220
diff --git a/sys/compat/freebsd32/freebsd32_syscalls.c b/sys/compat/freebsd32/freebsd32_syscalls.c
index bf51b5c..69f28ce 100644
--- a/sys/compat/freebsd32/freebsd32_syscalls.c
+++ b/sys/compat/freebsd32/freebsd32_syscalls.c
@@ -213,7 +213,7 @@ const char *freebsd32_syscallnames[] = {
"mlock", /* 203 = mlock */
"munlock", /* 204 = munlock */
"undelete", /* 205 = undelete */
- "futimes", /* 206 = futimes */
+ "freebsd32_futimes", /* 206 = freebsd32_futimes */
"getpgid", /* 207 = getpgid */
"#208", /* 208 = newreboot */
"poll", /* 209 = poll */
diff --git a/sys/compat/freebsd32/freebsd32_sysent.c b/sys/compat/freebsd32/freebsd32_sysent.c
index cec7380..8a7b038 100644
--- a/sys/compat/freebsd32/freebsd32_sysent.c
+++ b/sys/compat/freebsd32/freebsd32_sysent.c
@@ -238,7 +238,7 @@ struct sysent freebsd32_sysent[] = {
{ SYF_MPSAFE | AS(mlock_args), (sy_call_t *)mlock, AUE_NULL }, /* 203 = mlock */
{ SYF_MPSAFE | AS(munlock_args), (sy_call_t *)munlock, AUE_NULL }, /* 204 = munlock */
{ SYF_MPSAFE | AS(undelete_args), (sy_call_t *)undelete, AUE_NULL }, /* 205 = undelete */
- { SYF_MPSAFE | AS(futimes_args), (sy_call_t *)futimes, AUE_NULL }, /* 206 = futimes */
+ { SYF_MPSAFE | AS(freebsd32_futimes_args), (sy_call_t *)freebsd32_futimes, AUE_NULL }, /* 206 = freebsd32_futimes */
{ SYF_MPSAFE | AS(getpgid_args), (sy_call_t *)getpgid, AUE_NULL }, /* 207 = getpgid */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 208 = newreboot */
{ SYF_MPSAFE | AS(poll_args), (sy_call_t *)poll, AUE_NULL }, /* 209 = poll */
OpenPOWER on IntegriCloud