Re: [PATCH] unify ib safe file access check and log ACCESS info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 12, 2019 at 10:41:54PM +0800, Liu, Changcheng wrote:
> Hi Jason,

Please don't do top-posting.

>    1. When userspace get "-EACCES" value, it shouldn't continue query
>    within limited times. There's not much log.

What will prevent from me to call such bad application in the loop?

>
>    2. It's helpful to know the permission problem through kernel logs.

It is not kernel problem, but application. Kernel logs is not right
place for it.

>
>    3. I hit one userspace app crash and checked several aspects without
>    any finding until dynamic trace the kernel to know that why
>    "permission" is denied in ib_uverbs_write function.

It is not different from many other errors returned from the kernel.

Thanks

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux