Files
ubports_kernel_google_msm/include/linux
Miklos Szeredi f696a3659f [PATCH] move executable checking into ->permission()
For execute permission on a regular files we need to check if file has
any execute bits at all, regardless of capabilites.

This check is normally performed by generic_permission() but was also
added to the case when the filesystem defines its own ->permission()
method.  In the latter case the filesystem should be responsible for
performing this check.

Move the check from inode_permission() inside filesystems which are
not calling generic_permission().

Create a helper function execute_ok() that returns true if the inode
is a directory or if any execute bits are present in i_mode.

Also fix up the following code:

 - coda control file is never executable
 - sysctl files are never executable
 - hfs_permission seems broken on MAY_EXEC, remove
 - hfsplus_permission is eqivalent to generic_permission(), remove

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
2008-10-23 05:13:25 -04:00
..
2008-10-19 22:54:11 +02:00
2008-10-20 09:03:12 -07:00
2008-10-13 21:51:51 +01:00
2008-10-16 11:21:38 -07:00
2008-10-15 15:54:56 -04:00
2008-10-20 11:01:52 -07:00
2008-10-16 11:21:51 -07:00
2008-10-20 08:52:42 -07:00
2008-10-20 08:52:32 -07:00
2008-10-16 11:21:32 -07:00
2008-10-14 10:35:08 +02:00
2008-10-10 13:37:12 +01:00
2008-10-15 14:24:08 +02:00
2008-10-16 16:53:13 +02:00
2008-10-12 12:05:55 +02:00
2008-10-08 19:44:18 -04:00
2008-10-16 16:08:57 +02:00
2008-09-22 07:29:31 +01:00
2008-10-16 11:21:40 -07:00
2008-10-14 23:51:02 +02:00
2008-10-16 11:21:38 -07:00
2008-10-17 18:09:14 +02:00
2008-10-09 11:59:55 -07:00
2008-09-22 21:28:11 -07:00
2008-10-07 15:34:37 -07:00
2008-10-15 14:24:08 +02:00
2008-10-15 14:24:08 +02:00
2008-10-18 14:05:18 +02:00
2008-10-18 14:05:18 +02:00
2008-10-12 11:44:37 -07:00
2008-10-14 10:35:08 +02:00
2008-10-13 09:47:43 +11:00
2008-10-09 08:56:06 +02:00
2008-10-20 08:52:31 -07:00
2008-10-20 08:52:30 -07:00
2008-10-01 07:03:24 -07:00
2008-10-17 13:06:45 -04:00
2008-10-20 08:52:32 -07:00
2008-10-20 08:50:26 -07:00
2008-10-16 11:21:49 -07:00
2008-10-20 10:54:32 -07:00
2008-10-08 16:38:41 -07:00
2008-10-20 08:52:39 -07:00
2008-10-16 11:21:46 -07:00
2008-10-16 11:21:46 -07:00
2008-10-02 15:53:13 -07:00
2008-10-20 08:52:40 -07:00
2008-09-22 19:51:15 -07:00
2008-10-07 14:22:33 -07:00
2008-10-20 08:52:31 -07:00
2008-10-16 11:21:47 -07:00
2008-10-07 14:43:06 -07:00
2008-10-16 11:21:45 -07:00
2008-10-13 09:51:40 -07:00
2008-10-17 14:41:02 -07:00
2008-10-20 08:52:32 -07:00
2008-10-16 11:21:31 -07:00