diff options
author | emaste <emaste@FreeBSD.org> | 2016-09-07 04:07:43 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2016-09-07 04:07:43 +0000 |
commit | 5c6abe41ac6189adca0602413fe6bed7306d0e58 (patch) | |
tree | 4f42c10f65b6a84e0bc9da438312589c29a41c34 /sys/kern | |
parent | 33cdd4c4c480c6aab94d8cbb6f3500fa01eafb4d (diff) | |
download | FreeBSD-src-5c6abe41ac6189adca0602413fe6bed7306d0e58.zip FreeBSD-src-5c6abe41ac6189adca0602413fe6bed7306d0e58.tar.gz |
Regen after r305518: Allow getdtablesize in capability mode
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/init_sysent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 10e6b6d..942bec0 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -123,7 +123,7 @@ struct sysent sysent[] = { { AS(getitimer_args), (sy_call_t *)sys_getitimer, AUE_GETITIMER, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 86 = getitimer */ { compat(AS(gethostname_args),gethostname), AUE_SYSCTL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 87 = old gethostname */ { compat(AS(sethostname_args),sethostname), AUE_SYSCTL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 88 = old sethostname */ - { 0, (sy_call_t *)sys_getdtablesize, AUE_GETDTABLESIZE, NULL, 0, 0, 0, SY_THR_STATIC }, /* 89 = getdtablesize */ + { 0, (sy_call_t *)sys_getdtablesize, AUE_GETDTABLESIZE, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 89 = getdtablesize */ { AS(dup2_args), (sy_call_t *)sys_dup2, AUE_DUP2, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 90 = dup2 */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 91 = getdopt */ { AS(fcntl_args), (sy_call_t *)sys_fcntl, AUE_FCNTL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 92 = fcntl */ |