Messages in this thread | | | Subject | Re: [PATCH] Return more useful error number when acls are too large | From | Andreas Gruenbacher <> | Date | Tue, 27 Apr 2004 21:10:45 +0200 |
| |
On Tue, 2004-04-27 at 20:32, J. Bruce Fields wrote: > On Mon, Apr 26, 2004 at 12:27:58PM +0200, Andreas Gruenbacher wrote: > > could you please add this to mainline? Getting EINVAL when an acl > > becomes too large is quite confusing. > > On my system, at least, "man acl_set_file" does explicitly say that > EINVAL is returned in this case. Whether that should be considered a > bug in the documentation or the code I don't know....
Indeed ... looking at POSIX 1003.1e draft 17 I now see that this function is indeed supposed to return EINVAL in this case. I was assuming that this case was undefined, but that was wrong. So let's leave the code as is -- sorry.
Cheers, -- Andreas Gruenbacher <agruen@suse.de> SUSE Labs, SUSE LINUX AG
- 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/
| |