Skip to content

Commit 30b9dca

Browse files
committed
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
2 parents 4d40b59 + 5d8b97c commit 30b9dca

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

MAINTAINERS

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14067,8 +14067,10 @@ F: Documentation/admin-guide/LSM/LoadPin.rst
1406714067
F: security/loadpin/
1406814068

1406914069
LOCKDOWN SECURITY MODULE
14070+
M: Nicolas Bouchinet <nicolas.bouchinet@oss.cyber.gouv.fr>
14071+
M: Xiu Jianfeng <xiujianfeng@huawei.com>
1407014072
L: linux-security-module@vger.kernel.org
14071-
S: Odd Fixes
14073+
S: Maintained
1407214074
T: git https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm.git
1407314075
F: security/lockdown/
1407414076

include/linux/security.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,6 @@ int cap_inode_getsecurity(struct mnt_idmap *idmap,
193193
struct inode *inode, const char *name, void **buffer,
194194
bool alloc);
195195
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);
198196
extern int cap_task_fix_setuid(struct cred *new, const struct cred *old, int flags);
199197
extern int cap_task_prctl(int option, unsigned long arg2, unsigned long arg3,
200198
unsigned long arg4, unsigned long arg5);

security/security.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2181,7 +2181,7 @@ int security_inode_symlink(struct inode *dir, struct dentry *dentry,
21812181
}
21822182

21832183
/**
2184-
* security_inode_mkdir() - Check if creation a new director is allowed
2184+
* security_inode_mkdir() - Check if creating a new directory is allowed
21852185
* @dir: parent directory
21862186
* @dentry: new directory
21872187
* @mode: new directory mode

0 commit comments

Comments
 (0)