News for hackers. Stuff that matters.
Re:I got robbed of my first kernel contribution by jacquesm on Wednesday September 27, 2023 @10:02AM (#37674807)
He did a ton of work and got credited for it. The four line patch isn't a ton of work once you've done the RCA and besides it required work by the maintainer to get it to pass. And he changed the essence of the interaction with the maintainer, who isn't going to hang around to teach a newcomer how to properly submit a patch in a cycle of back-and-forths (of which there were already plenty) in a security issue.
Re:I got robbed of my first kernel contribution by cp9 on Wednesday September 27, 2023 @10:08AM (#37674875)
> The four line patch isn't a ton of work once you've done the RCA and besides it required work by the maintainer to get it to pass

the debugging *is* the work! the work for which he went uncredited, that's the crux of the whole thing. he got a Reported-By which just means he ran into a bug and told someone about it, not that he root caused it, wrote a patch and bothered to submit it.

Re:I got robbed of my first kernel contribution by jacquesm on Wednesday September 27, 2023 @10:15AM (#37674988)
Reported-by is the normal response for this kind of patch, 1000's of examples in the kernel mailing lists.

This whole thing tastes to me like a pay-off for an unwanted gift, you don't go into this sort of an exchange on a security mailing list expecting kernel contributor credit for fixing a bug. That's just not how it works. Maybe it should work like that but it simply doesn't. OP had pre-set expectations and those were found to be in the wrong, nobody got 'robbed' and misrepresenting the exchange to one that makes the kernel maintainer seem like an asshole when that wasn't at all how it went down makes me feel even less good about the whole thing.

Reported-by ranges the gamut of 'I ran into this bug' to 'I found this issue and here is my patch, which I hope is useful to you'.

If you want to negotiate credit rules for 4 line patches up front you are of course welcome to do so but keep in mind that maintainers can and do accept patches, rewrite them and contribute them under their own name (and their responsibility), especially security patches.

Re:I got robbed of my first kernel contribution by JodieBenitez on Wednesday September 27, 2023 @10:41AM (#37675338)
I don't think the number of lines is relevant. A patch is a patch and the author should be credited as such.

> Maybe it should work like that

Definitely

Re:I got robbed of my first kernel contribution by ylyn on Wednesday September 27, 2023 @11:52AM (#37676531)
> A patch is a patch and the author should be credited as such.

But the patch was not taken. The maintainer fixed it a different way. So credit is given for reporting the issue and suggesting a fix, and that is what is represented by the Reported-By. Is that so hard to understand?

Re:I got robbed of my first kernel contribution by alexsmarsh on Wednesday September 27, 2023 @01:35PM (#37678168)
its the suggesting a fix (ie doing the research) thats missed, anybody can point out a bug
Re:I got robbed of my first kernel contribution by ylyn on Wednesday September 27, 2023 @11:51AM (#37676501)
No, that's not what "Reported-By" means. The kernel community has different conventions.

This entire HN comment section is ridiculous with everyone acting as if the author wrote an entire subsystem and someone else took attribution.

The author here figured out a bug and suggested a fix. It happens that they conmunicated their fix in the form of a patch, but that happens very regularly in kernel land.

In the end the author got a Reported-By, which is entirely appropriate for what happened. If the maintainer accepted the author's patch as-is or with minimal modification then yes, they should get Author attribution. But the patch that was taken was substantially different.

Re:I got robbed of my first kernel contribution by jacquesm on Wednesday September 27, 2023 @12:02PM (#37676715)
What is interesting about this whole thread is that apparently a whole raft of people are ready to string up the kernel maintainers for doing what they've been doing for years rather than to stop to question whether the first time contributor may have a communications issue or a different set of expectations than that which is the norm for a project that has been going for a couple of decades.

Weirder still because all of this has been done in the open for all of that time, it's not as if how the Linux kernel is maintained is a secret.

Re:I got robbed of my first kernel contribution by JodieBenitez on Thursday September 28, 2023 @04:34AM (#37686915)
Questioning the consensus is how things evolve and hopefully progress.