Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250795
b: refs/heads/master
c: 92f4250
h: refs/heads/master
i:
  250793: 1bf986b
  250791: 471b4bc
v: v3
  • Loading branch information
Eric Paris committed Apr 25, 2011
1 parent af258df commit 2f75915
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a269434d2fb48a4d66c1d7bf821b7874b59c5b41
refs/heads/master: 92f4250901476fcadc4f52ace36e453c61f5591d
4 changes: 2 additions & 2 deletions trunk/security/smack/smack_lsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1076,8 +1076,8 @@ static int smack_file_lock(struct file *file, unsigned int cmd)
{
struct smk_audit_info ad;

smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_DENTRY);
smk_ad_setfield_u_fs_path_dentry(&ad, file->f_path.dentry);
smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_PATH);
smk_ad_setfield_u_fs_path(&ad, file->f_path);
return smk_curacc(file->f_security, MAY_WRITE, &ad);
}

Expand Down

0 comments on commit 2f75915

Please sign in to comment.