On 11/13/2024 7:46 AM, Felix Kuehling wrote:
>
> On 2024-11-12 2:35, Zhu Lingshan wrote:
>> On 11/12/2024 6:21 AM, Felix Kuehling wrote:
>>> On 2024-11-11 03:08, Zhu Lingshan wrote:
On 11/5/2024 4:50 AM, Felix Kuehling wrote:
> On 2024-10-31 22:35, Zhu Lingshan wrote:
>> On 10/31/2024
On 2024-11-12 2:35, Zhu Lingshan wrote:
> On 11/12/2024 6:21 AM, Felix Kuehling wrote:
>>
>> On 2024-11-11 03:08, Zhu Lingshan wrote:
>>> On 11/5/2024 4:50 AM, Felix Kuehling wrote:
On 2024-10-31 22:35, Zhu Lingshan wrote:
> On 10/31/2024 11:30 PM, Felix Kuehling wrote:
>> On 2024-1
On 11/12/2024 6:21 AM, Felix Kuehling wrote:
>
> On 2024-11-11 03:08, Zhu Lingshan wrote:
>> On 11/5/2024 4:50 AM, Felix Kuehling wrote:
>>> On 2024-10-31 22:35, Zhu Lingshan wrote:
On 10/31/2024 11:30 PM, Felix Kuehling wrote:
> On 2024-10-31 6:50, Zhu Lingshan wrote:
>> The ioctl fun
On 2024-11-11 03:08, Zhu Lingshan wrote:
On 11/5/2024 4:50 AM, Felix Kuehling wrote:
On 2024-10-31 22:35, Zhu Lingshan wrote:
On 10/31/2024 11:30 PM, Felix Kuehling wrote:
On 2024-10-31 6:50, Zhu Lingshan wrote:
The ioctl functions may fail, causing the args unreliable.
Therefore, the args
On 11/5/2024 4:50 AM, Felix Kuehling wrote:
>
> On 2024-10-31 22:35, Zhu Lingshan wrote:
>> On 10/31/2024 11:30 PM, Felix Kuehling wrote:
>>> On 2024-10-31 6:50, Zhu Lingshan wrote:
The ioctl functions may fail, causing the args unreliable.
Therefore, the args should not be copied to user
On 2024-10-31 22:35, Zhu Lingshan wrote:
> On 10/31/2024 11:30 PM, Felix Kuehling wrote:
>>
>> On 2024-10-31 6:50, Zhu Lingshan wrote:
>>> The ioctl functions may fail, causing the args unreliable.
>>> Therefore, the args should not be copied to user space.
>>>
>>> The return code provides enoug
On 10/31/2024 11:30 PM, Felix Kuehling wrote:
>
> On 2024-10-31 6:50, Zhu Lingshan wrote:
>> The ioctl functions may fail, causing the args unreliable.
>> Therefore, the args should not be copied to user space.
>>
>> The return code provides enough information for
>> error handling in user space.
>
On 2024-10-31 6:50, Zhu Lingshan wrote:
> The ioctl functions may fail, causing the args unreliable.
> Therefore, the args should not be copied to user space.
>
> The return code provides enough information for
> error handling in user space.
>
> This commit checks the return code of the ioctl
The ioctl functions may fail, causing the args unreliable.
Therefore, the args should not be copied to user space.
The return code provides enough information for
error handling in user space.
This commit checks the return code of the ioctl functions
and handles errors appropriately when they fai