[haiku-bugs] Re: [Haiku] #4928: Implement POSIX *at() Functions

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Thu, 26 Nov 2009 18:37:39 -0000

#4928: Implement POSIX *at() Functions
---------------------------+------------------------------------------------
  Reporter:  bonefish      |       Owner:  axeld    
      Type:  enhancement   |      Status:  closed   
  Priority:  normal        |   Milestone:  R1       
 Component:  System/POSIX  |     Version:  R1/alpha1
Resolution:  fixed         |    Keywords:           
 Blockedby:                |    Platform:  All      
  Blocking:                |  
---------------------------+------------------------------------------------

Comment(by bonefish):

 Replying to [comment:10 axeld]:
 > According to the specification, O_SEARCH can also be passed to open().
 That's why I asked :-)

 Yep, it can be passed to open() and openat(), but it affects all *at()
 functions. It's mostly about permission checking, but not supporting this
 mode calls for ported packages that check for the *at() functions
 existence and implicitly assume O_SEARCH to exist as well. I'm actually
 almost surprised that none of the ported code in the repository does that.
 This kind of problem is why I had to introduce the
 B_ENABLE_INCOMPLETE_POSIX_AT_SUPPORT in the first place.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/4928#comment:11>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: