[PATCH] Cygwin: sched_setaffinity: fix EACCES if pid of other process is used
Corinna Vinschen
corinna-cygwin@cygwin.com
Mon Mar 10 13:57:07 GMT 2025
On Mar 10 13:47, Christian Franke wrote:
> Corinna Vinschen wrote:
> > 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?
>
> I got push permissions to (at least) Cygwin setup repo in August 2022, but
> apparently the ssh login no longer works. The debug output shows that the
> correct (3072 RSA) pubkey is passed.
You were moved to an inactive state due to, well, inactivity.
I just asked the sware overseers to move you back to active. You should
be able to push your patch now.
> > Wouldn't you like to join our cygwin-developers IRC channel as well?
> > https://cygwin.com/irc.html
>
> Possibly, but need to refresh my knowledge first as it's been a long time
> that I used IRC - IIRC 20+ years :-)
Well, we pull you through ;)
Thanks,
Corinna
More information about the Cygwin-patches
mailing list