From owner-svn-src-all@freebsd.org Mon Jun 25 18:41:01 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B72E5101AB56; Mon, 25 Jun 2018 18:41:01 +0000 (UTC) (envelope-from delphij@gmail.com) Received: from mail-io0-x243.google.com (mail-io0-x243.google.com [IPv6:2607:f8b0:4001:c06::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C501E88E0C; Mon, 25 Jun 2018 18:41:00 +0000 (UTC) (envelope-from delphij@gmail.com) Received: by mail-io0-x243.google.com with SMTP id k16-v6so10739808ioa.8; Mon, 25 Jun 2018 11:41:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0QD2+R0K6Ser+sWwVjS/8ZaT1LeO8SrjAwB8rH/gn2g=; b=MF2gnPh6Ovn2vxrknZMmy1tx4v36kJgd3EeFTJ8DCExMJEG+6nMe7Ym+RI8Gx1qf8a Nwtqno0WvDU7CdwlCqIrdHKLHJ658Bb1FfLXxJMCoA8WHodJqhFYZn7ZuHW/cDu2vTVi ykSFOJpX5nJDrLz3okbAkZUbkVCfbp6DUTTnNVG8M5ZrR1maKnqZb94tfJjMA0DfiZkY zm+6oyMCfBGeWHce1N3sR2AVzifa2upOig36VKBBcFf51lSbUGz7/FKYnEyoqDbYc88W gv/hMYSb+Y/g/SVceCfCjXubSlMMUt4fcKHRr2Igl+lphV3EDEHHXWaDxECO6D0DkOKf 7xnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0QD2+R0K6Ser+sWwVjS/8ZaT1LeO8SrjAwB8rH/gn2g=; b=SYGvf9D6dIQ36vQIh6WQzuAMXhxyIXyh0Wh0hEkqLxz5rQixQNryYU1It/Ymu4UNnQ 5dG0pudKz/bumkONSL7NZ4xQjaEdi4iLkAYXClKXpTfJiZDbY8z1VAQ1AXEnSRIakR0N 2ew2nrAiSSBLbgsURe77KnJNFw+RKbscvcUj4JESMC2hIstvbFPgpVMMDgZ757Qxg9R+ f41FXHYBqIN9uDq/CDul7gEJtH418k9nuVCPaV2U5ewCvNSKoySPQiJfH13/WVax04Gc zYXUlQbHoG525TnyB4tL0kmZzaEEWObTSbhZmN8/BrmL1zOTP4lNWxeek8xURnSaXLhF tqjg== X-Gm-Message-State: APt69E2YYDju4Wr/gecf/n22wGqvRkoVYLwriuiKfu0t+6zz8XH0cD8x 6lk4wrYYjI6nuX3f9VDpEAYK9hdVl3jug6QfB5PqGg== X-Google-Smtp-Source: ADUXVKKITtstECG+5BMsuNtSiNQ4g6RC523oS+OTl1hzecvoTy+NLdVZHJ2PRxl4LFZKT94xRgfcOCca6L9/VuJIbQM= X-Received: by 2002:a6b:1ad1:: with SMTP id a200-v6mr10510012ioa.139.1529952059798; Mon, 25 Jun 2018 11:40:59 -0700 (PDT) MIME-Version: 1.0 References: <201806250129.w5P1Ts5H017125@repo.freebsd.org> In-Reply-To: <201806250129.w5P1Ts5H017125@repo.freebsd.org> From: Xin LI Date: Mon, 25 Jun 2018 11:40:48 -0700 Message-ID: Subject: Re: svn commit: r335612 - head/sbin/dhclient To: Eitan Adler Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2018 18:41:01 -0000 On Sun, Jun 24, 2018 at 6:30 PM Eitan Adler wrote: > > Author: eadler > Date: Mon Jun 25 01:29:54 2018 > New Revision: 335612 > URL: https://svnweb.freebsd.org/changeset/base/335612 > > Log: > dhclient: recorrect __progname to getprogname() > > A more correct way to modernize code that uses __progname is to just > replace each occurance of it with a call to getprogname(3) We should probably take a look at dhcpcd or ISC dhclient and teach whatever we have chosen sandbox, etc. The current FreeBSD dhclient is based on an ancient ISC dhclient fork with enhancements from OpenBSD (but not being kept up-to-date with OpenBSD) and do not support IPv6, etc. Cheers,