From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E0F77C4363A for ; Fri, 23 Oct 2020 04:39:29 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D7631223C7 for ; Fri, 23 Oct 2020 04:39:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kroah.com header.i=@kroah.com header.b="fQBqamvC"; dkim=temperror (0-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="RZBCtsdm" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D7631223C7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kroah.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94) (envelope-from ) id 1kVor3-0002zn-Lx; Fri, 23 Oct 2020 00:39:05 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1kVor1-0002zW-Ku for kernelnewbies@kernelnewbies.org; Fri, 23 Oct 2020 00:39:03 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 3393C5C00BA; Fri, 23 Oct 2020 00:39:00 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 23 Oct 2020 00:39:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=A0+CtA9p86pUH8cxdtN0lxvQVkW wntQzesP5j6XITZA=; b=fQBqamvCzVyOobTFrcZ8O7CGUiei2Ov3wwpyN4extWf nPZgif8gQAebL3yVTx+BcyEAIj9N1kZXu+O0i+D/p+vd3pSpwg86MuEpFrKuQFgg 7n73Cfs+aJHBSWPcn/8CymGfLv8M5JtWHSE5FpSdYjDMsokelEOXNSaY3HeRmqPQ pATxHJ7nco6drDg9Rm5B+5q/4pPBvKLf5EzrXZE1Z0qo7FZ4cgs4yJjltuiUXFgr A7C3QO+RzQQJe6N01JjOXvTLTmqYTekj3w26T3D2MaUc36HpHHdSU7aI//9k5oHs rRGDRSWNJvPS4l4fbizzfutq8U5uEPQdgIFVlrCK38w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=A0+CtA 9p86pUH8cxdtN0lxvQVkWwntQzesP5j6XITZA=; b=RZBCtsdm3fay8c/dH4lLyd JMLtA5bE78BiGlw7Wsa9xg1B1NiLjpscyjlsInQi81lSugrFbaW8mrEyKQzSTRvA umkfFlgJX/3lX53xmpqeRxpcJtOxIw2DZBG6rZAyftA9psIqPV7L7BV8DsZyrbsO Du35Nlhm62QtLQS1DJ7lhN8983zHMN74901DLoKfF85nWneon3dLedEBhxpY79Ul fN3zNbdztbEcY0S1Qk/Nmdt39m31qX0Muu5a/gZ4Qlsn35XK1JnBECLlaeDOAwoZ i+vYZuVGXrz0LA9z0YC9rKox7T8/kbgxrV4GF+PJZER1S9whF7YiM6W7221NQOjg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrjeelgdekkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehttdertd dttddvnecuhfhrohhmpefirhgvghcumffjuceoghhrvghgsehkrhhorghhrdgtohhmqeen ucggtffrrghtthgvrhhnpefgteefffetvdffledtgeduudetffdutdduveefvedtueegue eggfeiteehfeetfeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeekfedr keeirdejgedrieegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepghhrvghgsehkrhhorghhrdgtohhm X-ME-Proxy: Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) by mail.messagingengine.com (Postfix) with ESMTPA id 8845E3064674; Fri, 23 Oct 2020 00:38:59 -0400 (EDT) Date: Fri, 23 Oct 2020 06:38:58 +0200 From: Greg KH To: Sohaib Mhmd Subject: Re: Invoke Firefox from kernel space Message-ID: <20201023043858.GA21788@kroah.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Cc: kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org On Fri, Oct 23, 2020 at 01:35:53AM +0200, Sohaib Mhmd wrote: > Hello, > > I tried to use: call_usermodehelper > It worked fine with > > /sbin/shutdown and /bin/touch > but with /bin/firefox i got kernel oops: > Any clarification, thanks > > [ 2258.760627] invoke_userlevel_app: module verification failed: signature > > and/or required key missing - tainting kernel > > [ 2258.918529] do_init_module: 'invoke_userlevel_app'->init suspiciously > > returned 256, it should follow 0/-E convention > > do_init_module: loading module anyway... The kernel module you wrote is not handling errors properly, why ignore the kernel's messages here? And how can the kernel invoke a graphical program? Please look up how these types of programs work to see that the kernel can not directly call them, sorry. good luck! greg k-h _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies