Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp9922170rwp; Thu, 20 Jul 2023 11:42:55 -0700 (PDT) X-Google-Smtp-Source: APBJJlEkNIfTqa0XmZcizUoP4zDGCvmx7fbvlXxBDH0v6NAvp3vfv4uEaQK8j1eWhet95diV0QeA X-Received: by 2002:a05:6870:14ce:b0:1b7:41ab:651 with SMTP id l14-20020a05687014ce00b001b741ab0651mr344055oab.31.1689878575016; Thu, 20 Jul 2023 11:42:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689878574; cv=none; d=google.com; s=arc-20160816; b=b7OSRVJ/z9ItYwvR5IuFkfGekr0qzJLSDEhy2cg5fq3gAQruvujr6zN6oXviqkKtoP KAs+N/WRv7m60+FDS4iN2yq4qvDpa22YghEzHlO4N4iftKgup/DO28C6bmvX8aWDUCTB mwRW6xcSFMUrSv1YrzrYROQeLt+7IVceUrhK/KSvFONQ9ArhZ7N865JZRcfY+PjBa1j1 lzLt9Pvq0LXiBH3vqI8ZSz4Li/ZpciZOx7RP5caVFcmGqRi8tzHBKrckSeJ2aIO/2dqW 5WwVDgr7KJ6kEHy0/1AkhMUrCDze7u6ejkxr3PdgW90ie/TGWA/PnZDr5055Oxq12zZp KStQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=rqyIb3y7DhmqxAzRbbTnaV+7kD6kbOtFxlcaLtBtVl0=; fh=IY3C/LFdH/62Zk+8DuOSmaVKDZg8iYmqNziRNNJ6YbI=; b=dLSTMtwK+oXICvI3BihHT1OEVDLkW924ZkIJcWkuPReRwSpiX4QJdx1JhB2M0WdYNz S3ReGqPBDsmik/ewaDRo1N4TuBgUW4kM14YdXTRSw+mLAXJGHq5v/BrmXX6Se2BnmuI1 q9bXNDkcc4t6ad115RyHT+T073HSr2odOvXKGJQ4iGVusIRc4Tpr4TqtBRDfipPgzZah pq7tpwkZ24g65b6m3Y76DWu3Fv6N64Pu4McpKKgRJKJmhqvImTHgzAbwrLiZj0ddvYi9 P+WqUxDmxm8g9sAU2x3xKy9h2XxHhF4wm2gIS5WZTwfif3BneLbHfrEzGzcdfwY8Y7T3 YZ5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=oLzvKpcy; 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 mm9-20020a17090b358900b0026360db338fsi1517882pjb.107.2023.07.20.11.42.20; Thu, 20 Jul 2023 11:42:54 -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=oLzvKpcy; 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 S231561AbjGTSEr (ORCPT + 99 others); Thu, 20 Jul 2023 14:04:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229897AbjGTSEr (ORCPT ); Thu, 20 Jul 2023 14:04:47 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41C3E2709 for ; Thu, 20 Jul 2023 11:04:46 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2b961822512so16837321fa.2 for ; Thu, 20 Jul 2023 11:04:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689876284; x=1690481084; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=rqyIb3y7DhmqxAzRbbTnaV+7kD6kbOtFxlcaLtBtVl0=; b=oLzvKpcyD/mOaUm3o5Afu4B5fAkFaQzV8eJMRkXOJOXmlZwGGb25GLhttYIqRysSsP 17YQ5P/FEGmPnq2L+nVdphfEeC0qpfkCsHi2GmO23cjv9HkPGgHp87vyxrnk1otDUnje gAsikL+LUzzhoDPpPDb+P6fozE/47LA0ie8Kh6SMtIgR+fLo0gDzSJpT9W3pSawtijW1 Jzk08Pz+YIsMOYtkL8AZLIkc0F9cxvprqY/DFATsmlzumlXL+j5iVf5K/zDnLJm7Ufoh Zl78r3UwIWgRm88otiZMIlcL74dzkfloSsP6Ei3i984ZKGacvSJHeOb/2hlaBRhOm230 z/vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689876284; x=1690481084; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rqyIb3y7DhmqxAzRbbTnaV+7kD6kbOtFxlcaLtBtVl0=; b=dsJzhQQDs8Pw6z8KWGV2AHJp7Tzzv/zjP6QmeGLR+PzXP7Hfah8facoeLRMzYiHW0R FK2G3q8UZrJqUQHQuHCFywGare5gJyr4hvfdQdxVk2iMCZNmXMXm2cXDi/9UDApEjdo7 CWtX3Ejtehve57dEe9elgTltKcngItxsuyqTUbXkkb3oT8Hcbq1bQomzJi+NjvEBRRWM N1ZZnbE/KoVdTvj6sLHFHGFbrrJJHYhqbAdnKG1HKJCtJGUfFoLPB6FawQWt9PyDyu43 rsw6BAESLNLazTCGsUiI2Fu9AUSs6hYVss0Kcf5qwu3VKo6naYKEAOv5g020K9NrVr1Z Jv3A== X-Gm-Message-State: ABy/qLYMmMaBqu2FFNsUo5oyfGN507ftjcwetGco+TdzpqVFMwymMM6M QwhzX5AQALpkUnKN/8rQRfQhKjdSD4eMRKOVAHrK7U30 X-Received: by 2002:a2e:9d88:0:b0:2b6:a22b:42dc with SMTP id c8-20020a2e9d88000000b002b6a22b42dcmr2604383ljj.16.1689876284078; Thu, 20 Jul 2023 11:04:44 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Luiz Augusto von Dentz Date: Thu, 20 Jul 2023 11:04:31 -0700 Message-ID: Subject: Re: Daemonizing bluetoothd To: Dynastic Space Cc: linux-bluetooth@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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, RCVD_IN_DNSWL_NONE,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 Hi, On Thu, Jul 20, 2023 at 10:42=E2=80=AFAM Dynastic Space wrote: > > 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. We don't call fork anymore, since most likely bluetoothd would be run as a systemd service I don't think it matters though. --=20 Luiz Augusto von Dentz