gotta admit the context here (Linux kernel) makes one wonder if they should be doing this
http://www.openwall.com/lists/kernel-hardening/2018/04/15/1 …
(via @mfukar)pic.twitter.com/BcoGCteN9D
Yeah, I do @musllibc, FOSS & infosec stuff. But now is not the time for a mostly-/only-tech Twitter feed.
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
Add this Tweet to your website by copying the code below. Learn more
Add this video to your website by copying the code below. Learn more
By embedding Twitter content in your website or app, you are agreeing to the Twitter Developer Agreement and Developer Policy.
| Country | Code | For customers of |
|---|---|---|
| United States | 40404 | (any) |
| Canada | 21212 | (any) |
| United Kingdom | 86444 | Vodafone, Orange, 3, O2 |
| Brazil | 40404 | Nextel, TIM |
| Haiti | 40404 | Digicel, Voila |
| Ireland | 51210 | Vodafone, O2 |
| India | 53000 | Bharti Airtel, Videocon, Reliance |
| Indonesia | 89887 | AXIS, 3, Telkomsel, Indosat, XL Axiata |
| Italy | 4880804 | Wind |
| 3424486444 | Vodafone | |
| » See SMS short codes for other countries | ||
This timeline is where you’ll spend most of your time, getting instant updates about what matters to you.
Hover over the profile pic and click the Following button to unfollow any account.
When you see a Tweet you love, tap the heart — it lets the person who wrote it know you shared the love.
The fastest way to share someone else’s Tweet with your followers is with a Retweet. Tap the icon to send it instantly.
Add your thoughts about any Tweet with a Reply. Find a topic you’re passionate about, and jump right in.
Get instant insight into what people are talking about now.
Follow more accounts to get instant updates about topics you care about.
See the latest conversations about any topic instantly.
Catch up instantly on the best stories happening as they unfold.
gotta admit the context here (Linux kernel) makes one wonder if they should be doing this
http://www.openwall.com/lists/kernel-hardening/2018/04/15/1 …
(via @mfukar)pic.twitter.com/BcoGCteN9D
One thing I've wondered for a while – is the casting between "compatible" structs actually allowed in this MIT OS shell example? https://pdos.csail.mit.edu/6.828/2016/homework/sh.c … I've taught it a few times and feel a twinge of guilt each time
as far as I know, this only works in practice and is not guaranteed.
there's some language about "common initial sequence" in the standard and it would be great if it applied here, but it only applies to unions.
is that right @volatile_void?
I think that's right. Proper way to do it is using initial member rather than common initial sequence.
as in, context is a union of (struct camellia_ctx, ...)? Probably the most reasonable.
I don't think this it what Rich was referring to. This thread is about poor man's subtyping, not poor man's polymorphism. Keep using unions for poor man's polymorphism, it's the usecase that doesn't have problem (using them for type-punning has problems, but no type-punning here)
I believe that Rich was saying was that for poor man's subtyping, you should write: struct colored_dot { struct dot d; int color; }; instead of: struct colored_dot { int x; int y; int color; };
Yes. Then you can safely deref struct colored_dot * as struct dot *, by initial member rule.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.