Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 2014 19:49:21 -0700
From:      Jordan Hubbard <jkh@turbofuzz.com>
To:        Outback Dingo <outbackdingo@gmail.com>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@ntlworld.com>
Subject:   Re: nosh version 1.9
Message-ID:  <527291AC-C5E2-420C-B566-C051BA82CA84@turbofuzz.com>
In-Reply-To: <CAKYr3zy%2BH3Fe8L4ZGOmOxzY3byWoOvirQfKeHqeajvR-YvJRVA@mail.gmail.com>
References:  <54430B41.3010301@NTLWorld.com> <5443191E.5050208@mu.org> <CAJ-VmomhxAkmVpAv5M%2Bh2HiEGnzHuXoZRh=E3LEvcRqbkoJ-5Q@mail.gmail.com> <34F30D28-DE9B-444F-885E-F438FEEA46EC@mu.org> <CAKYr3zwFyOh0VuQew5XtzKCNe0sDe2qc_5Jg3g9hT8pE7SyhJA@mail.gmail.com> <54482A5E.2050303@NTLWorld.com> <E03E5E72-6A7E-4206-849D-FFBA35B683A0@turbofuzz.com> <CAKYr3zy%2BH3Fe8L4ZGOmOxzY3byWoOvirQfKeHqeajvR-YvJRVA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


> On Oct 22, 2014, at 7:16 PM, Outback Dingo <outbackdingo@gmail.com <mailto:outbackdingo@gmail.com>> wrote:
> 
> Actually our port is "very" xml aware :) see https://github.com/outbackdingo/launchd_xml/tree/master/launch_xml <https://github.com/outbackdingo/launchd_xml/tree/master/launch_xml>;
OK, well, launchd as originally designed certainly was not (and is not) xml-aware.  This was on purpose.  You don’t want a lot of surface area in pid 1, which can never crash, nor do you want to bake your serialization format into stone tablets.

launchctl(1) does all the XML parsing and then passes the results to launchd using its own custom IPC format.  Was there some particular reason you violently inserted the XML parsing directly into launchd after the original architect(s) went to such pains to avoid such blatant penitentiary experiences? :-)

- Jordan




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?527291AC-C5E2-420C-B566-C051BA82CA84>