From 5cc4ab5323ed56c95e6d1df51dbb89a030af239c Mon Sep 17 00:00:00 2001
From: Dmitrij Tejblum
Date: Sun, 4 Apr 1999 21:43:36 +0000
Subject: [PATCH] Regenerate (padding for pread and pwrite).
---
sys/kern/init_sysent.c | 6 +++---
sys/kern/syscalls.c | 2 +-
sys/sys/syscall-hide.h | 2 +-
sys/sys/syscall.h | 2 +-
sys/sys/syscall.mk | 2 +-
sys/sys/sysproto.h | 4 +++-
6 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index c2583805f24a..3a8b931d4d54 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -2,7 +2,7 @@
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from Id: syscalls.master,v 1.55 1998/11/11 12:45:14 peter Exp
+ * created from Id: syscalls.master,v 1.57 1999/04/04 21:41:16 dt Exp
*/
#include "opt_compat.h"
@@ -192,8 +192,8 @@ struct sysent sysent[] = {
{ 6, (sy_call_t *)msgsys }, /* 170 = msgsys */
{ 4, (sy_call_t *)shmsys }, /* 171 = shmsys */
{ 0, (sy_call_t *)nosys }, /* 172 = nosys */
- { 5, (sy_call_t *)pread }, /* 173 = pread */
- { 5, (sy_call_t *)pwrite }, /* 174 = pwrite */
+ { 6, (sy_call_t *)pread }, /* 173 = pread */
+ { 6, (sy_call_t *)pwrite }, /* 174 = pwrite */
{ 0, (sy_call_t *)nosys }, /* 175 = nosys */
{ 1, (sy_call_t *)ntp_adjtime }, /* 176 = ntp_adjtime */
{ 0, (sy_call_t *)nosys }, /* 177 = sfork */
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index d0d12f3f5782..bd4940984292 100644
--- a/sys/kern/syscalls.c
+++ b/sys/kern/syscalls.c
@@ -2,7 +2,7 @@
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from Id: syscalls.master,v 1.55 1998/11/11 12:45:14 peter Exp
+ * created from Id: syscalls.master,v 1.57 1999/04/04 21:41:16 dt Exp
*/
char *syscallnames[] = {
diff --git a/sys/sys/syscall-hide.h b/sys/sys/syscall-hide.h
index 11b5b2c1f517..e7feea16d933 100644
--- a/sys/sys/syscall-hide.h
+++ b/sys/sys/syscall-hide.h
@@ -2,7 +2,7 @@
* System call hiders.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from Id: syscalls.master,v 1.55 1998/11/11 12:45:14 peter Exp
+ * created from Id: syscalls.master,v 1.57 1999/04/04 21:41:16 dt Exp
*/
HIDE_POSIX(fork)
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index b4fcab996bc9..f20a43d80ae0 100644
--- a/sys/sys/syscall.h
+++ b/sys/sys/syscall.h
@@ -2,7 +2,7 @@
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from Id: syscalls.master,v 1.55 1998/11/11 12:45:14 peter Exp
+ * created from Id: syscalls.master,v 1.57 1999/04/04 21:41:16 dt Exp
*/
#define SYS_syscall 0
diff --git a/sys/sys/syscall.mk b/sys/sys/syscall.mk
index 9e7e23c87fd5..732435c49c36 100644
--- a/sys/sys/syscall.mk
+++ b/sys/sys/syscall.mk
@@ -1,6 +1,6 @@
# FreeBSD system call names.
# DO NOT EDIT-- this file is automatically generated.
-# created from Id: syscalls.master,v 1.55 1998/11/11 12:45:14 peter Exp
+# created from Id: syscalls.master,v 1.57 1999/04/04 21:41:16 dt Exp
MIASM = \
syscall.o \
exit.o \
diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h
index 7a7d1bc80fd6..7c18bd18ba87 100644
--- a/sys/sys/sysproto.h
+++ b/sys/sys/sysproto.h
@@ -2,7 +2,7 @@
* System call prototypes.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from Id: syscalls.master,v 1.55 1998/11/11 12:45:14 peter Exp
+ * created from Id: syscalls.master,v 1.57 1999/04/04 21:41:16 dt Exp
*/
#ifndef _SYS_SYSPROTO_H_
@@ -546,12 +546,14 @@ struct pread_args {
int fd; char fd_[PAD_(int)];
void * buf; char buf_[PAD_(void *)];
size_t nbyte; char nbyte_[PAD_(size_t)];
+ int pad; char pad_[PAD_(int)];
off_t offset; char offset_[PAD_(off_t)];
};
struct pwrite_args {
int fd; char fd_[PAD_(int)];
const void * buf; char buf_[PAD_(const void *)];
size_t nbyte; char nbyte_[PAD_(size_t)];
+ int pad; char pad_[PAD_(int)];
off_t offset; char offset_[PAD_(off_t)];
};
struct ntp_adjtime_args {