From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-183.mta1.migadu.com (out-183.mta1.migadu.com [95.215.58.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3679D1D86FF for ; Fri, 7 Aug 2026 01:01:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.183 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786064504; cv=none; b=uBsGfFKC1eNoMIDNGd8CKSn6gSshsxU95tIS8PC5tuAaMg52SOmVV1zvwk73oSvawjVKCrnXkF+XD7U+Xp87tdN8mULHMrzqlM3aY3m5lBrd2322P0RK4Gaf7NmbbiSAJKtTNyaA6Knfdb6tJGE5N47ZO27hKv2a0rFyqE0JSfk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786064504; c=relaxed/simple; bh=GeASNSWyaMH5geJpb1hP6Yls0WEqHn03Q7rBpSdqlF0=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=A5XRyt/3HcSLJUCDU6GMNHcr9wYaZjPpy54heqgvb0AZAbF2fALZlL09gtq00wLea5xIsFEpfH0/90j6Iwu0lp5Cf3IAPYQjESlPcKvY840mhOyeafMefEHYW1M0SJ3ExyhrHNilWc6LZbhnA5rrpSC7FdnMWja6d8ML/FX4IY0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=chenxiaosong.com; spf=pass smtp.mailfrom=chenxiaosong.com; dkim=pass (2048-bit key) header.d=chenxiaosong.com header.i=@chenxiaosong.com header.b=jWKP3sUE; arc=none smtp.client-ip=95.215.58.183 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=chenxiaosong.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chenxiaosong.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=chenxiaosong.com header.i=@chenxiaosong.com header.b="jWKP3sUE" Message-ID: <8970140c-1de1-4989-b32c-ea485be00b79@chenxiaosong.com> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chenxiaosong.com; s=key1; t=1786064106; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VpRtSel0xJP8TJX947bv7zbxIIBd32noIiI8xUz+9h8=; b=jWKP3sUEp40izZp6RN4P8LA7wHePTTCYoku6dZu5qscwD1b0z0j323FXr0Sh3bEk+nkR1E 0TaQ29KCtC2lbYjIH+rEeZkMTFHkhJTDu+ziFfVTaBN8uxAKVoBPkjGk4t/9rIbcfdrZ5/ pLxi/2CJyBjvTBAHkVJoYyjjAjJAAFn6JqRjPRptSew3FQqJm98PJjl5W1ySEouJBrdu6x kJYbMZyZKB1GsZjjsU7E3kSITt8tNMgL5+yuenbWZebaqvTT01RVT5XvARCEaQzHFgBcRM Na2/P7QKnXDJxpq5m4XfbbjpilsAZPjDOtRJlLH0wR9F+J3fcZo6a+MHOUM13g== Date: Fri, 7 Aug 2026 08:54:10 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH] ksmbd: bound smb_check_perm_dacl() ACE walks by DACL size X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: ChenXiaoSong To: Hang Nan <2122295973@qq.com>, Namjae Jeon , Steve French Cc: linux-cifs@vger.kernel.org, linux-kernel@vger.kernel.org References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT There are not any KUnit tests in fs/smb/server. It would be great if you could submit the first KUnit test. On 8/7/26 04:35, ChenXiaoSong wrote: > Hi Hang, > > Thanks for your patch. Please rebase it on ksmbd-for-next-next branch. > : https://github.com/smfrench/smb3-kernel/commits/ksmbd-for-next-next/ > > Could you share the semantic KUnit test harness? > > 在 2026/8/7 0:04, Hang Nan 写道: >> Validation: >> - semantic KUnit harness shows the post-boundary ACE is selected >>    before the fix and rejected (EACCES) after it >> - linux master (7.2-rc6), x86_64 > -- ChenXiaoSong Chinese Homepage: https://chenxiaosong.com English Homepage: https://chenxiaosong.com/en