[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hostname again.
From: |
James Morrison |
Subject: |
Re: hostname again. |
Date: |
Tue, 5 Feb 2002 19:26:26 -0800 (PST) |
--- "Thomas Bushnell, BSG" <tb@becket.net> wrote:
> James Morrison <rocketmail_com@rocketmail.com> writes:
>
> > Actually, O_READ, O_WRITE, O_EXEC are the only things that can be
> > turned on.
>
> No, O_APPEND, the O_*SYNC flags, and so forth, are all meaningfull.
>
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?
=====
James Morrison
University of Waterloo
Computer Science - Digital Hardware
2A co-op
http://hurd.dyndns.org
Anyone refering this as 'Open Source' shall be eaten by a GNU
__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com