diff options
| author | Yue Haibing <yuehaibing@huawei.com> | 2025-06-24 04:41:08 +0300 |
|---|---|---|
| committer | Paul Moore <paul@paul-moore.com> | 2025-06-25 02:32:47 +0300 |
| commit | f3128dd6762d71ec92ae888bf582a5f751c3f2e0 (patch) | |
| tree | 207662d05a524f2aac276fc3da23b3baa9b5b52f /include | |
| parent | 9fc86a85f36c51dd9e628c82091326151c8ff638 (diff) | |
| download | linux-f3128dd6762d71ec92ae888bf582a5f751c3f2e0.tar.xz | |
security: Remove unused declaration cap_mmap_file()
Commit 3f4f1f8a1ab7 ("capabilities: remove cap_mmap_file()")
removed the implementation but leave declaration.
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Serge Hallyn <serge@hallyn.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/security.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/security.h b/include/linux/security.h index dba349629229..e8d9f6069f0c 100644 --- a/include/linux/security.h +++ b/include/linux/security.h @@ -193,8 +193,6 @@ int cap_inode_getsecurity(struct mnt_idmap *idmap, struct inode *inode, const char *name, void **buffer, bool alloc); extern int cap_mmap_addr(unsigned long addr); -extern int cap_mmap_file(struct file *file, unsigned long reqprot, - unsigned long prot, unsigned long flags); extern int cap_task_fix_setuid(struct cred *new, const struct cred *old, int flags); extern int cap_task_prctl(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5); |
