5,442 karma · joined Aug 13, 2015 (11y ago) · 2,231 submissions
comment 1d ago · link · parent
And yes, you indeed can run _arbitrary_ code, but it can only be interpreted. Fine for some things, but in general it will always be worse than JIT'ed or executing arbitrary machine code. And on iOS devices, which are almost always ran off of a battery, this makes interpreting code unviable as a general way to monkey patch things or delivering code to users without the app getting reviewed.
comment 1d ago · link · parent
comment 3d ago · link · parent
comment 4d ago · link · parent
Rust people do not shy away from criticism. But rust code typically need not worry about mismatched buffer sizes at library boundaries. Especially when it comes to rce enabling bugs.
comment 5d ago · link · parent
comment 1w ago · link · parent
I use none of these plapps on my Mac, and I've not had issues with the filesystem access APIs.
Xcode has never asked for these permissions though. Pretty sure Xcode *can* read any path in my ~. Without asking.
> I know Linux works this way, and it only ever works for stuff that the integrator ships (i.e. on Red Hat, they are called seLinux labels), so it's not something that independent publishers have ever done, and to my knowledge, despite it being so easy, not one independent developer has ever used them in the way you say, despite such a thing being possible for more than 25 years.
At least I can do it myself via selinux labels or systemd service sandboxing. Apple, the alleged user centrism saints, are yet to provide me with a user-centric way of sandboxing an application. I run browsers and dev shells in microvms on Linux. Those tools get a view of my filesystem that I constrain. Why can't I do the same on macOS? With all the filesystem restrictions they are imposing, they ended up still letting samba read SSH agent UDS - which allowed for a cool vuln where people on your local network could use your SSH keys. Gee, I truly wish those pesky developers actually defined what it is they need upfront so that a user could have a say in how much access these apps get on their system and what data they share.
Apple is the biggest company in the world. They need not your donation of labour.
comment 1w ago · link · parent
Just a thought but I guess if the airline web services were overwhelmed with noise, they wouldn't be able to do such price adjustments reliably. The only risk is that this might bump the prices for everyone and it will turn out that consumers are not price sensitive enough to force airlines to not do this.