Re: [PATCH 3/6] linux-user: Update SO_TIMESTAMP to SO_TIMESTAMP_OLD/NEW

2020-08-07 Thread Laurent Vivier
Le 23/07/2020 à 02:19, Shu-Chun Weng a écrit : > Both guest options map to host SO_TIMESTAMP while keeping a bit in > fd_trans to remember if the guest expects the old or the new format. I don't think we need to keep this information for each fd. Once a program has used the _NEW version it will a

[PATCH 3/6] linux-user: Update SO_TIMESTAMP to SO_TIMESTAMP_OLD/NEW

2020-07-22 Thread Shu-Chun Weng
Both guest options map to host SO_TIMESTAMP while keeping a bit in fd_trans to remember if the guest expects the old or the new format. Added a multiarch test to verify. Signed-off-by: Shu-Chun Weng --- linux-user/alpha/sockbits.h| 8 +- linux-user/fd-trans.h | 4