Hi all, I am trying to do a mount from kernel module in kernel 5.4 on x86_64.
It fails with -14,  I tried to set_fs(USER_DS) before calling do_mount
but it did not
 help.


do_mount() returns -EFAUTL when it checks filename validity just at
the very first lines of do_mount ().

Are there other tricks to do in order to overcome and access_ok checks?


Thanks,
Lev

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to