[PATCH 2/2] Using xattr to store translator record

2016-07-06 Thread LastAvengers
The purpose we implement xattr is storing passive translator in a more general way. Now passive translator record now can be stored using extended attributes. The new diskfs_{get,set}_translator() functions are also compatibility with the "legacy" passive translator record. Thanks for antrik's sug

[PATCH 1/2] xattr support for ext2fs

2016-07-06 Thread LastAvengers
Hi all, Here is the result of the first stage of my GSoC project. The xattr support for ext2fs has implemented. This patch is base on cascardo's previous work[1], Only 2 namespaces ("user." and "gnu.") are supported, as other namespaces are useless on hurd now. thanks for braunr and teythoon's m

[bug #48372] read with size 0 from fifo blocks

2016-07-06 Thread Kalle Olavi Niemitalo
Follow-up Comment #4, bug #48372 (project hurd): IEEE Std 1003.1, 2013 Edition makes nbyte==0 a special case in the read and pread functions, but I don't see similar special cases in the recv, recvfrom, and recvmsg functions. AFAICT, those should consume the message from a message-based socket ev