From owner-svn-src-stable@freebsd.org Sat Oct 22 21:28:15 2016 Return-Path: Delivered-To: svn-src-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C9E6BC1D480 for ; Sat, 22 Oct 2016 21:28:15 +0000 (UTC) (envelope-from ed@nuxi.nl) Received: from mail-yb0-x234.google.com (mail-yb0-x234.google.com [IPv6:2607:f8b0:4002:c09::234]) (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 92BFA7C1 for ; Sat, 22 Oct 2016 21:28:15 +0000 (UTC) (envelope-from ed@nuxi.nl) Received: by mail-yb0-x234.google.com with SMTP id f97so49677248ybi.1 for ; Sat, 22 Oct 2016 14:28:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuxi-nl.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=qG04PVtvioxAkWpHFmcx6Ye6hDPn8EJucIUw+S9yrRU=; b=NiA13JQD8iw50MSgwgQU6+nDJnNgJq/DTJ5RZ2gFVD3P2Pu7PwaqrCVeQfiRaeuOhO y0pxHDIs0KMA32I34769tUYDE1WYxQaoXQB1Fpd/A4lTib4ahRCffgFtA/ZUs1R4ThIH 5uDq8daHtvNaH5uIBWFgnVay/wfeZ2M1T2+b+4B8PWtMCSO3rLi/KlZ1B4dkWMNsxj1v 6LtSgX59RpIgLRezXbWPA6PXwwf2v35MSWjnKAJ2frtwhMZm2xHtvTSqbbQod/I6taoq E4yaOyUIbQFeO67m5PHPOSh+bH+z8JAUssXNwliRE+a8KIHhbcTnXMu8p76nIXABXvtp B6nA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=qG04PVtvioxAkWpHFmcx6Ye6hDPn8EJucIUw+S9yrRU=; b=jDwCB9qYSDTYDrnWfZ3qTkyEjOJ4P87LeoKEehVGOZFCOuva0TS86Q3DNjRTeR9BVJ HwkZK19xTISMkF8pEUfwkpOdsxRNohd7TGPcLXtGL4mXY0coKUBqgpylL3UA3R5mf9Eb L4Djf0hAkl42ejX0eNQnJ/CTQ9nfWsrFUX60HZsQcz5zqtkcu65/8kynZl9bFDJHwzaz T5m8HgcwZd7BXYNQDrjRsuKaaTEe+6rbIVjQIFOtkTCtBIwOFjjcbAXqcS+wUf+Jw1ct cZV11APXETylZPXN9uGRXg+tH0DUu9MlwMoBhLURz7mjx7bZPTJs6OA3W/tdao5zaaxl X35g== X-Gm-Message-State: ABUngvc3aLJvp513z1JjgBduCHg2qe/jH1A0b26pCa50Q6Zbko4JI3cH3/a/LarBY1FFQRThNYCNdfLmAZM+Ig== X-Received: by 10.37.84.7 with SMTP id i7mr8449906ybb.92.1477171694079; Sat, 22 Oct 2016 14:28:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.13.246.129 with HTTP; Sat, 22 Oct 2016 14:27:43 -0700 (PDT) In-Reply-To: <201610222049.u9MKnirM010685@repo.freebsd.org> References: <201610222049.u9MKnirM010685@repo.freebsd.org> From: Ed Schouten Date: Sat, 22 Oct 2016 23:27:43 +0200 Message-ID: Subject: Re: svn commit: r307791 - stable/11/usr.sbin/bhyve To: Baptiste Daroussin Cc: src-committers , svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Oct 2016 21:28:15 -0000 Hi Baptiste, 2016-10-22 22:49 GMT+02:00 Baptiste Daroussin : > Use accept4 with O_NONBLOCK rather than accept + fcntl Keep in mind that changes like these do reduce the portability of the code. accept4(), SOCK_NONBLOCK, etc. are not part of POSIX. -- Ed Schouten Nuxi, 's-Hertogenbosch, the Netherlands KvK-nr.: 62051717