unfork(2)
https://github.com/whitequark/unfork [github.com]
2019-10-29 18:05
tags:
c
investigation
library
linux
malloc
programming
swtools
unfork(2) is the inverse of fork(2). sort of.
By combining userfaultfd with process_vm_readv, any userspace application can obtain a copy-on-write mapping (with some limitations) of memory it never owned. All it needs is ptrace privileges, which is to say, having the same uid usually works.
When you can’t do awesome things, because of crushing bureaucracy
https://blog.thinkst.com/2019/02/when-you-cant-do-awesome-things-because.html [blog.thinkst.com]
2019-02-18 06:28
tags:
development
Ben Rich didn’t build the Stealth because he had no constraints. He built it in spite of the constraints, because he was Ben Rich. If you aren’t managing to “build your stealth fighter”, it’s probably not just because your organization is a bureaucratic nightmare. It’s because you’re not Ben Rich.
source: grugq
DragonFly BSD 5.6
https://www.dragonflybsd.org/release56/ [www.dragonflybsd.org]
2019-06-18 01:52
tags:
dragonfly
release
DragonFly version 5.6 brings an improved virtual memory system, updates to radeon and ttm, and performance improvements for HAMMER2.
source: Dfly
Learning from Failure
https://www.mediamolecule.com/blog/article/siggraph_2015 [www.mediamolecule.com]
2017-12-30 18:52
tags:
gl
graphics
pdf
programming
slides
It may seem odd if you’ve never worked in games, but it’s actually quite common to have to experiment to find the final technical direction. It leaves a lot of amazing stuff ‘on the side’, never released or shared. It was great to have a chance to share some of that work.
source: L
5-Level Paging and 5-Level EPT White Paper
https://software.intel.com/sites/default/files/managed/2b/80/5-level_paging_white_paper.pdf [software.intel.com]
2016-12-06 21:31
tags:
cpu
malloc
paper
pdf
reference
systems
Existing processors limit linear addresses to 48 bits. Chapter 2 describes paging extensions that would relax that limit to 57 linear-address bits.
I tried to adjust the time on my alarm clock. I failed.
https://devblogs.microsoft.com/oldnewthing/20191104-01/?p=103052 [devblogs.microsoft.com]
2019-11-04 18:28
tags:
ioshit
life
tech
For some reason, my alarm clock requires that I install an app on my phone. And the app required me to create an account.
I’m going to repeat that: In order to set my alarm clock, I had to create an account with the clock manufacturer.
Increasing coverage of signal semantics in regression tests
https://blog.netbsd.org/tnf/entry/increasing_coverage_of_signal_semantics [blog.netbsd.org]
2019-03-11 16:56
tags:
netbsd
systems
testing
unix
update
Kernel signal code is a complex maze, it’s very difficult to introduce non-trivial changes without regressions. Over the past month I worked on covering missing elementary scenarios involving the ptrace(2) API. Part of the new tests were marked as expected to success, however a number of them are expected to fail.
source: vermaden
How to make Bash fail badly on Ubuntu 16.04 by typo'ing a command name
https://utcc.utoronto.ca/~cks/space/blog/linux/BashNotFoundHang [utcc.utoronto.ca]
2021-01-14 06:29
tags:
admin
linux
sh
turtles
The simple thing to say about this is that it only happens on Ubuntu 16.04, not on 18.04 or 20.04, and it happens because Ubuntu’s normal /etc/bash.bashrc defines a command_not_found_handle function that winds up running a helper program to produce this ‘did you mean’ report. The helper program comes from the command-not-found package, which is installed because it’s Recommended by ubuntu-standard.
ruxcon 2017 slides
https://ruxcon.org.au/slides/ [ruxcon.org.au]
2017-11-15 02:58
tags:
archive
pdf
security
slides
Some of them anyway.
source: grugq
Noise Protocol Framework
https://noiseprotocol.org/ [noiseprotocol.org]
2017-01-22 01:05
tags:
crypto
library
networking
reference
security
standard
Noise is a framework for building crypto protocols. Noise protocols support mutual and optional authentication, identity hiding, forward secrecy, zero round-trip encryption, and other advanced features.
I thought development of Noise was paused, but there have been some recent updates.
I would feel safer licking this sign
https://twitter.com/matthew_d_green/status/825119958657007617 [twitter.com]
2017-01-30 03:30
tags:
hardware
hoipolloi
life
security
tech
tweet
urban
On the questionable security of mobile charge stations.
Docker Internals
http://docker-saigon.github.io/post/Docker-Internals/ [docker-saigon.github.io]
2016-12-22 02:51
tags:
admin
linux
swtools
systems
virtualization
A Deep Dive Into Docker For Engineers Interested In The Gritty Details.
How Fortnite Triggered an Unwinnable War Between Parents and Their Boys
https://www.wsj.com/articles/how-fortnite-triggered-an-unwinnable-war-between-parents-and-their-boys-11545397200 [www.wsj.com]
2018-12-21 22:25
tags:
gaming
hoipolloi
social
The last-man-standing videogame has grabbed onto American boyhood, pushing aside other pastimes and hobbies and transforming family dynamics
He got his console back sooner than he thought and not because his grades improved. He was assigned a group homework project with students who had decided to collaborate over their game consoles. His mother realized that Fortnite had become so embedded in the boys’ lives that Max couldn’t even do his homework without it.
Also: https://www.theverge.com/2018/12/21/18152012/fortnite-was-2018s-most-important-social-network
gefs - good enough file system
https://orib.dev/gefs.html [orib.dev]
2023-04-28 23:50
tags:
fs
plan9
systems
Gefs is a new file system built for Plan 9. It aims to be a crash-safe, corruption-detecting, simple, and fast snapshotting file system, in that order. Gefs achieves these goals by building a traditional 9p file system interface on top of a forest of copy-on-write Bε trees. It doesn’t try to be optimal on all axes, but good enough for daily use.
source: L
Don't do this either
https://blog.plover.com/prog/perl/do-not-2.html [blog.plover.com]
2018-07-13 17:13
tags:
perl
programming
type-system
Allowing an argument to be passed in seven different ways may be convenient for the programmer writing the call, who can save a few seconds looking up the correct spelling of emailclass_name, but debugging what happens when elaborate and inconsistent arguments are misinterpreted will be eat up the gains many times over. Code is written once, and read many times, so we should be willing to spend more time writing it if it will save trouble reading it again later.
perl, but really all duck languages.
Why the Culture Wins: An Appreciation of Iain M. Banks
http://sciphijournal.org/why-the-culture-wins-an-appreciation-of-iain-m-banks/ [sciphijournal.org]
2018-02-11 02:31
tags:
essay
fiction
future
hoipolloi
ideas
Compared to the other “visionary” writers working at the time – William Gibson, Neal Stephenson – Banks is underappreciated. This is because Gibson and Stephenson in certain ways anticipated the evolution of technology, and considered what the world would look like as transformed by “cyberspace.” Both were crucial in helping us to understand that the real technological revolution occurring in our society was not mechanical, but involved the collection, transmission and processing of information.
Banks, by contrast, imagined a future transformed by the evolution of culture first and foremost, and by technology only secondarily. His insights were, I would contend, more profound. But they are less well appreciated, because the dynamics of culture surround us so completely, and inform our understanding of the world so entirely, that we struggle to find a perspective from which we can observe the long-term trends.
What happens when culture becomes freed from all functional constraints? It seems clear that, in the interplanetary competition that develops, the culture that emerges will be the most virulent, or the most contagious. In other words, “the Culture” will simply be that which is best at reproducing itself, by appealing to the sensibilities and tastes of humanoid life-forms.
source: MR
Linux tracing systems & how they fit together
https://jvns.ca/blog/2017/07/05/linux-tracing-systems/ [jvns.ca]
2017-07-08 22:33
tags:
investigation
linux
perf
swtools
I’ve been confused about Linux tracing systems for years. There’s strace, and ltrace, kprobes, and tracepoints, and uprobes, and ftrace, and perf, and eBPF,
and how does it all fit together and what does it all MEAN?
source: L
BlackHat 2017 Briefings
https://www.blackhat.com/us-17/briefings.html [www.blackhat.com]
2017-07-27 18:59
tags:
archive
event
pdf
security
slides
Slides and other materials now up.
Lua: A Guide for Redis Users
https://www.redisgreen.net/blog/intro-to-lua-for-redis-programmers/ [www.redisgreen.net]
2016-11-21 20:29
tags:
database
intro-programming
lua
More specifically a short intro to the Lua environment in Redis.
This Dupont Circle sidewalk turns footsteps into power
https://www.washingtonpost.com/local/trafficandcommuting/this-dupont-circle-sidewalk-turns-footsteps-into-power/2016/11/30/c69263f8-b020-11e6-8616-52b15787add0_story.html [www.washingtonpost.com]
2016-12-01 05:16
tags:
architecture
energy
physics
tech
urban
Not sure this will ever be cost effective (how low does the price need to be?), but it’s interesting project as a statement.