diff options
author | Matthew D Fleming <mdf@FreeBSD.org> | 2011-04-18 16:32:47 +0000 |
---|---|---|
committer | Matthew D Fleming <mdf@FreeBSD.org> | 2011-04-18 16:32:47 +0000 |
commit | 7323776b0142fa75db8b8ffda8d6776f4558dc4e (patch) | |
tree | f4c795eb7b480dabd1ea9aa3df7b00438cd8a2b2 /sys/kern | |
parent | d91f88f7f38078ac6dd4b0f0e77470d605d1518e (diff) | |
download | src-7323776b0142fa75db8b8ffda8d6776f4558dc4e.tar.gz src-7323776b0142fa75db8b8ffda8d6776f4558dc4e.zip |
Regen.
Notes
Notes:
svn path=/head/; revision=220792
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/init_sysent.c | 4 | ||||
-rw-r--r-- | sys/kern/syscalls.c | 4 | ||||
-rw-r--r-- | sys/kern/systrace_args.c | 25 |
3 files changed, 31 insertions, 2 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 85db2c85d4c6..e45ffc5e3dc5 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: head/sys/kern/syscalls.master 220163 2011-03-30 17:48:15Z trasz + * created from FreeBSD */ #include "opt_compat.h" @@ -564,4 +564,6 @@ struct sysent sysent[] = { { AS(rctl_get_limits_args), (sy_call_t *)rctl_get_limits, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 527 = rctl_get_limits */ { AS(rctl_add_rule_args), (sy_call_t *)rctl_add_rule, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 528 = rctl_add_rule */ { AS(rctl_remove_rule_args), (sy_call_t *)rctl_remove_rule, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 529 = rctl_remove_rule */ + { AS(posix_fallocate_args), (sy_call_t *)posix_fallocate, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 530 = posix_fallocate */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 531 = posix_fadvise */ }; diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index 1468612cbf60..29a648566a97 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: head/sys/kern/syscalls.master 220163 2011-03-30 17:48:15Z trasz + * created from FreeBSD */ const char *syscallnames[] = { @@ -537,4 +537,6 @@ const char *syscallnames[] = { "rctl_get_limits", /* 527 = rctl_get_limits */ "rctl_add_rule", /* 528 = rctl_add_rule */ "rctl_remove_rule", /* 529 = rctl_remove_rule */ + "posix_fallocate", /* 530 = posix_fallocate */ + "#531", /* 531 = posix_fadvise */ }; diff --git a/sys/kern/systrace_args.c b/sys/kern/systrace_args.c index 6c68b32a5f28..880b46b30d1d 100644 --- a/sys/kern/systrace_args.c +++ b/sys/kern/systrace_args.c @@ -3185,6 +3185,15 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) *n_args = 4; break; } + /* posix_fallocate */ + case 530: { + struct posix_fallocate_args *p = params; + iarg[0] = p->fd; /* int */ + iarg[1] = p->offset; /* off_t */ + iarg[2] = p->len; /* off_t */ + *n_args = 3; + break; + } default: *n_args = 0; break; @@ -8473,6 +8482,22 @@ systrace_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) break; }; break; + /* posix_fallocate */ + case 530: + switch(ndx) { + case 0: + p = "int"; + break; + case 1: + p = "off_t"; + break; + case 2: + p = "off_t"; + break; + default: + break; + }; + break; default: break; }; |