diff options
author | allanjude <allanjude@FreeBSD.org> | 2017-06-11 02:04:39 +0000 |
---|---|---|
committer | allanjude <allanjude@FreeBSD.org> | 2017-06-11 02:04:39 +0000 |
commit | add5f3e1312c298d03bbd73a3ff11a1cb7d381f4 (patch) | |
tree | 2910e97c23abe263755e806b8c4c93f796481173 /sys/kern/init_sysent.c | |
parent | a792c4a78cc396cbe2e4eb2d13bb2d7a541a9185 (diff) | |
download | FreeBSD-src-add5f3e1312c298d03bbd73a3ff11a1cb7d381f4.zip FreeBSD-src-add5f3e1312c298d03bbd73a3ff11a1cb7d381f4.tar.gz |
MFC r318765:
Allow cpuset_{get,set}affinity in capabilities mode
Approved by: re (marius)
Diffstat (limited to 'sys/kern/init_sysent.c')
-rw-r--r-- | sys/kern/init_sysent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index a4b78ff..86802b4 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -532,8 +532,8 @@ struct sysent sysent[] = { { AS(cpuset_args), (sy_call_t *)sys_cpuset, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 484 = cpuset */ { AS(cpuset_setid_args), (sy_call_t *)sys_cpuset_setid, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 485 = cpuset_setid */ { AS(cpuset_getid_args), (sy_call_t *)sys_cpuset_getid, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 486 = cpuset_getid */ - { AS(cpuset_getaffinity_args), (sy_call_t *)sys_cpuset_getaffinity, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 487 = cpuset_getaffinity */ - { AS(cpuset_setaffinity_args), (sy_call_t *)sys_cpuset_setaffinity, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 488 = cpuset_setaffinity */ + { AS(cpuset_getaffinity_args), (sy_call_t *)sys_cpuset_getaffinity, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 487 = cpuset_getaffinity */ + { AS(cpuset_setaffinity_args), (sy_call_t *)sys_cpuset_setaffinity, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 488 = cpuset_setaffinity */ { AS(faccessat_args), (sy_call_t *)sys_faccessat, AUE_FACCESSAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 489 = faccessat */ { AS(fchmodat_args), (sy_call_t *)sys_fchmodat, AUE_FCHMODAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 490 = fchmodat */ { AS(fchownat_args), (sy_call_t *)sys_fchownat, AUE_FCHOWNAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 491 = fchownat */ |