Thread (10 messages) flat view 10 messages, 3 authors, 2021-02-02

Re: [PATCH v2] smackfs: restrict bytes count in smackfs write functions

From: Casey Schaufler <casey@schaufler-ca.com>
Date: 2021-02-02 19:36:15
Also in: lkml

On 2/2/2021 11:13 AM, Sabyrzhan Tasbolatov wrote:
quoted
if PAGE_SIZE >= SMK_LOADSIZE all legitimate requests can be made
using PAGE_SIZE as a limit. Your example with 19990 spaces before
the data demonstrates that the interface is inadequately documented.
Tizen and Automotive Grade Linux are going to be fine with a PAGE_SIZE
limit. The best way to address this concern is to go ahead with the
PAGE_SIZE limit and create ABI documents for the smackfs interfaces.
I will take your patch for the former and create a patch for the latter.
Please let me know if there is anything else required for this patch.
AFAIU, we agreed with PAGE_SIZE as the limit.
I am in the process of adding your patch to smack-next for 5.12.

I will have a separate documentation patch. 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help