Stuff Michael Meeks is doing
|
|
This is my (in)activity log. You might like to visit
Collabora
Productivity a subsidiary of Collabora focusing on LibreOffice support and
services for whom I work.
Also if you have the time to read this sort of stuff you could enlighten
yourself by going to Unraveling Wittgenstein's net or if
you are feeling objectionable perhaps here.
Failing that, there are all manner of interesting things to read on
the LibreOffice Planet news
feed.
Older items:
2023: (
J
F
M
A
M
J
),
2022: (
J
F
M
A
M
J
J
A
S
O
N
D
),
2021,
2019,
2018,
2017,
2016,
2015,
2014,
2013,
2012,
2011,
2010,
2009,
2009,
2008,
2007,
2006,
2005,
2004,
2003,
2002,
2001,
2000,
1999,
legacy html
-
Back to my nemesis - named pipes; while it is
possibly to have multiple readers - who get random bits
of the random numbers to the pipe (perhaps a feature)
unfortunately extremely inelegant for these reasons:
- Opening O_WRONLY | O_NONBLOCK gives an
inexplicable ENXIO error, odd
- Seems you need a pointless O_NONBLOCK reader
opening the pipe before you can open O_NONBLOCK
to write and poll on it - so wasting a file
descriptor.
- Trying to close that after the open just
gives endless EPIPE - so just leak it.
- Unfortunately now we have to read a lot of
random numbers to fill the O_NONBLOCK pipe buffer
which is probably not good for anyone; hmm.
-
Switched to using getentropy() and/or getrandom()
system-call backed random data reading instead of devices.
Spent quite a long time digging through lots of disappointingly
duplicated NSS code to get it happy. Eventually got there,
hopefully no more users getting bitten by mounting
nodev
, removing CAP_MKNOD
from
our permission set.
-
N. cooked a fine dinner; slugged with the babes
doing misc. petting until late.
My content in this blog and associated images / data under
images/
and data/
directories are (usually)
created by me and (unless obviously labelled otherwise) are licensed under
the public domain, and/or if that doesn't float your boat a CC0
license. I encourage linking back (of course) to help people decide for
themselves, in context, in the battle for ideas, and I love fixes /
improvements / corrections by private mail.
In case it's not painfully obvious: the reflections reflected here are my
own; mine, all mine ! and don't reflect the views of Collabora, SUSE,
Novell, The Document Foundation, Spaghetti Hurlers (International),
or anyone else.
It's also important to realise that I'm not in on the Swedish Conspiracy.
Occasionally people ask for formal photos for conferences
or fun.
Michael Meeks (michael.meeks@collabora.com)