use of __force_user in place of __user
Posted: Wed May 29, 2013 4:01 am
In the function Init/main.c the GrSecurity patch modifies
if (sys_access((const char __user *) ramdisk_execute_command, 0) != 0)
as
if (sys_access((const char __force_user *) ramdisk_execute_command, 0) != 0)
What is the use of __force here???
And it is showing an error for me during building process. Iam actually trying to apply these patches on kernel 3.10
if (sys_access((const char __user *) ramdisk_execute_command, 0) != 0)
as
if (sys_access((const char __force_user *) ramdisk_execute_command, 0) != 0)
What is the use of __force here???
And it is showing an error for me during building process. Iam actually trying to apply these patches on kernel 3.10