Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jul 2011 14:50:44 -0400 (EDT)
From:      Benjamin Kaduk <kaduk@MIT.EDU>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: svn commit: r220241 - in stable/8/sys: kern sys
Message-ID:  <alpine.GSO.1.10.1107241447460.7526@multics.mit.edu>
In-Reply-To: <20110724184404.GB17489@deviant.kiev.zoral.com.ua>
References:  <201104011250.p31CoULd045353@svn.freebsd.org> <CAK2BMK6OrJ52jMNi8oJeAEyBAHj0AFMFRdjhUaYPZsWka7A75g@mail.gmail.com> <20110724184404.GB17489@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

---559023410-1361943179-1311533444=:7526
Content-Type: TEXT/PLAIN; charset=koi8-r; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE

On Sun, 24 Jul 2011, Kostik Belousov wrote:

> On Sun, Jul 24, 2011 at 01:04:28PM -0400, Ben Kaduk wrote:
>> [replying to -fs since that is where the original discussion of adding
>> O_CLOEXEC occurred]
>>
>> On Fri, Apr 1, 2011 at 8:50 AM, Konstantin Belousov <kib@freebsd.org> wr=
ote:
>>> Author: kib
>>> Date: Fri Apr =9A1 12:50:29 2011
>>> New Revision: 220241
>>> URL: http://svn.freebsd.org/changeset/base/220241
>>>
>>> Log:
>>> =9AMFC r219999:
>>> =9AAdd O_CLOEXEC flag to open(2) and fhopen(2).
>>
>> I saw mail go by on debian-bsd@lists.debian.org that the are going to
>> pick up on these O_CLOEXEC definitions and export them, which included
>> the comment:
>> No O_SEARCH yet, since FreeBSD doesn't seem to implement it.
> What do you mean by exporting them ?

Per http://lists.debian.org/debian-bsd/2011/07/msg00299.html , it is not=20
possible for them to use our sys/fcntl.h directly, so its contents must be=
=20
copied into a bits/fcntl.h that enters somehow into their framework.  (I=20
am not familiar with how this framework works.)

>
>>
>> Would there be any reason for us to support O_SEARCH?
>> http://pubs.opengroup.org/onlinepubs/9699919799/functions/open.html
>> does not make it very clear to me whether we would want to....
>
> We do not support O_SEARCH because nobody implemented it yet.

Sure, but is it worth filing a PR as a reminder?

-Ben
---559023410-1361943179-1311533444=:7526--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.GSO.1.10.1107241447460.7526>