[prev in list] [next in list] [prev in thread] [next in thread]
List: nfsv3
Subject: Re: [NFS] [PATCH] Bug in NFS - should init be allowed to set umask???
From: Alexander Viro <viro () math ! psu ! edu>
Date: 2001-07-14 12:28:42
[Download RAW message or body]
On Sat, 14 Jul 2001, Neil Brown wrote:
> > It is. Ability to connect == write permissions on AF_UNIX socket. So
> > umask matters.
>
> I certainly appreciate that permissions on an AF_UNIX socket matter,
> but wondered why they were set to "sock->inode->i_mode" rather than
> simply 0666. Maybe - I thought - sock->inode->i_mode already has the
> umask applied in some way, and so re-appling it was not necessary.
> Where-from comes the mode that is in sock->inode->i_mode ?
net/socket.c::sock_alloc().
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic