diff options
author | glebius <glebius@FreeBSD.org> | 2013-06-08 13:30:13 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2013-06-08 13:30:13 +0000 |
commit | 85cf0e083fee68c7597fa93b49e246842f60ff3f (patch) | |
tree | 5a97e0d02ee1405b17c27e4e14e3eae36336246e /sys/kern | |
parent | 9a02f3097ddccd309eb701a3492242b74427cc2b (diff) | |
download | FreeBSD-src-85cf0e083fee68c7597fa93b49e246842f60ff3f.zip FreeBSD-src-85cf0e083fee68c7597fa93b49e246842f60ff3f.tar.gz |
aio_mlock() added:
- Regen for r251526.
- Bump __FreeBSD_version.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/init_sysent.c | 3 | ||||
-rw-r--r-- | sys/kern/syscalls.c | 3 | ||||
-rw-r--r-- | sys/kern/systrace_args.c | 22 |
3 files changed, 26 insertions, 2 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index af68904..0fcb9df 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 250853 2013-05-21 11:40:16Z kib + * created from FreeBSD: head/sys/kern/syscalls.master 251526 2013-06-08 13:27:57Z glebius */ #include "opt_compat.h" @@ -577,4 +577,5 @@ struct sysent sysent[] = { { AS(chflagsat_args), (sy_call_t *)sys_chflagsat, AUE_CHFLAGSAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 540 = chflagsat */ { AS(accept4_args), (sy_call_t *)sys_accept4, AUE_ACCEPT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 541 = accept4 */ { AS(pipe2_args), (sy_call_t *)sys_pipe2, AUE_PIPE, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 542 = pipe2 */ + { AS(aio_mlock_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 543 = aio_mlock */ }; diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index 20eb631..17f5448 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 250853 2013-05-21 11:40:16Z kib + * created from FreeBSD: head/sys/kern/syscalls.master 251526 2013-06-08 13:27:57Z glebius */ const char *syscallnames[] = { @@ -550,4 +550,5 @@ const char *syscallnames[] = { "chflagsat", /* 540 = chflagsat */ "accept4", /* 541 = accept4 */ "pipe2", /* 542 = pipe2 */ + "aio_mlock", /* 543 = aio_mlock */ }; diff --git a/sys/kern/systrace_args.c b/sys/kern/systrace_args.c index 0d55f69..59e046b 100644 --- a/sys/kern/systrace_args.c +++ b/sys/kern/systrace_args.c @@ -3376,6 +3376,13 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) *n_args = 2; break; } + /* aio_mlock */ + case 543: { + struct aio_mlock_args *p = params; + uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */ + *n_args = 1; + break; + } default: *n_args = 0; break; @@ -8995,6 +9002,16 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) break; }; break; + /* aio_mlock */ + case 543: + switch(ndx) { + case 0: + p = "struct aiocb *"; + break; + default: + break; + }; + break; default: break; }; @@ -10938,6 +10955,11 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) if (ndx == 0 || ndx == 1) p = "int"; break; + /* aio_mlock */ + case 543: + if (ndx == 0 || ndx == 1) + p = "int"; + break; default: break; }; |