News for hackers. Stuff that matters.
Re:Initial support for guided disk encryption in OpenBSD ins... by ori_b on Friday March 10, 2023 @06:51PM (#35103036)
> With something like pledge, you can't limit anywhere near as much as what you can limit with a MAC framework.

Go ahead, tell me a specific thing that I can't limit with pledge and unveil. Note that everything you mentioned when discussing Oracle could be done with them.

I've provided code. You haven't even listed a threat model. You just yelled a bit about root escapes, and then when challenged to provide an example, yelled about Oracle. And then yelled a bit about how MAC provides more, without any specifics about which relevant 'more' it provides. (I certainly agree that it's more flexible, more complicated, and more difficult to configure -- but not that it's more secure).

Again, there's example code sitting right there, which can be used for something like Oracle. Prove that there's an escape.

Re:Initial support for guided disk encryption in OpenBSD ins... by Zurrrrr on Friday March 10, 2023 @07:03PM (#35103180)
> Go ahead, tell me a specific thing that I can't limit with pledge and unveil. Note that everything you mentioned when discussing Oracle could be done with them.

Sigh. I've listed numerous examples, and like a dipshit you just change a few words in my reply and parrot it back at me, without seemingly comprehended a thing.

At this point you are just displaying zealotry. Even Theo disagrees with you.

> I've provided code.

Fucking exactly. That shows that you are not following the discussion at all, just blindly defending your niche OS.

We were talking about complex third party programs that are hard to lock down. A short code example using pledge is, now make sure you read these next few words and try to absorb them, entirely fucking irrelevant.

We're not talking about software developers trying to prevent exploitation of trusted code, we're talking about trying to lock down untrusted code in the event of a compromise.

> You just yelled a bit about root escapes, and then when challenged to provide an example, yelled about Oracle. And then yelled a bit about how MAC provides more, without any specifics about which relevant 'more' it provides.

No, I gave specific examples, and you just hand waived them and asserted pledge and unveil offer the same capabilities and defenses without bothering to show how.

> Again, there's example code sitting right there, which can be used for something like Oracle

No it fucking can't, at all, it's entirely irrelevant and has no relationship to oracle at all. Are you on the spectrum or something? How are you failing to follow this discussion to this extent? It's honestly baffling.

Re:Initial support for guided disk encryption in OpenBSD ins... by ori_b on Friday March 10, 2023 @07:05PM (#35103201)
> We were talking about complex third party programs that are hard to lock down. A short code example using pledge is, now make sure you read these next few words and try to absorb them, entirely fucking irrelevant.

That short code example LOCKS DOWN AN ARBITRARY THIRD PARTY PROGRAM that you pass it as a command line argument. I skipped arg parsing for simplicity, but it does exactly what you're asking for.

> No, I gave specific examples

Can you point to the code you posted that breaks out of the sandbox I gave? I seem to have missed it.

Re:Initial support for guided disk encryption in OpenBSD ins... by Zurrrrr on Friday March 10, 2023 @07:10PM (#35103250)
> That short code example LCOKS DOWN A COMPLEX THIRD PARTY PROGRAM. The fact that you haven't understood this shows that you're not understanding the discussion.

It doesn't do a fucking thing to lock down Oracle you absolute twit.

So, I'm going to go ahead and assume you are indeed on the spectrum at this point. Not that it matters. But once again you just parrot a point back at me lol.

Sigh. This is honestly so fucking stupid. Honestly you need a good slap at this point.

Pledge can ONLY restrict a program to the syscalls it needs. If the program needs syscalls which can be used to leverage an escape or escalation, pledge is fucking useless. SELinux doesn't have that weakness. That you don't understand this fundamental difference shows you're out of your depth, and that as suspected you're a waste of time to try and educate.

I'm not going to reply to you again given how technically illiterate you are in this context. Given how insecure and religious towards OpenBSD you seem to be, I'm assuming you're going to need to have the last word, and likely will yet again just parrot back a paraphrased version of one of my replies to you...yet again demonstrating your lack of originality or comprehension.

Have fun with that, and I hope having the last word gives you that little boost of self-confidence you seem to be craving to compensate for your clear lack of knowledge.

Best of luck to you in life. You need it.

Re:Initial support for guided disk encryption in OpenBSD ins... by ori_b on Friday March 10, 2023 @09:07PM (#35104364)
> It doesn't do a fucking thing to lock down Oracle you absolute twit. Oracle won't even start if you try to limit it as though it were Chrome.

Yeah, change the fucking #define I hardcoded for simplicity to match what Oracle needs. You'd probably want to remove the stuff that allows it to do graphics. Or make the config a command line argument.

For comparison, can you show me the SELinux policy that you would write to lock down Oracle, or Chrome, or Firefox, or some other complex third party piece of software with multiple processes and threads with different roles?

Re:Initial support for guided disk encryption in OpenBSD ins... by dang on Saturday March 11, 2023 @12:02AM (#35105542)
Yikes—you broke the site guidelines really, really, really badly, dozens of times in this thread. That's definitely not ok and I've banned the account.

I'm sure you know a lot and I normally wouldn't ban an account without warning at least once first, but the way you behaved in this thread was just way too extreme. I know this sort of no-holds-barred flamewar is standard in some systems-oriented communities and I don't have any judgment about that, but HN is much larger and we can't afford to have accounts posting like this—it would lead straight to the self-incineration of this site (by masses of people who likely know a lot less than you do).

If you don't want to be banned, you're welcome to email [email protected] and give us reason to believe that you'll follow the rules in the future. They're here: https://news.ycombinator.com/newsguidelines.html.