I've changed the code to use the proposed modes. There is one additional step in the new code: for the writable descriptor 0 we're now using /dev/full which causes the operation to fail even if 0 is invalidly is used for writing. -- â§ Ulrich Drepper â§ Red Hat, Inc. â§ 444 Castro St â§ Mountain View, CA â