tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Common chmod and chown routines



hi,

> Hey,
> 
> On Sun, Apr 19, 2009 at 1:40 PM, Reinoud Zandijk 
> <reinoud%netbsd.org@localhost> wrote:
>> Dear Elad,
>>
>> i'd change the function names; `common_chown' and `common_chmod' are not 
>> clear
>> to me.
>>
>> I propose `check_chown_allowed' and `check_chmod_allowed' instead, or even
>> `chown_allowed' and `chmod_allowed'.
> 
> I don't really mind what they're called, but the reasoning was that only
> a subset of the checks is "common", hence the name... I'll propose
> "common_ch{mod,own}_allowed", and if that's not clear, I'll use your
> suggestion.
> 
> Thanks,
> 
> -e.

given that these functions fail into the same category as
the existing vaccess, these function names and the argument order
(a credential as the first argument) seem weird to me.

YAMAMOTO Takashi


Home | Main Index | Thread Index | Old Index