Skip to content

Commit

Permalink
security: update security_file_mmap() docs
Browse files Browse the repository at this point in the history
This documents the fields added to security_file_mmap() that were
introduced in ed03218.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: James Morris <jmorris@namei.org>
  • Loading branch information
Kees Cook authored and James Morris committed Dec 19, 2011
1 parent 2ff6fa8 commit 114d6e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/linux/security.h
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,8 @@ static inline void security_free_mnt_opts(struct security_mnt_opts *opts)
* @reqprot contains the protection requested by the application.
* @prot contains the protection that will be applied by the kernel.
* @flags contains the operational flags.
* @addr contains virtual address that will be used for the operation.
* @addr_only contains a boolean: 0 if file-backed VMA, otherwise 1.
* Return 0 if permission is granted.
* @file_mprotect:
* Check permissions before changing memory access permissions.
Expand Down

0 comments on commit 114d6e9

Please sign in to comment.