[apparmor] [PATCH] apparmor: Remove deadcode

2024-09-24 Thread linux
From: "Dr. David Alan Gilbert" aa_label_audit, aa_label_find, aa_label_seq_print and aa_update_label_name were added by commit f1bd904175e8 ("apparmor: add the base fns() for domain labels") but never used. aa_profile_label_perm was added by commit 637f688dc3dc ("apparmor: switch from profiles t

[apparmor] AppArmor and kernel capabilities

2017-09-12 Thread linux maillist
Good day, I run AppArmor version 2.10.2 on a kernel 4.4 system. I creates a profile for gpg and that profile requested now the capability dac_override. This raises some questions to me. First, does dac_override honor the folder permission rules within the profile? For example, if there is a rule

Re: [apparmor] AppArmor and kernel capabilities

2017-09-18 Thread linux maillist
>> This raises some questions to me. First, does dac_override honor the >> folder permission rules within the profile? For example, if there is a >> rule "/foo/** r," does dac_override this rule? >> (...) > So gpg was run as root and tried to read, write, or execute, a file > (or write to a direc

Re: [apparmor] [PATCH 3/7] hv: simplify sysctl registration

2023-03-02 Thread Michael Kelley (LINUX)
From: Luis Chamberlain On Behalf Of Luis Chamberlain Sent: Thursday, March 2, 2023 12:46 PM > > register_sysctl_table() is a deprecated compatibility wrapper. > register_sysctl() can do the directory creation for you so just use > that. > > Signed-off-by: Luis Chamberlain > --- > drivers/hv/vm

Re: [GIT PULL] sysctl constification changes for v6.11-rc1

2024-07-29 Thread patchwork-bot+linux-riscv
Hello: This pull request was applied to riscv/linux.git (fixes) by Linus Torvalds : On Wed, 24 Jul 2024 23:00:14 +0200 you wrote: > Linus > > Constifying ctl_table structs will prevent the modification of > proc_handler function pointers as they would reside in .rodata. To get > there, the proc_

Re: [GIT PULL] sysctl constification changes for v6.11-rc1

2024-07-29 Thread patchwork-bot+linux-riscv
Hello: This pull request was applied to riscv/linux.git (for-next) by Linus Torvalds : On Wed, 24 Jul 2024 23:00:14 +0200 you wrote: > Linus > > Constifying ctl_table structs will prevent the modification of > proc_handler function pointers as they would reside in .rodata. To get > there, the pr