|
@@ -3235,7 +3235,7 @@ static void selinux_file_free_security(struct file *file)
|
|
* Check whether a task has the ioctl permission and cmd
|
|
* Check whether a task has the ioctl permission and cmd
|
|
* operation to an inode.
|
|
* operation to an inode.
|
|
*/
|
|
*/
|
|
-int ioctl_has_perm(const struct cred *cred, struct file *file,
|
|
|
|
|
|
+static int ioctl_has_perm(const struct cred *cred, struct file *file,
|
|
u32 requested, u16 cmd)
|
|
u32 requested, u16 cmd)
|
|
{
|
|
{
|
|
struct common_audit_data ad;
|
|
struct common_audit_data ad;
|