Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'lsm-pr-20250725' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm

Pull lsm updates from Paul Moore:

- Add Nicolas Bouchinet and Xiu Jianfeng as Lockdown maintainers

The Lockdown LSM has been without a dedicated mantainer since its
original acceptance upstream, and it has suffered as a result.
Thankfully we have two new volunteers who together I believe have the
background and desire to help ensure Lockdown is properly supported.

- Remove the unused cap_mmap_file() declaration

* tag 'lsm-pr-20250725' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm:
MAINTAINERS: Add Xiu and myself as Lockdown maintainers
security: Remove unused declaration cap_mmap_file()
lsm: trivial comment fix

+4 -4
+3 -1
MAINTAINERS
··· 14067 14067 F: security/loadpin/ 14068 14068 14069 14069 LOCKDOWN SECURITY MODULE 14070 + M: Nicolas Bouchinet <nicolas.bouchinet@oss.cyber.gouv.fr> 14071 + M: Xiu Jianfeng <xiujianfeng@huawei.com> 14070 14072 L: linux-security-module@vger.kernel.org 14071 - S: Odd Fixes 14073 + S: Maintained 14072 14074 T: git https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm.git 14073 14075 F: security/lockdown/ 14074 14076
-2
include/linux/security.h
··· 193 193 struct inode *inode, const char *name, void **buffer, 194 194 bool alloc); 195 195 extern int cap_mmap_addr(unsigned long addr); 196 - extern int cap_mmap_file(struct file *file, unsigned long reqprot, 197 - unsigned long prot, unsigned long flags); 198 196 extern int cap_task_fix_setuid(struct cred *new, const struct cred *old, int flags); 199 197 extern int cap_task_prctl(int option, unsigned long arg2, unsigned long arg3, 200 198 unsigned long arg4, unsigned long arg5);
+1 -1
security/security.c
··· 2181 2181 } 2182 2182 2183 2183 /** 2184 - * security_inode_mkdir() - Check if creation a new director is allowed 2184 + * security_inode_mkdir() - Check if creating a new directory is allowed 2185 2185 * @dir: parent directory 2186 2186 * @dentry: new directory 2187 2187 * @mode: new directory mode