[Toybox] watchdog: Can't call daemon() on nommu
Patrick Oppenlander
patrick.oppenlander at gmail.com
Thu Oct 22 14:36:14 PDT 2020
On Fri, 23 Oct 2020, 08:21 Rob Landley, <rob at landley.net> wrote:
> On 10/22/20 3:58 PM, Patrick Oppenlander wrote:
> > On Thu, 22 Oct 2020, 17:37 Rob Landley, <rob at landley.net
> > <mailto:rob at landley.net>> wrote:
> >
> > On 10/21/20 4:24 AM, Patrick Oppenlander wrote:
> > > Sure, but..
> > >
> > > $ watchdog -F &
> > >
> > > works on nommu
> >
> > Yes, but fork() and daemon() shouldn't be available on nommu systems
> (they
> > _can't_ succeed) and you can only compile time probe for them if
> it's a build
> > break.
> >
> > I have a todo item to make some variant of xdaemon() plumbing that
> works on
> > nommu by relaunching the command, but I haven't gotten around to it
> yet because
> > I'm back in tokyo at $DAYJOB.
> >
> > Neat. Didn't know that was the plan, thanks.
>
> I'm working on a nommu j-core system at $DAYJOB. It has to work
> eventually...
>
> > > Also, watchdog -F is pretty useful as a quick test for newly
> developed
> > > watchdog drivers on nommu platforms.
> >
> > I agree it should be supported. Eventually nothing should depend on
> TOYBOX_FORK,
> > I need to fix up all of those to work on nommu properly.
> >
> > Great! No hurry, just wanted to point it out. I'm playing "annoying
> user" at the
> > moment :)
>
> No problem, thanks for the feedback.
>
> > Enjoy Japan. Are they open for business at the moment?
>
> For tourism, no. If you have a residence card, there's a somewhat elaborate
> procedure involving an in-person trip to the embassy, specific kinds of
> covid
> testing, and a 2 week quarantine when you get here:
>
> https://landley.net/notes-2020.html#28-08-2020
> https://landley.net/notes-2020.html#14-09-2020
> https://landley.net/notes-2020.html#28-09-2020
>
> and so on...
>
Sounds like a nightmare! I'll have a read later.
> We're almost out of a
> > hard lockdown here in Melbourne, Australia. Travel restrictions have
> been eased
> > from 5km to 25km from home just this week.
>
> Can we just put Jacinda Ardern in charge of everywhere? (Not that she'd
> want to,
> but still.)
>
She's fantastic.
Our news system in Australia is broken. We had this tripe circulating last
week https://twitter.com/Trixie_Boo/status/1317926761292722176
One of our previous prime ministers is petitioning for a Royal Commission
because of this kind of thing
https://www.theguardian.com/media/2020/oct/11/kevin-rudd-petition-royal-commission-news-corp-media-domination-australia
.
Our local premier Dan Andrews and his team have done an absolutely
incredible job of managing the situation here under immense pressure from
the opposition and the media. I'm proud of what we have achieved.
Rob
>
Patrick
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20201023/eb4cfd42/attachment.htm>
More information about the Toybox
mailing list