278 karma · joined Nov 19, 2012 (14y ago) · 65 submissions
comment 5y ago · link · parent
I expect the library is now woefully out of date, and documentation is mostly in the form of conference talk slides:
https://github.com/jbangert/mithril
there’s also https://github.com/aclements/libelfin (parsing only, supports dwarf); https://github.com/bx/elf-bf-tools (Turing machine inside elf relocations) and of course the “olg guard” of ELF reversing tools ERESI/elfsh (website seems down; GitHub mirror on https://github.com/thorkill/eresi).
comment 7y ago · link · parent
Most of this is because helicopters are complex machines (you're spinning really big blades pretty fast. Then using the blades + bearing to also lift the weight of the helicopter + more. Oh and you're changing the pitch angle of the blades. Oh you mean changing the pitch angles of the blades WHILE THEY GO AROUND...) and any failure in any of these parts is usually fatal so they have to be built and maintained to a very high degree of reliability.
Airplanes are much simpler (the spinning propeller attached to an engine is one part. The wing generating lift is another part. the flight controls are yet another part) and have more opportunities for redundancy ( a wing has multiple spars, and is attached to the airplane with many bolts. All helicopter blades meet in one hub, which is attached on one axis).
Combine that with aircraft scaling up more (you can build 500 person aircraft, but only 20 person or so helicopters), going much faster (a 120 dollar/hr propeller plane will outrun many/most helicopters) and the cost to go a given distance by plane will always be much cheaper than a helicopter.
comment 7y ago · link · parent
I’m sure HP/Agilent/others will gladly sell you the newer state of the art modes as well (although as high precision, very low volume devices they’ll be fabulously expensive); if an industry consortium wants even more precision you could staff a research team and shave off a bit more frequency error.
However, I think for industry it’s cheaper to use GPS receivers instead of supporting a powerful transmitter (and its use of value able spectrum). GPS can keep incredibly accurate time.
comment 9y ago · link · parent
The typical user the kernel developers focus on here is a kernel developer: always running the latest kernel with a stable user space. I find it extremely narcissistic that they reject security improvements for billions of devices, for what essentially just makes developers lives easier,
comment 9y ago · link · parent
There will always be some bugs that are in between being discovered (by someone, maybe malicious, maybe not), and being fixed. How else do you prevent against vulnerabilities in that stage?
comment 9y ago · link · parent
1) failing loudly is better than failing silently. A memory corruption issue (or a bad refcount, etc.) is not a benign issue that only becomes relevant under carefully crafted exploit conditions. You need the carefully crafted exploit to get the system back into an attacker controlled state (I.e. code execution); by itself (with non-malicious inputs, usually something random or slightly atypical — enough to not have been noticed yet, but typical enough that some program does it) the system is likely to either panic immediately (same result as with pax) or to corrupt some memory, in which case you will have a lot of strange behaviour to track down later (users will probably blame them on hardware or on their user space, so you might never see them. for example a recent OSDI paper showed that ext3/4 had several real world data corruption bugs. If these aren’t as frequent as the recent bcache issues, no one notices).
2) When I was doing research projects (into memory defenses on the kernel) about 3 years ago, there was no (commonly used, that I saw) automated testing infrastructure in the kernel. This makes catching regressions, especially in drivers for rare hardware, hard to catch. While tests aren’t a panacea, i think Linux overestimates what fraction of problems Code reviews will catch.
3) the “don’t break user space” strategy is already failing. Every mainstream distribution and embedded vendor stays on an old kernel branch. Big deployments do staged rollouts and extensive burn in tests. This isn’t just because the kernel, but because of extensive abreaking changes everywhere (compilers, standard libraries, etc. all need to change sometimes).the last time this happened, IIRC it was some audio bug in a strange configuration. In my experience, running a non standard Linux audio confit causes countless breakages, so an additional one in the kernel that might save my personal data from being exfiltrated is worth it. Most users have average (and therefore well tested) setups, which means thy won’t see breakages as often.
Perfect software doesn’t exist, and even MSFT backed off maintaining religious backwards compatibility (note that Microsoft’s approach was not to flame at developers and hinder new development, but through extensively building compatibility shims. Often, these came with trade offs strongly in favours or security, e.g. UAC).
Breaking user space is ok; users already expect breakage, and the cost of the additional breakages is low (to users and to society as a whole) compared to the cost of security breaches [citation needed, but Linux kernel security is relied on in a lot of places].
comment 9y ago · link · parent
comment 9y ago · link · parent
Other luxury consumer goods use pretty similar schemes, e.g. Audio gear (e.g. bang + olufsen: the higher the number the better, with some number of meaningless zeroes added depending on fashion).
One observation might be that these companies all have halo products that are used to anchor/promote the volume offerings that drive revenue (e.g. The Audi r8 and the a3, the 90k speakers and the 1k set)
comment 9y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
Unfortunately, by not really crediting or even acknowledging this research (and also ignoring a lot of work thats been happening in academia on hardening commodity kernels and applications), the Linux kernel is a)playing catch up to other operating systems (instead of adapting newer techniques) and b) alienating researchers even further.
comment 10y ago · link · parent
comment 10y ago · link · parent
It is unrealistic to expect perfect responses from human drivers, or even compliance with rules. Also, human attention is severely limited (there are only so many things a human can keep track of, especially for extended periods of time). In other countries(e.g. Europe, which as mentioned further down had a more severe drop in traffic fatalities), traffic rules are often very different. For example, right turning on a red light (which can lead to collosions, hit pedestrians, Etc.) and the rather confusing right of way situation (there is no general rule for right of way, stop signs are in the order in which people arrive -- which is hard to figure out for people. Right before left or yield signage doesn't require looking at every other lane, but allows the situation to be resolved statically). There are also cleverer incentives, such as dynamically times traffic lights that give you a 'green wave' if you're going the speed limit -- so people are conditioned to drive at normal speeds. Many traffic lights here even in well off cities seem to be completely unsynchronized(or they all turn green at the same time) training drivers to speed through.
Similarly, being originally from Germany (which has no speed limits in large parts of the highway network, and higher speed limits in other places), passing on the right (which means you have to be aware of twice as many lanes which could cut into yours) and the focus on enforcing speed limits and not following distance seems odd. 60 vs 70 or perhaps even 80 isn't going to make that much difference when avoiding a crash, but having half a second vs two or three seconds to react is substantial. I have heard many anecdotes of people getting expensive speeding tickets for going 80, not one for tailgating.
At the end of the day, there will be collisions, and there will also always be a human factor in them, however no matter how draconian we make the penalties or how much we shift blame (or even not assign it), people will still drive, and we should spend some time thinking about how to make realistic driving conditions safe.
comment 10y ago · link · parent
On the other hand, consuming more fuel, making car ownership more expensive etc also carries real costs. People can't get work done, spend more of that lifetime tAking less efficient means of transportation, doing less enjoyable things like waiting on a greyhound bus, etc.
The sensationalist 'caused x deaths' headlights are very hard to reason With and usually one sided. That being said, car emissions are still a problem and there is a reason for these(and other public health) rules -- the response should perhaps be a little bit less emotional though. ( there are plenty of scandals that are probably more worthy of this emotional response, e.g. Illegal dumping or contamination, unhealthy foods, antibiotic overuse, etc.)
comment 10y ago · link · parent
Another factor might also be that many high end imports are services at the dealer/speciality shops and the service interactions with your mechanic are for cars that have less than stellar maintenance-- which skews the picture significantly.
comment 10y ago · link · parent
comment 10y ago · link · parent
Perhaps one of the causes is that every place gets to make its own regulations, classifications etc. -- not just how to zone, but what zoning means, what categories there are, etc.
comment 10y ago · link · parent
Sure, you don't want someone to open a chemical factory next to your backyard. You don't want heave transport moving through your side street. You don't want the nice house with a mountain view to suddenly have twenty story high rises obstructing that view, it makes sense that most places have restrictions on this. However, when did people think it is a good idea to make one office job different from another office job? In Germany(the ultimate bureaucrat heaven), there is as far as I'm aware no zoning issue preventing office work in residential buildings ( residential areas might have limits as to how big buildings might be, so the apple spaceship probably wouldn't be allowed in a historic residential area, but opening a doctors office, law firm or software consulting company in a residential building is fine as far as zoning goes -- and tech/engineering companies routinely trade buildings with insurance companies and the like).
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 11y ago · link · parent
If multiple copies of the same redundant information are not identical, then that is definitely a case of invalid input.
I try to address this class of parser vulnerability with my Nail parser generator (OSDI '14 , github.com/jbangert/nail ), which is inspired by Meredith's hammer.
comment 11y ago · link · parent
I also made some different design decisions than Hammer, giving it a slightly different goal: code generation instead of runtime combinators, output generation, no semantic actions...
comment 11y ago · link · parent
Once you need to evaluate a Turing machine to see what a file (or in my case, a set of page tables) actually means, you loose a lot of tractability.