Ian Douglas Scott
Ian Douglas Scott
I guess this abstraction is useful in wayland-rs for things that are using wayland-rs without sctk? Assuming it's thus necessary to have in client-toolkit, there might be a couple options:...
Looking at this again, as noted in https://github.com/bytecodealliance/rustix/pull/851, `LOCAL_PEERCRED` on FreeBSD and macOS (as well as DragonflyBSD) will also include the `pid`. But contains an array of GIDs instead of...
FreeBSD's `getpeereid()` is defined in https://github.com/freebsd/freebsd-src/blob/main/lib/libc/gen/getpeereid.c. https://github.com/freebsd/freebsd-src/blob/main/sys/sys/ucred.h has the definition for `struct xucred`. ```c /* * This is the external representation of struct ucred. */ struct xucred { u_int cr_version;...
Presumably `getgrouplist` gets the list of groups associated with the user in `/etc/group`. Which is different from the GIDs associated with a process. It's not necessarily a problem that changes...
Yep. On the compositor side, I tried to improve this a bit with https://github.com/Smithay/smithay/pull/851. Though further auditing of the code dealing with shm mappings is welcome. The compositor should attempt...
Yeah, true. I forgot about that part. I think that's why I haven't tried to use it. I'm not aware of any Linux API that would allow the client to...
I guess (at least on Linux) a client could just allocate a memfd much larger than it needs, and never resize the pool. I'm not sure there's any harm in...
I'm not really familiar with Codeberg/Foregejo (I still haven't contributed to anything hosted there yet; unlike Gitlab which I've used a lot and been happy with), but this generally seems...
Oh, and I suppose `calloop` uses Windows and macOS CI, which presumably Codeberg doesn't provide, and would be a hassle to self-host. That's not a concern for most things Smithay...
I'm a bit wary of moving away the platform from where all the users are (even if it seems to be heading in a dubious direction). But I do like...