[#84867] [Ruby trunk Bug#14357] thread_safe tests suite segfaults — v.ondruch@...

Issue #14357 has been reported by vo.x (Vit Ondruch).

11 messages 2018/01/15

[#84980] [Ruby trunk Feature#13618][Assigned] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid — hsbt@...

Issue #13618 has been updated by hsbt (Hiroshi SHIBATA).

10 messages 2018/01/23
[#85012] Re: [Ruby trunk Feature#13618][Assigned] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid — Eric Wong <normalperson@...> 2018/01/23

hsbt@ruby-lang.org wrote:

[ruby-core:85159] [Ruby trunk Bug#14412] DRb UNIX on local machine: add support for getpeereid()

From: hkcorac@...
Date: 2018-01-27 17:26:33 UTC
List: ruby-core #85159
Issue #14412 has been reported by hkcorac (Hk Corac).

----------------------------------------
Bug #14412: DRb UNIX on local machine: add support for getpeereid()
https://bugs.ruby-lang.org/issues/14412

* Author: hkcorac (Hk Corac)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.4.3p205 (2017-12-14 revision 61247) [x86_64-linux]
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
Hi,

`UNIXSocket` has this method `#getpeereid()` which returns effective user ID and effective group ID.

DRb using `drbunix://` on local machine doesn't support that method. In my use case, I need to verify clients via that method. So it would be great if you add support to DRb.

Actually that method `#getpeereid()` is from `BaseSocket`, but documentation states that it only supports UNIX sockets. I mean, it's a general method from parent class. So you can do the same with DRb: add some similar method, but only works via `drbunix://` on local machine. Otherwise you can raise error...

Thank you,



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next