login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
30
Re: [patch 4/8] nfsd: rename MAY_ flags
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Miklos Szeredi <miklos@...>
To: <hch@...>
Cc: <bfields@...>, <miklos@...>, <hch@...>, <linux-fsdevel@...>, <viro@...>, <linux-kernel@...>, <neilb@...>
Subject:
Re: [patch 4/8] nfsd: rename MAY_ flags
Date: Friday, May 30, 2008 - 5:53 am
> These three constants are very much ingrained in the UNIX tradition,
quoted text
> and it's no accident that the MAY_ flags correspond exactly to the > i_mode bits, which is something often exploited by permission checking > code.
Funny example of naming confusion:
quoted text
> asmlinkage long sys_faccessat(int dfd, const char __user *filename, int mode) > { > ... > if (mode & ~S_IRWXO) /* where's F_OK, X_OK, W_OK, R_OK? */ > return -EINVAL;
The MAY_* namespace is never mentioned, even though that's the one most relevant here :) Miklos --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[patch 4/8] nfsd: rename MAY_ flags
, Miklos Szeredi
, (Thu May 29, 7:32 am)
Re: [patch 4/8] nfsd: rename MAY_ flags
, Christoph Hellwig
, (Thu May 29, 8:47 am)
Re: [patch 4/8] nfsd: rename MAY_ flags
, Miklos Szeredi
, (Thu May 29, 10:02 am)
Re: [patch 4/8] nfsd: rename MAY_ flags
, J. Bruce Fields
, (Thu May 29, 4:40 pm)
Re: [patch 4/8] nfsd: rename MAY_ flags
, Christoph Hellwig
, (Fri May 30, 3:36 am)
Re: [patch 4/8] nfsd: rename MAY_ flags
, Miklos Szeredi
, (Fri May 30, 5:07 am)
Re: [patch 4/8] nfsd: rename MAY_ flags
, J. Bruce Fields
, (Fri May 30, 4:12 pm)
Re: [patch 4/8] nfsd: rename MAY_ flags
, Miklos Szeredi
, (Fri May 30, 5:53 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Jeremy Allison
Re: [RFC] Heads up on sys_fallocate()
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Joerg Roedel
[PATCH 03/34] AMD IOMMU: add defines and structures for ACPI scanning code
Eric W. Biederman
[PATCH] powerpc pseries eeh: Convert to kthread API
linux-netdev
:
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Natalie Protasevich
[BUG] New Kernel Bugs
git
:
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
905 guests
online.
Online users
danahouse
Syndicate