Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751728AbbD3MXb (ORCPT ); Thu, 30 Apr 2015 08:23:31 -0400 Received: from a.ns.miles-group.at ([95.130.255.143]:65275 "EHLO radon.swed.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751160AbbD3MX2 (ORCPT ); Thu, 30 Apr 2015 08:23:28 -0400 Message-ID: <55421EBB.2010500@nod.at> Date: Thu, 30 Apr 2015 14:23:23 +0200 From: Richard Weinberger User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: =?UTF-8?B?xYF1a2FzeiBTdGVsbWFjaA==?= CC: Austin S Hemmelgarn , "Theodore Ts'o" , Harald Hoyer , "linux-kernel@vger.kernel.org" Subject: Re: [GIT PULL] kdbus for 4.1-rc1 References: <21824.5086.446831.189915@quad.stoffel.home> <5540D2F9.2010704@redhat.com> <5540DEEB.2060405@redhat.com> <5540E0C7.3050106@nod.at> <5540E432.9020606@redhat.com> <5540E4D9.6000007@nod.at> <5540E684.4070606@redhat.com> <5540E821.8050204@nod.at> <5540F081.9090005@redhat.com> <20150429150341.GA12374@thunk.org> <5540F6E3.8000706@gmail.com> <871tj2ouk2.fsf%l.stelmach@samsung.com> <5541F209.8070302@nod.at> <87wq0tor57.fsf%l.stelmach@samsung.com> <55420685.8080607@nod.at> <87oam5olpu.fsf%l.stelmach@samsung.com> In-Reply-To: <87oam5olpu.fsf%l.stelmach@samsung.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tAQm1KKHdheAdiXQEJWxi0t95CivgVVbc" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3814 Lines: 93 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --tAQm1KKHdheAdiXQEJWxi0t95CivgVVbc Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Am 30.04.2015 um 14:16 schrieb =C5=81ukasz Stelmach: > It was <2015-04-30 czw 12:40>, when Richard Weinberger wrote: >> Am 30.04.2015 um 12:19 schrieb =C5=81ukasz Stelmach: >>> It was <2015-04-30 czw 11:12>, when Richard Weinberger wrote: >>>> Am 30.04.2015 um 11:05 schrieb =C5=81ukasz Stelmach: >>>>> Regardless, of initrd issues I feel there is a need of a local IPC >>>>> that is more capable than UDS. Linus Torvalds is probably right tha= t >>>>> dbus-daemon is everything but effictient. I disagree, however, that= >>>>> it can be optimised and therefore solve *all* issues kdbus is tryin= g >>>>> to address. dbus-deamon, by design, can't some things. It can't >>>>> transmitt large payloads without copying them. It can't be made >>>>> race-free. >>>> >>>> This is true. >>>> But as long dbus-deamon is not optimized as much as possible there i= s >>>> no reason to force push kdbus. >>>> As soon dbus-deamon exploits all kernel interfaces as much it can an= d >>>> it still needs work (may it performance or other stuff) we can think= >>>> of new kernel features which can help dbus-deamon. >>> >>> I may not be well informed about kernel interfaces, but there are >>> some use cases no dbus-daemon optimisation can make work properly >>> because of rece-conditons introduced by the user-space based message >>> router. >>> >>> For example, a service can't aquire credentials of a client process t= hat >>> actually sent a request (it can, but it can't trust them). The servic= e >>> can't be protected by LSM on a bus that is driven by dbus-daemon. Yes= , >>> dbus-daemon, can check client's and srevice's labels and enforce a >>> policy but it is going to be the daemon and not the LSM code in the >>> kernel. >> >> That's why I said we can think of new kernel features if they are >> needed. But they current sink or swim approach of kdbus folks is also= >> not the solution. As I said, if dbus-daemon utilizes the kernel >> interface as much as possible we can think of new features. >=20 > What kernel interfaces do you suggest to use to solve the issues > I mentioned in the second paragraph: race conditions, LSM support (for > example)? The question is whether it makes sense to collect this kind of meta data.= I really like Andy and Alan's idea improve AF_UNIX or revive AF_BUS. Thanks, //richard --tAQm1KKHdheAdiXQEJWxi0t95CivgVVbc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJVQh68AAoJEPmeIjfg4UaayH4P/2rq6n0c/oNHDiLpzVK+Ofxz ZRiY719RqKqtgbrEJoJeqdnSt84ORm7hvSIleyYVz5nOlHJwoaibHYLmMh3fqPOs 2GfqrKQ9XpiNdmXZxkZVthxS7QNcG2kMO2Wwb1lLCtKc59B8afuuQJ4CpmD13Pmx 35HqEUyX7MpFeFOu/+8rf9I68YxWRkgv8mQ/NHqt77lCypTbyIrd/O9a/kIcXlsd 79HMYvTPBEzQDTH/hMGEeaHsLxeqdJ2npLJe33cRfCSN4sfCD8F9sllOFXSWcPA4 1GReOiQEwe06FAxMtWtp8rPahRJTcX0XQJRFlRyESP0QWe0WsSVReJ5TRdSzWt+r KHEZp5gdDjnsN1bqhY5PT93sr6qzAGeXwm62Iql/scsj/T3oD+L6qOvryz5BuI+i pgb8cIp2QcRCvAOJz/tnpQd0BoHJYIwORfa5Ao54eFRauVZnoPglNoQDlc66PLTh nHNy1Z1IXz1miCt4tjEKcrsy/hsjylUpQ/7bRMjieZX9wg54dIVRB5KJzjJUyoVd qs672uBGEjCyFNi/j2WqZ6c05CNV+tsmpcd1VDn3jEazTZPqdwIlf/FdHJ3ZaXNF hpVrfBLcF0oYme2Fph9cJyRJFBJjpoBf5GPYwxMLAEQuBsWJrslxDttIn7fuC/Ms dA5mp1a7neTqpiodlAaT =l2P6 -----END PGP SIGNATURE----- --tAQm1KKHdheAdiXQEJWxi0t95CivgVVbc-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/