HNHacker News
TopNewBestAskShowJobs

floatboth

5,763 karma · joined October 27, 2011

this website sucks
submissionscomments
floatboth··on Nvidia prepares to abandon $40B Arm bid
> Amazon could be designing their own core right now

Would require an architectural license and lots of talent and time.

Getting stock Neoverse cores is an incredible deal for them, this is probably a big part of the reason they can offer cheaper services from their chips.

Arm cores aren't really all that behind, there are just tendencies for wildly incorrect comparisons (past Arm cores vs upcoming competition cores, scale-targeted configurations vs workstation-targeted ones, etc.)

floatboth··on Pwnkit: Local Privilege Escalation in polkit's pkexec (CVE-2021-4034)
It is a setuid binary because it does sudo.

You cannot accomplish sudo without setuid. Note that sudo means gaining privilege in the current context, with all its environment (including inherited file descriptors, the process group, etc.), not doing a privileged action at a distance.

> also true for the /usr/libexec/polkit-agent-helper-1 helper it uses which is a setuid binary but doesn't really have to be

Try making it non-setuid and see what happens.

(It will fail to check your password because most mechanisms for doing so, like the usual pam_unix, are only accessible to root.)

floatboth··on Pwnkit: Local Privilege Escalation in polkit's pkexec (CVE-2021-4034)
> guess there are simple embedded js interpreters

In fact a duktape backend has just landed:

https://gitlab.freedesktop.org/polkit/polkit/-/merge_request...

Speaking of security though, I'd trust SpiderMonkey much more because it's battle-tested in the most hostile environment imaginable (millions of browser instances loading completely untrusted code 24/7). But in this context we don't execute untrusted code so whatever :)

> pkexec should not exist

Hmm. For things that do want "just a graphical sudo" for whatever reason, it is kinda the perfect answer. Reusing the per-desktop authorization UI that is used for more fine-grained actions for a sudo-like tool is the correct thing to do. No one wants to have more redundant authorization mechanisms and UIs…

floatboth··on Pwnkit: Local Privilege Escalation in polkit's pkexec (CVE-2021-4034)
pkexec is a setuid binary because pkexec is just a sudo-alike that uses polkit for authorization.

> a scheme of having a privileged service that acts on the requests of unprivileged processes

That is precisely what polkit is!

floatboth··on Google Is Forcing Me to Dump a Perfectly Good Phone
> newer Android versions would not run on this chip

Why would all the Android Java stuff actually require a newer chip?

e.g. OnePlus 3 started with 7.x, was officially updated only to 9.x, but with LineageOS it runs 11.x currently.

> Untrusted sources

As if the vendors are super trustworthy…

> you might be able to install Google Apps... after the 6th try

Google services are "just one more zip to flash" and I've never heard of having to retry multiple times.

> no Google Wallet

Not too hard to carry the actual physical cards, or use a separate device (smartwatch).

> or banking apps

Complain to your bank / switch to a better bank.

> no idea what is included

LineageOS shoves the commit log right in your face, you can have a pretty good idea when it's really important to update.

> Performance and stability of the device usually takes a big dive

Really? Performance and stability are typically the reasons to switch to custom.

CyanogenMod/LineageOS have been, in my experience, the most performant and stable Android experiences by far, since the 4.x days at least.

floatboth··on Google Is Forcing Me to Dump a Perfectly Good Phone
You can get Google Camera on anything: https://www.celsoazevedo.com/files/android/google-camera/
floatboth··on The FSF’s relationship with firmware is harmful to free software users
Most processors with Arm cores do not have "management engines", in fact lots are almost blob-free. Some like Marvell Armada 7k/8k can run without any blobs.
floatboth··on Open-Sourcing our Firmware
The stock edk2 menu has, like, two items.

System76 have built a more serious setup UI: https://github.com/system76/firmware-setup

Microsoft’s https://github.com/microsoft/mu also probably contains UI from the Surface line or something??

floatboth··on Rnote – A note-taking application for drawing tablets, written in Rust and GTK4
> not production-ready

Glade is very mature, people use it extensively for serious software:

https://blog.horizon-eda.org/misc/2021/01/29/glade.html

Cambalanche is a fresh start, with gtk4 in mind, of course it's not production ready yet. But I'm really excited about it, the architecture is cool (probably the best use of the broadway backend ever)

floatboth··on Open-Sourcing our Firmware
Ooh, they use chromium ec, nice. Where is its serial console accessed? :)
floatboth··on Rnote – A note-taking application for drawing tablets, written in Rust and GTK4
Way to bury the lede — "simple note taking app" usually makes people think of the usual text notes. This is a handwritten notes app for drawing tablets, like a more modern xournalpp. Nice!
floatboth··on Raspberry Pi Direct: buy RP2040 in bulk from just $0.70
Oh, 0 in stock now. Was completely not found on jlcpcb when I wrote that comment. Sometimes I forget how buggy that search is.
floatboth··on Hello Mac OS X Tiger
The language selector being "Objective-C or Java" is quite something. Tiger really was made in that era…
floatboth··on Raspberry Pi Direct: buy RP2040 in bulk from just $0.70
Will the RP2040 ever be available at LCSC/JLCPCB?
floatboth··on IETF should keep XMPP as IM standard, instead of Matrix
How is it "nice" when any struct member could map to either an attribute or a child element?

XML is a markup language. It's in the name even. Trying to use it for serialization is weird.

floatboth··on Firefox 96
> Cookie Policy: Same-Site=lax by default

LET'S GOOOOO

The day web developers forget about stupid "csrf protection tokens" is coming \o/

floatboth··on Pluton is not currently a threat to software freedom
Manufacturers have the option of producing standards-compliant goddamn hardware! Say for PCIe, even if it's a buggy and quirky implementation but it does support ECAM, you can still expose a PNP0A08 and deal with quirks in firmware (hello Socionext/Marvell/NXP).

> PEP (power management plug-in) in the OS […] ACPI spec allows a manufacturer to do this

Doing management in AML is almost the whole point of ACPI. Microsoft pushing this PEP thing into the ACPI spec is bad. This is the "letter" of ACPI now, unfortunately, but it's very much against the original "spirit" of ACPI :/

floatboth··on Pluton is not currently a threat to software freedom
Chromebooks give you full flashing & serial console access for both AP (main CPU) and EC over an SBU cable, run open source firmware on both AP and EC (modulo FSP/AGESA), even run open source firmware on the root of trust (you can't replace that one with an unsigned build on a retail device but you can study it for sure).

Apple silicon Macs have the main CPU cores fully in control, with zero external peripherals having full DMA access to system RAM (everything goes through IOMMU), and have an interesting secureboot architecture that allows different security levels on different OS installations (you can run unsecured Linux side-by-side with a fully Netflix-ready macOS).

I have much worse news about the typical Intel BootGuard'ed PC laptop.

floatboth··on Pluton is not currently a threat to software freedom
These 32-bit SurfaceRT/etc. devices were a complete failure; this has nothing to do with current Surface Pro X etc. which do allow everyone to easily turn Secure Boot off.
floatboth··on Pluton is not currently a threat to software freedom
Didn't Linux developers say that Qualcomm's ACPI tables are a horrific Windows-specific mess that has close to zero standard PNP* things?
floatboth··on Pluton is not currently a threat to software freedom
Where did the ISP idea come from?!

How can ISPs do anything close to this when they're not even concerned with how many devices you have? ISPs just do not connect individual end user "devices", they connect subnets.

> content providers may refuse to serve you

Providers of Hollywood-copyright-mafia content like Netflix have already been demanding hardware DRM (at least for high resolutions) for years.

Providers of public ad-supported content like YouTube care about maximizing views above everything. They'll happily serve a 4K stream to a Windows 98 machine if it can connect with modern TLS somehow. YouTube isn't even trying to fight youtube-dl all that much, there was an attempt at throttling recently but it was very quickly defeated. Heck, YouTube Music on the web does not use DRM at all, and that's all music-copyright-mafia content there.

floatboth··on Pluton is not currently a threat to software freedom
Basically Google Pay and other NFC payment providers. Haven't encountered SafetyNet requirements anywhere else.
floatboth··on In Response to My first impressions of Web3
Buttcoiners' "future" is all about financializing everything. They have ZERO claim to "good old web 1.0 decentralization" because the original web was all about information wanting to be free!
floatboth··on In Response to My first impressions of Web3
And both are now eclipsed by the wild speculation. The vast majority of buttcoins' "usage" is all about "number go up".
floatboth··on Green Bubbles: How Apple Quietly Gets iPhone Users to Hate Android Users
What? I'm not saying SMS is the better option or something. I'm saying that people in most countries picked WhatsApp/Telegram over the Apple-specific iMessage!
floatboth··on Green Bubbles: How Apple Quietly Gets iPhone Users to Hate Android Users
People in normal countries also don't like SMS anymore, but somehow everyone picked WhatsApp/Telegram…
floatboth··on Mozilla Foundation pausing cryptocurrency donations
> when >90% of BTC mining is backed by clean energy. IIRC it's around 50% now

What? There is no fucking way mining is using anywhere near 50% clean energy.

And using any energy for proof-of-waste is awful. That clean energy could've been used for something productive rather than a hashing lottery.

> on this basis

That's far from the only problem. The bigger problem is that this "technology" only works for crime and does not work as an actual regular currency.

floatboth··on Keyboard lets people type so fast it’s banned from typing competitions
nethack! although it would only be cheating in the "fastest death" category
floatboth··on Keyboard lets people type so fast it’s banned from typing competitions
Any decent (gaming/enthusiast/high-end) keyboard uses dioded on every key to achieve N-key rollover (sometimes only 4KRO on the USB output due to sticking with boot protocol or whatever other reasons)
floatboth··on AMD Ryzen 6000 Series Mobile CPUs Feature Microsoft's Pluton Security
Ask marcan for more info :) but IIRC Apple's secure element does not do anything by itself and is behind an IOMMU.
← PreviousPage 5 of 34Next →