path: root/sys/compat/cloudabi64/cloudabi64_systrace_args.c
diff options
authorEd Schouten <ed@FreeBSD.org>2017-11-08 14:21:52 +0000
committerEd Schouten <ed@FreeBSD.org>2017-11-08 14:21:52 +0000
commit7e6155744d78c5f233af37fefc8f1e576a0fe63f (patch)
tree37276fa420d32a1380a86d37eb54675781f3334c /sys/compat/cloudabi64/cloudabi64_systrace_args.c
parent8c9e09194412512173244881d29da6c8f2d32e56 (diff)
Upgrade to CloudABI v0.17.
Compared to the previous version, v0.16, there are a couple of minor changes: - CLOUDABI_AT_PID: Process identifiers for CloudABI processes. Initially, BSD process identifiers weren't exposed inside the runtime, due to them being pretty much useless inside of a cluster computing environment. When jobs are scheduled across systems, the BSD process number doesn't act as an identifier. Even on individual systems they may recycle relatively quickly. With this change, the kernel will now generate a UUIDv4 when executing a process. These UUIDs can be obtained within the process using program_getpid(). Right now, FreeBSD will not attempt to store this value. This should of course happen at some point in time, so that it may be printed by administration tools. - Removal of some unused structure members for polling. With the polling framework being simplified/redesigned, it turns out some of the structure fields were not used by the C library. We can remove these to keep things nice and tidy. Obtained from: https://github.com/NuxiNL/cloudabi
Notes: svn path=/head/; revision=325555
Diffstat (limited to 'sys/compat/cloudabi64/cloudabi64_systrace_args.c')
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/cloudabi64/cloudabi64_systrace_args.c b/sys/compat/cloudabi64/cloudabi64_systrace_args.c
index 6dc8fc77163a..b2bbbfa06f08 100644
--- a/sys/compat/cloudabi64/cloudabi64_systrace_args.c
+++ b/sys/compat/cloudabi64/cloudabi64_systrace_args.c
@@ -352,7 +352,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
case 37: {
struct cloudabi64_sys_poll_args *p = params;
uarg[0] = (intptr_t) p->in; /* const cloudabi64_subscription_t * */
- uarg[1] = (intptr_t) p->out; /* cloudabi64_event_t * */
+ uarg[1] = (intptr_t) p->out; /* cloudabi_event_t * */
uarg[2] = p->nsubscriptions; /* size_t */
*n_args = 3;
@@ -1062,7 +1062,7 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
p = "userland const cloudabi64_subscription_t *";
case 1:
- p = "userland cloudabi64_event_t *";
+ p = "userland cloudabi_event_t *";
case 2:
p = "size_t";