summaryrefslogtreecommitdiffstats
path: root/sys/sys
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2017-03-19 15:07:30 +0000
committertrasz <trasz@FreeBSD.org>2017-03-19 15:07:30 +0000
commit5ec65527ada093e90047edf47beabdcc95d99b95 (patch)
tree2c0fe57fef54938528607a68167dc531ce28c577 /sys/sys
parenta43cc8b98dc6738add7832af5e872a83d666a0de (diff)
downloadFreeBSD-src-5ec65527ada093e90047edf47beabdcc95d99b95.zip
FreeBSD-src-5ec65527ada093e90047edf47beabdcc95d99b95.tar.gz
MFC r313015:
Add kern_cpuset_getid() and kern_cpuset_setid(), and use them in compat32 instead of their sub_*() counterparts. Sponsored by: DARPA, AFRL
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/syscallsubr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sys/syscallsubr.h b/sys/sys/syscallsubr.h
index f9cb3ed..f783b90 100644
--- a/sys/sys/syscallsubr.h
+++ b/sys/sys/syscallsubr.h
@@ -87,6 +87,10 @@ int kern_clock_settime(struct thread *td, clockid_t clock_id,
int kern_close(struct thread *td, int fd);
int kern_connectat(struct thread *td, int dirfd, int fd,
struct sockaddr *sa);
+int kern_cpuset_getid(struct thread *td, cpulevel_t level,
+ cpuwhich_t which, id_t id, cpusetid_t *setid);
+int kern_cpuset_setid(struct thread *td, cpuwhich_t which,
+ id_t id, cpusetid_t setid);
int kern_dup(struct thread *td, u_int mode, int flags, int old, int new);
int kern_execve(struct thread *td, struct image_args *args,
struct mac *mac_p);
OpenPOWER on IntegriCloud