diff options
author | trasz <trasz@FreeBSD.org> | 2009-07-08 15:25:27 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2009-07-08 15:25:27 +0000 |
commit | 1161d4e10fbef39d4ef38c4b752af75858c22453 (patch) | |
tree | fa0242b0964ecce0f03caa92932cfa0f100bfad7 /sys/kern | |
parent | 09784497a28d12cd83a37f13a040e4ad325ef692 (diff) | |
download | FreeBSD-src-1161d4e10fbef39d4ef38c4b752af75858c22453.zip FreeBSD-src-1161d4e10fbef39d4ef38c4b752af75858c22453.tar.gz |
Regenerate after lpathconf(2) addition.
Approved by: re (kib)
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 | 21 |
3 files changed, 25 insertions, 2 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 93fd0b7..bad34c1 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 194910 2009-06-24 21:10:52Z jhb + * created from FreeBSD: head/sys/kern/syscalls.master 195458 2009-07-08 15:23:18Z trasz */ #include "opt_compat.h" @@ -547,4 +547,5 @@ struct sysent sysent[] = { { AS(__semctl_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0 }, /* 510 = __semctl */ { AS(msgctl_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0 }, /* 511 = msgctl */ { AS(shmctl_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0 }, /* 512 = shmctl */ + { AS(lpathconf_args), (sy_call_t *)lpathconf, AUE_LPATHCONF, NULL, 0, 0, 0 }, /* 513 = lpathconf */ }; diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index 26d7d27..dbe9e79 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 194910 2009-06-24 21:10:52Z jhb + * created from FreeBSD: head/sys/kern/syscalls.master 195458 2009-07-08 15:23:18Z trasz */ const char *syscallnames[] = { @@ -520,4 +520,5 @@ const char *syscallnames[] = { "__semctl", /* 510 = __semctl */ "msgctl", /* 511 = msgctl */ "shmctl", /* 512 = shmctl */ + "lpathconf", /* 513 = lpathconf */ }; diff --git a/sys/kern/systrace_args.c b/sys/kern/systrace_args.c index 985b7a5..e8d6bc3 100644 --- a/sys/kern/systrace_args.c +++ b/sys/kern/systrace_args.c @@ -3064,6 +3064,14 @@ systrace_args(int sysnum, void *params, u_int64_t *uarg, int *n_args) *n_args = 3; break; } + /* lpathconf */ + case 513: { + struct lpathconf_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + iarg[1] = p->name; /* int */ + *n_args = 2; + break; + } default: *n_args = 0; break; @@ -8133,6 +8141,19 @@ systrace_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) break; }; break; + /* lpathconf */ + case 513: + switch(ndx) { + case 0: + p = "char *"; + break; + case 1: + p = "int"; + break; + default: + break; + }; + break; default: break; }; |