Re: Stricter module param and sysfs permission checks

From: Gobinda Charan Maji
Date: Wed Jun 25 2014 - 22:55:21 EST


Gobinda Charan Maji <gobinda.cemk07 <at> gmail.com> writes:



>
> Hi All,
>
> As per the newly added restriction (User perms >= group perms >= other
> perms) is concerned, there is an inconsistency in the permission. Say for
> example, permission value is "0432". Here User has only READ permission
> whereas Group has both WRITE and EXECUTE permission and Other has WRITE
> permission. I think it is not good to give Group and Other at least WRITE
> permission whereas User itself has no WRITE permission.
>
> May be, it's better to check those three permissions bit wise rather than
as
> a whole. Please rethink about my point and let me know your opinion.
>
> Thanks,
> Gobinda
>
>

Hi All,

I could not get any response yet.

Hi Rusty,

Please at least give me a reply even if my concept seems to be incorrect to
you.

Thanks in advance,
Gobinda




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/