[PATCH] Cygwin: sched_setaffinity: fix EACCES if pid of other process is used
Corinna Vinschen
corinna-cygwin@cygwin.com
Mon Mar 10 10:12:52 GMT 2025
On Mar 8 14:24, Christian Franke wrote:
> This fixes:
>
> $ taskset -p 0x1 1234
> pid 1234's current affinity mask: fffffff
> taskset: failed to set pid 1234's affinity: Permission denied
>
> Perhaps older Windows versions were more relaxed if PROCESS_SET_INFORMATION
> is granted.
>
> --
> Regards,
> Christian
>
LGTM. Btw., do you have push permissions? From what I can tell,
you already have an account on sourceware and it looks like you have
push perms. Is your .ssh key up to date?
Wouldn't you like to join our cygwin-developers IRC channel as well?
https://cygwin.com/irc.html
Thanks,
Corinna
More information about the Cygwin-patches
mailing list