From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 37EB4C43381 for ; Thu, 7 Mar 2019 09:00:14 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1B57520675 for ; Thu, 7 Mar 2019 09:00:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1B57520675 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=vt.edu Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.91) (envelope-from ) id 1h1os4-0000Rg-DK; Thu, 07 Mar 2019 03:59:20 -0500 Received: from omr2.cc.ipv6.vt.edu ([2607:b400:92:8400:0:33:fb76:806e] helo=omr2.cc.vt.edu) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1h1os2-0000RX-P4 for kernelnewbies@kernelnewbies.org; Thu, 07 Mar 2019 03:59:18 -0500 Received: from mr2.cc.vt.edu (junk.cc.ipv6.vt.edu [IPv6:2607:b400:92:9:0:9d:8fcb:4116]) by omr2.cc.vt.edu (8.14.4/8.14.4) with ESMTP id x278x8D9018514 for ; Thu, 7 Mar 2019 03:59:09 -0500 Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by mr2.cc.vt.edu (8.14.7/8.14.7) with ESMTP id x278x3oY018215 for ; Thu, 7 Mar 2019 03:59:08 -0500 Received: by mail-qt1-f197.google.com with SMTP id 43so14401042qtz.8 for ; Thu, 07 Mar 2019 00:59:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to:references :mime-version:date:message-id; bh=z2u1XaWIkiDR+/qBqeyQ9u6uW+S9JlSB7wZyKjtEAl8=; b=YOuPJf5HfTSgqBz6C04UljkKgeMvG5hRGPMeEVhWO2jxQigsdHLrQBaxzvVwCM0yBw rSDmoPthSZruEuoKl6u3vLkAux/GRHnyAgWB7krFchj5tXpKaFIg66fwViVTRc4liO8r VQ6yrFmhBM+35sIgWMHLPSPSuB5QMD4xB36ZcaPU5rvX+gpSCXAmRXOodzg7FtQZss5d 4SihAxe/0Y3prvx6nQNwwI5yw1PLEjVSRQ66XE3qQbyU08cX+f6ovZzmAG4kOBP3l8dX r8uH5cEn/I29QNxXL1teJdl677ZpDLH6ZgsqiwVVGgtczuvmzM2wXz82jWZyHeDGu+Hq QVgA== X-Gm-Message-State: APjAAAXwSRN7s713gqeO6K2nSY1rXEhgdZMQSxYC0DPpUNb50zFXQIFD iRNB7j9R8mnf4MgeVngjdpjzqv5Sdd9wZGGxAC9wt5nXql2rXvYLpchTCVni9OmXUFmRa1VqxHw 8UVNiD0LdtZC3ZVOZMmLApIwn+OjR8tFbGvjYWx8= X-Received: by 2002:ac8:336a:: with SMTP id u39mr9480125qta.64.1551949143650; Thu, 07 Mar 2019 00:59:03 -0800 (PST) X-Google-Smtp-Source: APXvYqw2xcw+ePSqoZYCf4xKKR33kRS11AJXmvn5d6HyVEOTYLN5Kl7981Iyvh2MVtC1ar85/LMFfQ== X-Received: by 2002:ac8:336a:: with SMTP id u39mr9480120qta.64.1551949143476; Thu, 07 Mar 2019 00:59:03 -0800 (PST) Received: from turing-police ([2601:5c0:c001:4341::7ca]) by smtp.gmail.com with ESMTPSA id y21sm2546605qth.90.2019.03.07.00.59.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Mar 2019 00:59:02 -0800 (PST) From: valdis.kletnieks@vt.edu X-Google-Original-From: Valdis.Kletnieks@vt.edu X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7+dev To: noloader@gmail.com Subject: Re: undefined reference to `ioctl_tty' In-reply-to: References: <8142.1551861367@turing-police> Mime-Version: 1.0 Date: Thu, 07 Mar 2019 03:59:01 -0500 Message-ID: <13424.1551949141@turing-police> Cc: kernelnewbies X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org On Wed, 06 Mar 2019 03:50:10 -0500, Jeffrey Walton said: > Yeah, the race seems to be the downside to ioctl and TIOEXCL. > > It is too bad Linux does not honor O_EXCL for the device, or provide a > similar open flag like SOCK_NONBLOCK was added to avoid the race in > sockets. It would avoid a lot of problems. -ENOPATCH :) _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies