Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp9859755rwp; Thu, 20 Jul 2023 10:42:35 -0700 (PDT) X-Google-Smtp-Source: APBJJlHb+SZZR4l2aAHkHmfwaRb8u6efZ/49+yz89vqz/gcAkC5z8OYRe1jcH7jkosc7nc4WRuaZ X-Received: by 2002:a17:902:8f93:b0:1b8:5541:9d5b with SMTP id z19-20020a1709028f9300b001b855419d5bmr157228plo.17.1689874954967; Thu, 20 Jul 2023 10:42:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689874954; cv=none; d=google.com; s=arc-20160816; b=JjEqGUjQTJgLaTgByUfIyn2PnFFpXEDfRohexmb/p0w/CQSK38H0vTCTY5+dS1bJGq 9Q6Py+nV84dC2y4oxhSbVL6LRbDUEb/288pK6hiK91bRDJ0++vBmZf4EsUGPUfaiHxjH 24AeNSKyyehAR3A/U4q3ginS6eMutBeRs9iy0YdpuTaS4Q8hAx9CE6QtY/MGCV5uzCAD QnxrzrYPxCkMFYQQOZIhtxFcMlYePDtm8co2Bb5+Z4bsVlwFYvNquPVXlbZzy6zXg7ng 43gZKv46WpDaKu3oP45Mkr2J/Rk53Q0gN+Jfpe2/8qVpACXN7zCbKCNxUc2d5lhaMSMq hCVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:subject:message-id:date:from:mime-version :dkim-signature; bh=ZpOYr1V51YcK7vMc04TQ13vRnr86yNoYytTnVzqXwOg=; fh=J0AdLf9R9OJVvnM5/v2IzhqgYFxxPgL1VTP5yyVlGRY=; b=Jsxf5HIZo6UM5eqgqjqGLh9WO5Pz/rEcpxML5qzojjE9xY1a3uGtY6P5A5BOPAu0YE HQCQHmwcP5+5Ur8a5BWohFEv7ioheiogNJ1aPvq1H2c/PKGWKfC32xcauAQmM58kdqwh p/njRYoAfHlEIyb8FnBuAlAH9yghFQAVsHZXzZIvk4W8jbfS+OcCezevyXDs0UuY33Wr 6WKJRR1TsViWGyx/yIR/B8eUYo3u0GXWXmY1v9GPaXFCkf/3YK7BJ+nh4iwwKNBNHu/Z JEeIwDT4G+MRlgDvzz6GRaQ7BsuNbaKCVTHgdEJNQmAVbnoOp47u+BmeZPv4oxAUm+tV hXwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=fUlepYTi; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b17-20020a170903229100b001b89b691c7asi1499338plh.196.2023.07.20.10.42.02; Thu, 20 Jul 2023 10:42:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=fUlepYTi; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229823AbjGTRaT (ORCPT + 99 others); Thu, 20 Jul 2023 13:30:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230001AbjGTRaS (ORCPT ); Thu, 20 Jul 2023 13:30:18 -0400 Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E4672D4B for ; Thu, 20 Jul 2023 10:30:13 -0700 (PDT) Received: by mail-io1-xd2c.google.com with SMTP id ca18e2360f4ac-7866189cff1so46970539f.0 for ; Thu, 20 Jul 2023 10:30:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689874212; x=1690479012; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=ZpOYr1V51YcK7vMc04TQ13vRnr86yNoYytTnVzqXwOg=; b=fUlepYTiXUWbUNHchJO3PTxUfPyp+kYReBjN0jiKj7akuXwjlsWfvc+R046sSOZ0ZQ bgDhbCf39XuwqQKzNH/CFCvgBzgKPfo9dp1chm2KdHbFMdfU4Glj9lu4R+vF45Cnr0ck tJDiAtkGmdGCiumEnIjkU1wQ4mH+I+hw+/xF3TLeOpL133xxVKOQhIyPew9bTbQzrahe rPfKGHY67eikNgzBGA9489rdvfB5GfJH6ItMz3bLUM1p+jlpbvaJUKSydMr76/3TNB6X NAFxAm5gqg26IMcNlhQzg6xnog/sZ7QEZeNQY1LSesSoIV63UdW7TwN9zWJ8iQTHYIoT Kt8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689874212; x=1690479012; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ZpOYr1V51YcK7vMc04TQ13vRnr86yNoYytTnVzqXwOg=; b=dj3umLBlbN7a9cgZTacdlfJSDIRidPzwkcDVMUxdbDWV1c3vDR0pY6tHF6lMFn5oQ9 UnUkxF95VsdGr6jtDDW43kf01N5rnkETzBHsCgDqn4UbX8Dv04m74qWjNN9eqgZOMrVU ZTXPViyMKZ8yd6CjVvx9yTRKQn5UUF1a4EvdQbzPo5Yos9NQQ2GG+pOSciZrbqaBEMqj o9TRc7VztCRI4aI3bQqH0InXW1hIVAJQMrpVC2Jv8l8O3iICAlA9muSbjkNHpLhoRwNh XSSAKkkqZybn56I4+afaNlYLijpb523cyGFHdMQaHsZHyihUhohTT8AFnx2htj25fUhm BUUQ== X-Gm-Message-State: ABy/qLaON0BXODHKNztUwR2F+6MtaUv+1SbxoSfeUHONYNlYYxSBknAd iMKWxc+qvo+WEigCCJYfpbhfrQ/C1dj0B1Tp1K3Hnn12SBM= X-Received: by 2002:a05:6e02:1686:b0:348:76eb:17d9 with SMTP id f6-20020a056e02168600b0034876eb17d9mr7412112ila.20.1689874212338; Thu, 20 Jul 2023 10:30:12 -0700 (PDT) MIME-Version: 1.0 From: Dynastic Space Date: Thu, 20 Jul 2023 20:30:01 +0300 Message-ID: Subject: Daemonizing bluetoothd To: linux-bluetooth@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org I am reading through the bluetoothd code for version 5.56, but I cannot find the call that makes it into a daemon. I don't see a fork or a daemon call. How is it turned to one? I am compiling the code on an OpenWRT system. Thank you for your help