diff options
| author | Lukasz Pawelczyk <l.pawelczyk@samsung.com> | 2014-08-29 11:02:53 -0400 |
|---|---|---|
| committer | Casey Schaufler <casey@schaufler-ca.com> | 2014-08-29 13:10:36 -0400 |
| commit | e95ef49b7f8f497bdb529f4cb1fe228e986b3255 (patch) | |
| tree | ebead1fad3b032289b0035b3a8fbf83eeab0b9e1 /security | |
| parent | d166c8024d620d654b12834fac354fb4203c6c22 (diff) | |
Small fixes in comments describing function parameters
Signed-off-by: Lukasz Pawelczyk <l.pawelczyk@samsung.com>
Diffstat (limited to 'security')
| -rw-r--r-- | security/smack/smack_lsm.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c index 154548ea7d87..478d99e0a0eb 100644 --- a/security/smack/smack_lsm.c +++ b/security/smack/smack_lsm.c | |||
| @@ -771,8 +771,8 @@ static void smack_inode_free_security(struct inode *inode) | |||
| 771 | 771 | ||
| 772 | /** | 772 | /** |
| 773 | * smack_inode_init_security - copy out the smack from an inode | 773 | * smack_inode_init_security - copy out the smack from an inode |
| 774 | * @inode: the inode | 774 | * @inode: the newly created inode |
| 775 | * @dir: unused | 775 | * @dir: containing directory object |
| 776 | * @qstr: unused | 776 | * @qstr: unused |
| 777 | * @name: where to put the attribute name | 777 | * @name: where to put the attribute name |
| 778 | * @value: where to put the attribute value | 778 | * @value: where to put the attribute value |
| @@ -923,10 +923,10 @@ static int smack_inode_rmdir(struct inode *dir, struct dentry *dentry) | |||
| 923 | 923 | ||
| 924 | /** | 924 | /** |
| 925 | * smack_inode_rename - Smack check on rename | 925 | * smack_inode_rename - Smack check on rename |
| 926 | * @old_inode: the old directory | 926 | * @old_inode: unused |
| 927 | * @old_dentry: unused | 927 | * @old_dentry: the old object |
| 928 | * @new_inode: the new directory | 928 | * @new_inode: unused |
| 929 | * @new_dentry: unused | 929 | * @new_dentry: the new object |
| 930 | * | 930 | * |
| 931 | * Read and write access is required on both the old and | 931 | * Read and write access is required on both the old and |
| 932 | * new directories. | 932 | * new directories. |
| @@ -1017,7 +1017,7 @@ static int smack_inode_setattr(struct dentry *dentry, struct iattr *iattr) | |||
| 1017 | 1017 | ||
| 1018 | /** | 1018 | /** |
| 1019 | * smack_inode_getattr - Smack check for getting attributes | 1019 | * smack_inode_getattr - Smack check for getting attributes |
| 1020 | * @mnt: unused | 1020 | * @mnt: vfsmount of the object |
| 1021 | * @dentry: the object | 1021 | * @dentry: the object |
| 1022 | * | 1022 | * |
| 1023 | * Returns 0 if access is permitted, an error code otherwise | 1023 | * Returns 0 if access is permitted, an error code otherwise |
| @@ -1042,8 +1042,8 @@ static int smack_inode_getattr(struct vfsmount *mnt, struct dentry *dentry) | |||
| 1042 | * smack_inode_setxattr - Smack check for setting xattrs | 1042 | * smack_inode_setxattr - Smack check for setting xattrs |
| 1043 | * @dentry: the object | 1043 | * @dentry: the object |
| 1044 | * @name: name of the attribute | 1044 | * @name: name of the attribute |
| 1045 | * @value: unused | 1045 | * @value: value of the attribute |
| 1046 | * @size: unused | 1046 | * @size: size of the value |
| 1047 | * @flags: unused | 1047 | * @flags: unused |
| 1048 | * | 1048 | * |
| 1049 | * This protects the Smack attribute explicitly. | 1049 | * This protects the Smack attribute explicitly. |
