[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hostname again.
From: |
Thomas Bushnell, BSG |
Subject: |
Re: hostname again. |
Date: |
11 Feb 2002 18:40:00 -0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
James Morrison <rocketmail_com@rocketmail.com> writes:
> Humm, I seem to be missing something. The flags are passed to the
> glibc function __dir_mkfile which makes an RPC dir_mkfile call to
> the proper translator. In the case of lib diskfs/dir-mkfile.c the
> flags are untouched until line 70:
>
> flags &= (O_READ | O_WRITE | O_EXEC);
>
> Then the flags are passed to diskfs_make_peropen.
>
> flags &= (O_READ | O_WRITE | O_EXEC);
> should removed all options that are turned on but O_READ, O_WRITE,
> and O_EXEC right?
You're right. I think however that this is wrong. Perhaps we should
just drop that line.
Roland, can you compare the current behavior of dir-mkfile.c with the
open mode bits, and make a suggestion about what you think we should
do? This is our own function, so we can tweak the semantics as we
please.