From owner-freebsd-standards@freebsd.org Sun Feb 25 01:00:03 2018 Return-Path: Delivered-To: freebsd-standards@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 54D7BF31D4B for ; Sun, 25 Feb 2018 01:00:03 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-yb0-x231.google.com (mail-yb0-x231.google.com [IPv6:2607:f8b0:4002:c09::231]) (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 E1A2F8080A for ; Sun, 25 Feb 2018 01:00:02 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: by mail-yb0-x231.google.com with SMTP id t18-v6so1017337ybt.0 for ; Sat, 24 Feb 2018 17:00:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Kd2dMGLPbr3pBn0Vyur84L0mMaQgOERiDPJKr1Ih2cQ=; b=OQIFbIZVCbgQmovPLajQScpy2RauAqwAhVpzCaZtWnPDvrmFADPTYGiSn8Lh181MVU R71uoSrotAtmNxnqAxT7cW3Jo8uKVzb2JovxG4M9X+P0TqFaHYgugsTRSNMIzvNVtdJu wvGH+VkpMJcVfxkZmssvmtgi02Ps2biL2tLuY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Kd2dMGLPbr3pBn0Vyur84L0mMaQgOERiDPJKr1Ih2cQ=; b=c5V1WHyryKrjUHHkW32p+Mk6yB8WIM5dQd0QhXOC/zVPffS2EJKJ3Z6oYs6YnWM/6H Hx5TlkWT0dPk3ipWEYuMkJd7WJRUWZnTMVoHxgSlzZMpUxtxsLDN1tjmguvx2LJh+TXO gUJDzYVTEM2dQ+XmJjg+hgKl2epNmbYpuVB91XR0j0hcB0bB4fRxNkSMRnGHM+/KQuB3 VqeYTnK1tdilwbwA8RJQvBPCFe3E2j3414E7t/Xyien6COPGM5LIILANv2DU/k3l0T9/ YgriYQJyCFAUQLHfXEuSzhr+k+tA4zQXHpdi8SVj9HfjAsd8v5JRW7j+F+3ech/xehzL ykWg== X-Gm-Message-State: APf1xPAnS2EZKTf96sw2snKetYfwXOQ1iO9BUmDq6tdnHz/BFMOhdCRG Rs7U71n6e69TJJN+gsnrIIzPupL6iD20ZVMyfhTbkg== X-Google-Smtp-Source: AG47ELtn0oF8c6fhskzkw64qQLxtk1SW2i7rWQAiVl7iqboIaZ6M2Q0TLsQgR9BdqLiSezaT5wN9oG4VlNtcWpRNYIE= X-Received: by 2002:a25:6006:: with SMTP id u6-v6mr4191129ybb.460.1519520402106; Sat, 24 Feb 2018 17:00:02 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a25:dfcb:0:0:0:0:0 with HTTP; Sat, 24 Feb 2018 16:59:31 -0800 (PST) In-Reply-To: References: <20180221032247.GA81670@ns.kevlo.org> <20180221104400.GU94212@kib.kiev.ua> <23181.46427.671514.319710@khavrinen.csail.mit.edu> <20180221185920.GA94212@kib.kiev.ua> <23181.50488.186767.579361@khavrinen.csail.mit.edu> <20180221201002.GC94212@kib.kiev.ua> <23181.54825.511195.393054@khavrinen.csail.mit.edu> <20180222212746.GB58772@stack.nl> From: Eitan Adler Date: Sat, 24 Feb 2018 16:59:31 -0800 Message-ID: Subject: Re: Marking select(2) as restrict To: cem@freebsd.org Cc: FreeBSD Hackers , FreeBSD Standards Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2018 01:00:03 -0000 On 24 February 2018 at 10:55, Conrad Meyer wrote: > On Sat, Feb 24, 2018 at 10:35 AM, Eitan Adler wrote: >> After this entire thread here is the summary. If I've misrepresented >> you here please let me know. >> ... >> >> kib@ - no benefit; concerned fallout could be hard to observe >> cem@ - concerned about warnings > > Consider me a +1 to kib@. I did not voice those concerns explicitly > in earlier email because kib did already and I didn't anticipate you > would ignore him. I am not ignoring him. As I stated above I do not believe fallout is likely since most other major libc implementations have already done this: glibc: already done - https://github.com/bminor/glibc/blob/master/misc/sys/select.h#L101 openbsd: already done https://github.com/openbsd/src/blob/master/sys/sys/select.h#L128 dragonflyBSD: alredy done: https://github.com/dragonflybsd/dragonflybsd/blob/master/sys/sys/select.h#L50 netbsd: already done: https://github.com/NetBSD/src/blob/trunk/sys/sys/select.h#L69 As a further check I went through the search results on github for select() and did not see any failures in the top few pages. -- Eitan Adler