On Wed, Jan 22, 2025 at 08:03:34PM +, ser...@kernel.org wrote:
> On Wed, Jan 22, 2025 at 07:55:35AM +0100, Arnd Bergmann wrote:
> > From: Arnd Bergmann
> >
> > The local 'sock' variable has become unused after a change to the
> > aa_sock_file_perm() calling conventions:
> >
> > security/appa
On 1/21/25 22:55, Arnd Bergmann wrote:
From: Arnd Bergmann
The local 'sock' variable has become unused after a change to the
aa_sock_file_perm() calling conventions:
security/apparmor/file.c: In function '__file_sock_perm':
security/apparmor/file.c:544:24: error: unused variable 'sock'
[-Werr
On 1/20/25 05:21, Nathan Chancellor wrote:
When CONFIG_SECURITY_APPARMOR_DEBUG_ASSERTS is disabled, there is a
warning that sock is unused:
security/apparmor/file.c: In function '__file_sock_perm':
security/apparmor/file.c:544:24: warning: unused variable 'sock'
[-Wunused-variable]
5
On Wed, Jan 22, 2025 at 07:55:35AM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann
>
> The local 'sock' variable has become unused after a change to the
> aa_sock_file_perm() calling conventions:
>
> security/apparmor/file.c: In function '__file_sock_perm':
> security/apparmor/file.c:544:24: e