1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/socket
akr b574a4d4a1 * include/ruby/intern.h (rb_fd_set_cloexec): declared.
* io.c (rb_fd_set_cloexec): new function.
  (ruby_dup): call rb_fd_set_cloexec to set close-on-exec flag.
  (rb_sysopen_internal): ditto.
  (rb_pipe): ditto.
  (io_reopen): ditto.
  (io_cntl): ditto.

* process.c (rb_f_exec): change the default :close_others option to
  true.
  (rb_f_system): ditto.
  (move_fds_to_avoid_crash): call rb_fd_set_cloexec to set
  close-on-exec flag.
  (ruby_setsid): ditto.
  (rb_daemon): ditto.

* thread_pthread.c (rb_thread_create_timer_thread): call
  rb_fd_set_cloexec to set close-on-exec flag.

* ruby.c (load_file_internal): ditto.

* file.c (rb_file_s_truncate): ditto.
  (file_load_ok): ditto.

* random.c (fill_random_seed): ditto.

* ext/pty/pty.c (chfunc): ditto.
  (get_device_once): ditto.

* ext/openssl/ossl_bio.c (ossl_obj2bio): ditto.

* ext/socket/init.c (rsock_socket): ditto.
  (rsock_s_accept_nonblock): ditto.
  (rsock_s_accept): ditto.

* ext/socket/socket.c (rsock_sock_s_socketpair): ditto.

* ext/socket/ancdata.c (discard_cmsg): ditto.
  (make_io_for_unix_rights): ditto.

* ext/socket/unixsocket.c (unix_recv_io): ditto.

* ext/io/console/console.c (console_dev): ditto.

[ruby-core:38140] [Feature #5041]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-22 09:58:15 +00:00
..
lib * ext/socket: Make Socket documentation appear. Add documentation for 2011-08-15 23:08:39 +00:00
.document * Various .document files: Update .document files to match files which 2011-05-11 22:31:17 +00:00
addrinfo.h
ancdata.c * include/ruby/intern.h (rb_fd_set_cloexec): declared. 2011-10-22 09:58:15 +00:00
basicsocket.c * ext/socket: Make Socket documentation appear. Add documentation for 2011-08-15 23:08:39 +00:00
constants.c
depend * ext/socket/depend (SOCK_HEADERS): use $(top_srcdir) instaed of 2011-06-22 12:30:22 +00:00
extconf.rb * ext/socket/extconf.rb: refine the recvmsg test. 2011-07-24 11:35:56 +00:00
getaddrinfo.c * ext/socket/getaddrinfo.c: parenthesize macro arguments. 2011-03-26 06:16:42 +00:00
getnameinfo.c This ifdef should be useless after r30374. 2010-12-25 17:37:36 +00:00
init.c * include/ruby/intern.h (rb_fd_set_cloexec): declared. 2011-10-22 09:58:15 +00:00
ipsocket.c * ext/socket: Make Socket documentation appear. Add documentation for 2011-08-15 23:08:39 +00:00
mkconstants.rb * ext/socket: Make Socket documentation appear. Add documentation for 2011-08-15 23:08:39 +00:00
option.c * ext/socket: Make Socket documentation appear. Add documentation for 2011-08-15 23:08:39 +00:00
raddrinfo.c * ext/socket: Make Socket documentation appear. Add documentation for 2011-08-15 23:08:39 +00:00
rubysocket.h * io.c (rb_update_max_fd): validate fd. 2011-07-23 08:13:37 +00:00
socket.c * include/ruby/intern.h (rb_fd_set_cloexec): declared. 2011-10-22 09:58:15 +00:00
sockport.h
sockssocket.c * ext/socket: Make Socket documentation appear. Add documentation for 2011-08-15 23:08:39 +00:00
tcpserver.c * ext/socket: Make Socket documentation appear. Add documentation for 2011-08-15 23:08:39 +00:00
tcpsocket.c * ext/socket: Make Socket documentation appear. Add documentation for 2011-08-15 23:08:39 +00:00
udpsocket.c * ext/socket: Make Socket documentation appear. Add documentation for 2011-08-15 23:08:39 +00:00
unixserver.c * ext/socket: Make Socket documentation appear. Add documentation for 2011-08-15 23:08:39 +00:00
unixsocket.c * include/ruby/intern.h (rb_fd_set_cloexec): declared. 2011-10-22 09:58:15 +00:00