Sponsored by: Serenity Cyber Security, LLC
Obtained from: OpenBSD
MFC after: 1 week
Details
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 54650 Build 51539: arc lint + arc unit
Event Timeline
sys/compat/linuxkpi/common/include/linux/string_helpers.h | ||
---|---|---|
3 | _LINUXKPI_LINUX_.. |
sys/compat/linuxkpi/common/include/linux/string_helpers.h | ||
---|---|---|
2 | Likely taken from OpenBSD so we can't change the licence I think |
sys/compat/linuxkpi/common/include/linux/string_helpers.h | ||
---|---|---|
2 | tl;dr: it's fine as public domain... too long: Small nit to pick. It's not entirely true we can't change it. Public domain means you can do anything you want, including copyrighting the work and licensing it for money (cf Disney). We are allowed to do 0BSD, but we don't have to do 0BSD. If it is from OpenBSD with this license, though, it may be that we can't change it due to politics rather than legal issues :). I'd feel better with this as 0BSD on the abstract level... but there's little enough creative content in this file to worry overmuch. These routines are implemented in one of the few sensible ways to do this. There's no comments for creative content. The guard header names are just the path. There's not a lot here to protect, so conversely, there's not much risk. The bigger issue is credit... and that's well covered by the Obtained From: line in the commit message. That's likely sufficient to give them credit (because it's the nice thing to do) as well as give people a way to track this back to the source should there ever be an issue that's litigated (which is possible, but very, very remote). | |
3 | #pragma once But it's changing the OpenBSD code and while that may be fine for this file, others are less trivial and it sets a bad precident. |
sys/compat/linuxkpi/common/include/linux/string_helpers.h | ||
---|---|---|
2 |
One thing I would do though possibly is to reference the path to the file and the revision it was taken from. But this is also not the first LinuxKPI file under "Public Domain" which makes it in this way and not the last (more even in the current batch). |