[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <loom.20150428T154908-557@post.gmane.org>
Date: Tue, 28 Apr 2015 14:02:40 +0000 (UTC)
From: Gobinda Charan Maji <gobinda.cemk07@...il.com>
To: linux-kernel@...r.kernel.org
Subject: Re: Stricter module param and sysfs permission checks
Robert Jarzmik <robert.jarzmik <at> free.fr> writes:
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists