Better HN
topnewbestaskshowjobs
Log inSign up

temprature

185 karma · joined Dec 21, 2016 (9y ago) · 55 submissions

Submissions

comment 4y ago · link · parent

Do you have examples of what in OpenBSD you found "utterly complicated to setup and use"? I've been using for several years now because of how devoid of complexity it is and because of how comprehensive the documentation is. Trying to even install other Unices nowadays frustrates me to no end because they're more complicated than "just keep pressing enter".

comment 6y ago · link · parent

> First off: Fair Use does not exist. It is an assumption, not a defined situation or law.

https://en.wikisource.org/wiki/Copyright_Act_of_1976#%C2%A7_...

Further recommended reading: Lenz v. Universal Music Corp.

comment 7y ago · link · parent

That's in Netflix's custom stack that they contributed to freebsd, and not used by default.

comment 8y ago · link · parent

Where? I can't see discussion about this submission at that link.

comment 8y ago · link · parent

Removes the need to add a separate include for namespacing, ie. no pledge.h header needed.

Makes the calls shorter and easier to read. Consider:

    if (pledge("stdio rpath tmppath proc exec", NULL) == -1)
        err(1, "pledge");
vs.

    if (pledge(PLEDGE_STDIO | PLEDGE_RPATH | PLEDGE_TMPPATH | PLEDGE_PROC | PLEDGE_EXEC, NULL) == -1)
        err(1, "pledge");
Makes it easier to add a pledge interface to other languages with having to keep chasing bit flag changes, ie. there's been several new promises add since 2015 but the OpenBSD::Pledge perl module hasn't needed to change.

And really, unless you're using pledge wrong, ie. by using it outside of the startup path and/or not checking the return value, what does compile-time checking get you?

comment 8y ago · link · parent

It's also pretty trivial to run the program. Maybe it's different in other projects, but I'm pretty sure in OpenBSD you're encouraged to actually test the code, not just ship it because it compiles. There's 2 programs in OpenBSD's base that don't abort on the pledge call failing, they're both shells, and they don't fail quietly.

comment 8y ago · link · parent

Nice backpedaling.

comment 8y ago · link · parent

Implementing KPTI didn't involve any of what you just said.

comment 8y ago · link · parent

An "actual vulnerability" has been found. It's amazing that even after the lazy FPU fiasco, people think OpenBSD did this on a complete whim.

comment 8y ago · link · parent

OpenBSD and DragonFly had their meltdown mitigations done in a couple of weeks from when it was publicly disclosed. If it's good enough for projects developed by handfuls of volunteers, it's good enough for the multi-hundred billion dollar megacorps.

comment 8y ago · link · parent

It's a sysctl that can be toggled. If you want hyperthreading and don't care about the security concerns, you can turn it back on. The commit message specifically mentions that this was implemented because many modern machines don't allow hyperthreading to be disabled in the BIOS.

You'll find out in a couple of months why they did this. I hope you'll remember the comments you've written when that happens, because you might learn something about what OpenBSD means when they say they "strongly suspect" something.

comment 8y ago · link · parent

Copperhead is based in Canada but you appear to be citing US law.

comment 8y ago · link · parent

I guess Richard Stallman violated the "spirit of the GPL" when he made MicroGnuEmacs change their name.

comment 8y ago · link · parent

Brainy isn't open source or publicly available, you can click on the project names in the list to see its scan results.

comment 8y ago · link · parent

Indeed, surely Mac OS includes its own man pages? man 2 mprotect, man 2 unlink

comment 8y ago · link · parent

> I would trust wordpress to keep their signing keys safe.

What signing keys? Wordpress's automatic updates aren't signed, so your trust is horrendously misplaced.

Someone already did the work for them to implement it[0], and rather than commit it, a Wordpress developer wrote a blogpost saying signing isn't really that important[1].

[0] https://core.trac.wordpress.org/ticket/39309

[1] https://medium.com/@photomatt/wordpress-and-update-signing-5...

comment 8y ago · link · parent

If you think a preimage attack against MD5 is "trivial" you should demonstrate it. People would be very interested in this because no one has managed to do it yet.

Creating two files with the same MD5 is a very different beast from creating a file with the same MD5 as an arbitrary pre-existing file. These third parties would need to have colluded with the DragonFly developers to make what you're proposing possible.

comment 8y ago · link · parent

There have been no practical demonstrations of colliding the MD5 of an arbitrary file (ie. pre-image attack), only situations where two files are created specifically with the intended purpose of creating a collision. This is precisely what the post you replied to said but you seem to have not understood that there's a distinction.

Yes, it is possible that the DragonFly developers could collude to create two ISOs with the same MD5, one good and one malicious. No, it is not possible that random, evil ne'erdowells could replace the ISO with one with the same MD5, unless the DragonFly developers have conspired with them to make that possible.

If you don't trust the DragonFly developers not to collide the MD5s, you probably shouldn't trust them with the code running in your kernel anyway.

comment 8y ago · link · parent

OpenBSD's base ships the most recent LLVM and Clang (5.01), but there's no LLDB yet and gdb is outdated (6.3, the last GPLv2 version).

He would have had a much better time using C99 than C++11, especially since he didn't want to install a newer gdb from ports.

comment 8y ago · link · parent

For starters, its own libc and a proper filesystem (the author wrote their own ext2 implementation).

comment 8y ago · link · parent

There's a lot of people install memcached without realising it listens on all addresses by default. If you install it and run it via whatever system your OS/distro uses, you'd never need to look at the man page so you wouldn't find this out.

comment 8y ago · link · parent

In what country is it acceptable to not treat others with basic courtesy and respect? Which is really all the list is asking for.

comment 8y ago · link · parent

Given that there's groups of people railing against being told not to do the things on this list, yes, apparently.

comment 8y ago · link · parent

Performance is only an issue if your disk can write faster than your CPU can hash. hammer2 changed its hash a couple of years ago because this started happening with newer NVMe drives[0], but before that disk writes weren't CPU-bound.

[0] http://lists.dragonflybsd.org/pipermail/commits/2016-June/50...

comment 8y ago · link · parent

Actual lawyers have also read both licenses and came to the conclusion that they are incompatible: https://sfconservancy.org/blog/2016/feb/25/zfs-and-linux/

The main debate over the incompatibility isn't about GPL vs CDDL; even Canonical isn't arguing that the licenses aren't incompatible. It's specifically about the Linux kernel vs ZFS; ie. does linking the ZFS module with the Linux kernel make the ZFS module a derivative work of the Linux kernel.

If yes, it has to be able to have the GPLv2 applied to it, which it can't. If no, then the incompatibility is irrelevant, and the kernel and ZFS can be distributed together and under their own separate licences. This is where opinions (by legal experts, not people on the internet) differ, the FSF and SFC's lawyers say this makes ZFS a derivative work and you can't distribute them together, Canonical's lawyers say it doesn't and therefore you can.

comment 8y ago · link · parent

They don't like embargoes but they don't go out of their way to break them. The only embargo I know of that OpenBSD broke was for OpenSSL, and that was an honest mistake, as explained here: https://www.tedunangst.com/flak/post/regarding-embargoes

There was another "incident" with the KRAK embargo, where OpenBSD got permission to silently patch it early and then the researcher who found it regretted giving them permission.

I think people put these two incidents together, combine it with the developers' attitudes towards embargoes and come out with: OpenBSD doesn't honour embargoes!

comment 8y ago · link · parent

He told them they could go ahead, he then regretted it but that's not OpenBSD's fault.

From https://www.krackattacks.com/#openbsd :

> As a compromise, I allowed them to silently patch the vulnerability.

Receiving permission to patch is the opposite of breaking an embargo.

comment 9y ago · link · parent

I enjoyed it retroactively because it set up this continuity gag a few seasons later: https://www.youtube.com/watch?v=6rxdhKRODLw#t=59s

comment 9y ago · link · parent

> OpenBSD won't get notified about vulnerabilities until well after everyone else

Which doesn't make a difference if OpenBSD still gets their patch out at the same time as everyone else. Unlike other vendors, it doesn't take OpenBSD four months to go from vulnerability notification to patch release, if you look at previous disclosure timelines they typically have a patch out in days.

comment 9y ago · link · parent

No, why should there be? If you own a domain name you can get a DV cert for that domain name. It's that simple.

There shouldn't be any policing at all of which domain names are allowed to have certificates.

12