From owner-svn-src-stable-11@freebsd.org Sun Oct 23 06:24:25 2016 Return-Path: Delivered-To: svn-src-stable-11@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 555BBC1E592; Sun, 23 Oct 2016 06:24:25 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-it0-f49.google.com (mail-it0-f49.google.com [209.85.214.49]) (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 AA1218B8; Sun, 23 Oct 2016 06:24:24 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-it0-f49.google.com with SMTP id e187so85945597itc.1; Sat, 22 Oct 2016 23:24:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=K6Oa8wW/3zfbsbOJ8IsV5Zjr3FCnlaJCH95G01tq2fs=; b=h4HJnN8ZMOp6PdOfuEpZ2RKK/YZjAusfAPgLc8VlT5qNdEx22VGf3DMMgLAc9MuOIl x4m9X09lbaw+FPGi8M/tioz/owlg9ipFTS3W9NjZO3zqIvYkE3FqVpFvrY60H6zi5ONz 1WQhn/6HUsY44x5yidESu2L+6u3QkQPp5ZDz9DirlsAKaJDTpKh5w9y39i1iLSzsNF8+ uHpZJdgdUGCV5282DVAzlQJGq59Yy0ECYRTdV9hBup+yj+7mybo9xc3PFq/5kMM5dOPG yEdpawGbaw/qz6a35LLj43UQUCEEfIQRlJI82ucA6wJBMlmpJU8AyxZ0I5Au1R6Y5wOz DFYA== X-Gm-Message-State: ABUngvdEYLxs8jqE7c2DzT9Z2QYxWH4s5fVCkBV54FIL7ijQ3ZlsGmA3kMgFXCBl8AtHSQ== X-Received: by 10.36.135.203 with SMTP id f194mr6069623ite.2.1477203857815; Sat, 22 Oct 2016 23:24:17 -0700 (PDT) Received: from mail-it0-f46.google.com (mail-it0-f46.google.com. [209.85.214.46]) by smtp.gmail.com with ESMTPSA id u19sm5044087iou.31.2016.10.22.23.24.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 22 Oct 2016 23:24:17 -0700 (PDT) Received: by mail-it0-f46.google.com with SMTP id e187so85945235itc.1; Sat, 22 Oct 2016 23:24:17 -0700 (PDT) X-Received: by 10.107.130.218 with SMTP id m87mr8480956ioi.17.1477203857291; Sat, 22 Oct 2016 23:24:17 -0700 (PDT) MIME-Version: 1.0 Reply-To: cem@freebsd.org Received: by 10.36.220.199 with HTTP; Sat, 22 Oct 2016 23:24:16 -0700 (PDT) In-Reply-To: <20161022213017.d6h2wji75r2huqqv@ivaldir.etoilebsd.net> References: <201610222049.u9MKnirM010685@repo.freebsd.org> <20161022213017.d6h2wji75r2huqqv@ivaldir.etoilebsd.net> From: Conrad Meyer Date: Sat, 22 Oct 2016 23:24:16 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r307791 - stable/11/usr.sbin/bhyve To: Baptiste Daroussin Cc: Ed Schouten , 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-11@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for only the 11-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Oct 2016 06:24:25 -0000 On Sat, Oct 22, 2016 at 2:30 PM, Baptiste Daroussin wrote: > On Sat, Oct 22, 2016 at 11:27:43PM +0200, Ed Schouten wrote: >> 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. >> > > I entirely forgot that! > > Thanks for the heads up, I'll be carefull On the other hand, Linux and even illumos has them. Best, Conrad