Thread (4 messages) 4 messages, 2 authors, 2021-07-21

Re: [PATCH] Smack: Fix wrong semantics in smk_access_entry()

From: Tianjia Zhang <hidden>
Date: 2021-07-21 03:14:15
Also in: lkml


On 7/21/21 12:32 AM, Casey Schaufler wrote:
On 7/15/2021 8:15 AM, Casey Schaufler wrote:
quoted
On 7/15/2021 2:17 AM, Tianjia Zhang wrote:
quoted
In the smk_access_entry() function, if no matching rule is found
in the rust_list, a negative error code will be used to perform bit
operations with the MAY_ enumeration value. This is semantically
wrong. This patch fixes this issue.
Indeed, the code as written is functioning correctly by
sheer luck. I will take this patch. Thank you.
quoted
Signed-off-by: Tianjia Zhang <redacted>
Added to the Smack next branch.
Great, Thanks.

Tianjia
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help