https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252673

--- Comment #2 from David Chisnall <[email protected]> ---
Curious.  That test also passes for me.  I'll see if I can produce a reduced
test case.  In the program where I encountered this, the fd is actually `dup`'d
and then passed to a child process (`vfork` + `execve`) and is actually calling
`__sys_read` not `read`, because the first `read` is before enough libc is set
up for `read` to not SEGV.  I've added a `dup` and a `fork` to your test and it
still does the right thing.  Is there anything in the file descriptor
inheritance logic across `execve` that may cause a change here?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to