public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [Regression] 5.4.269 fails to build due to security/apparmor/af_unix.c:583:17: error: too few arguments to function ‘unix_state_lock_nested’
@ 2024-02-23 16:18 Philip Müller
  2024-02-24  9:11 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 8+ messages in thread
From: Philip Müller @ 2024-02-23 16:18 UTC (permalink / raw)
  To: stable@vger.kernel.org
  Cc: Greg Kroah-Hartman, 'Roman Gilg', Mark Wagie

Hi Greg,

the issue might be due to this patch:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/tree/releases/5.4.269/af_unix-fix-lockdep-positive-in-sk_diag_dump_icons.patch

2024-02-23T15:39:05.6297767Z   CC      kernel/sys_ni.o
2024-02-23T15:39:05.7583048Z security/apparmor/af_unix.c: In function 
‘unix_state_double_lock’:
2024-02-23T15:39:05.7586076Z security/apparmor/af_unix.c:583:17: error: 
too few arguments to function ‘unix_state_lock_nested’
2024-02-23T15:39:05.7588374Z   583 | 
unix_state_lock_nested(sk2);
2024-02-23T15:39:05.7589913Z       |                 ^~~~~~~~~~~~~~~~~~~~~~
2024-02-23T15:39:05.7591564Z In file included from 
security/apparmor/include/af_unix.h:15,
2024-02-23T15:39:05.7593341Z                  from 
security/apparmor/af_unix.c:17:
2024-02-23T15:39:05.7594989Z ./include/net/af_unix.h:77:20: note: 
declared here
2024-02-23T15:39:05.7596733Z    77 | static inline void 
unix_state_lock_nested(struct sock *sk,
2024-02-23T15:39:05.7598516Z       | 
^~~~~~~~~~~~~~~~~~~~~~
2024-02-23T15:39:05.7600862Z security/apparmor/af_unix.c:586:17: error: 
too few arguments to function ‘unix_state_lock_nested’
2024-02-23T15:39:05.7603177Z   586 | 
unix_state_lock_nested(sk1);
2024-02-23T15:39:05.7605189Z       |                 ^~~~~~~~~~~~~~~~~~~~~~
2024-02-23T15:39:05.7606765Z ./include/net/af_unix.h:77:20: note: 
declared here
2024-02-23T15:39:05.7608497Z    77 | static inline void 
unix_state_lock_nested(struct sock *sk,
2024-02-23T15:39:05.7610208Z       | 
^~~~~~~~~~~~~~~~~~~~~~
2024-02-23T15:39:05.8002385Z make[2]: *** [scripts/Makefile.build:262: 
security/apparmor/af_unix.o] Error 1
2024-02-23T15:39:05.8005077Z make[2]: *** Waiting for unfinished jobs....
2024-02-23T15:39:05.8094726Z   CC      crypto/scatterwalk.o
2024-02-23T15:39:05.9082621Z   CC [M]  fs/btrfs/sysfs.o
2024-02-23T15:39:06.2502316Z   CC      kernel/nsproxy.o
2024-02-23T15:39:06.4094246Z make[1]: *** [scripts/Makefile.build:497: 
security/apparmor] Error 2
2024-02-23T15:39:06.4207119Z make: *** [Makefile:1750: security] Error 2
2024-02-23T15:39:06.4208636Z   CC      kernel/notifier.o
2024-02-23T15:39:06.4210296Z make: *** Waiting for unfinished jobs....
2024-02-23T15:39:06.8604827Z   CC      crypto/proc.o

-- 
Best, Philip

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-02-27  9:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-23 16:18 [Regression] 5.4.269 fails to build due to security/apparmor/af_unix.c:583:17: error: too few arguments to function ‘unix_state_lock_nested’ Philip Müller
2024-02-24  9:11 ` Greg Kroah-Hartman
2024-02-26  4:28   ` Philip Müller
2024-02-26  4:31     ` Philip Müller
2024-02-27  9:02     ` Greg Kroah-Hartman
2024-02-27  9:11       ` Greg Kroah-Hartman
2024-02-26 15:05   ` Philip Müller
2024-02-26 19:12     ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox