[pulseaudio-tickets] [PulseAudio] #679: Use of O_CLOEXEC is not BSD friendly

PulseAudio trac-noreply at tango.0pointer.de
Thu Oct 29 07:56:45 PDT 2009


#679: Use of O_CLOEXEC is not BSD friendly
---------------------+------------------------------------------------------
  Reporter:  xtophe  |       Owner:  lennart
      Type:  defect  |      Status:  new    
 Milestone:          |   Component:  core   
Resolution:          |    Keywords:         
---------------------+------------------------------------------------------

Comment(by lennart):

 And the patch proposed does not fully solve the problem unfortunately. If
 you have a new glibc on an old kernel you'll get EINVAL or so when using
 O_CLOEXEC.

 I think the proper fix would be to introduce pa_open_cloexec() or so that
 abstracts the handling of O_CLOEXEC. I'll start working on that.

-- 
Ticket URL: <http://pulseaudio.org/ticket/679#comment:7>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list