Hello, syzbot tried to test the proposed patch but the build/boot failed: security/apparmor/domain.c:695:3: error: expected expression security/apparmor/domain.c:697:3: error: use of undeclared identifier 'new_profile' security/apparmor/domain.c:699:8: error: use of undeclared identifier 'new_profile' security/apparmor/domain.c:704:11: error: use of undeclared identifier 'new_profile' Tested on: commit: 6d59cab0 Add linux-next specific files for 20241111 git tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git next-20241111 kernel config: https://syzkaller.appspot.com/x/.config?x=75175323f2078363 dashboard link: https://syzkaller.appspot.com/bug?extid=867b0179d31db9955876 compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 Note: no patches were applied.