General

Profile

vihai (Daniele Orlandi)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 2 4 6

Activity

10/21/2021

01:34 PM Ruby Bug #18255: ioctl zeroes the last buffer byte
nobu (Nobuyoshi Nakada) wrote in #note-3:
> Found the bug.
> ...
Here I am.
Apparently it doesn't.
I dug a bit deeper and I found that there are two issues that concur to this behavior:
* `ioctl_narg_len` isn't properly extracti...
vihai (Daniele Orlandi)

10/20/2021

09:51 AM Ruby Bug #18255: ioctl zeroes the last buffer byte
nobu (Nobuyoshi Nakada) wrote in #note-3:
> Found the bug.
> ...
Standby, I'm still setting up the environment to build for the embedded machine.
vihai (Daniele Orlandi)

10/19/2021

01:32 PM Ruby Bug #18255: ioctl zeroes the last buffer byte
nobu (Nobuyoshi Nakada) wrote in #note-1:
>
> ...
"X"*364 is a request that makes ioctl fail and the SystemCallError is raised before the sanity check of the buffer.
However, given `req` as a proper request as a binary string:
```
> f...
vihai (Daniele Orlandi)

10/18/2021

09:47 PM Ruby Bug #18255 (Open): ioctl zeroes the last buffer byte

Hello,
I'm running ruby 2.7.4p191 on an armv7 linux and experimenting with GPIO_GET_LINEHANDLE_IOCTL ioctl.
The ioctl sanity check is triggered as if the buffer was too small however the size of the buffer passed to ioctl is corr...
vihai (Daniele Orlandi)

06/23/2020

03:34 PM Ruby Bug #16979 (Closed): FileUtils#cp_r with preserve, lchmod fails with ENOTSUPP

Hello,
I encountered an issue copying a directory tree with symlinks with FileUtils#cp_r with preserve flag.
Apparently FileUtils considers the possibility that lchmod raises NotImplementedError, however it apparently does not bu...
vihai (Daniele Orlandi)

05/25/2020

01:09 AM Ruby Feature #15277: at_exec
I would like to add a use-case that I'm encountering right now.
I would like to call prctl(PR_SET_PDEATHSIG, ...) in order to ensure that a spawned process is always killed regardless of how cleanly the parent process exits. I couldn'...
vihai (Daniele Orlandi)

11/01/2018

03:59 PM Ruby Bug #15276 (Closed): URI.join behaviour is unintuitive

Hello,
I've been bitten by issue #10075, I actually expected a different behaviour from ::join. It doesn't IMHO resepect the "principle of least suprise".
I agree with avdi who suggests to deprecate ::join and replace it with a m...
vihai (Daniele Orlandi)

02/06/2018

11:37 AM Ruby Feature #11388: SMTP Service Extension for Delivery Status Notifications
evserykh (Evgeniy Serykh) wrote:
>
> ...
No, it's not Postfix's job, it's the client that should be able to specify RCPT extensions, including delivery notifications.
This is a missing feature, affecting me too.
vihai (Daniele Orlandi)

10/15/2015

07:36 PM Ruby Feature #11597 (Open): Add Linux-specific setfsuid(2)/setfsgid(2)
I would be helpful if you add a binding to the Linux-specific syscalls
setfsuid(2)
setfsgid(2)
Their purpose is to change the uid/gid with which filesystem access control is performed. Their main usage is simulating fs access on b...
vihai (Daniele Orlandi)

01/14/2015

06:01 PM Ruby Bug #10725: Segfault with ObjectSpace::trace_object_allocations_start
Nobuyoshi Nakada wrote:
> We don't have the same environment equals to yours, we can't address where it happens without the debugging information.
> ...
I understand the difficulties in handling such kind of issues.
I am not able to...
vihai (Daniele Orlandi)

Also available in: Atom