security: Remove unused declaration cap_mmap_file()
Commit 3f4f1f8a1a ("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>
This commit is contained in:
parent
9fc86a85f3
commit
f3128dd676
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue