Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113655
b: refs/heads/master
c: a813429
h: refs/heads/master
i:
  113653: d445deb
  113651: 000929c
  113647: 0760da0
v: v3
  • Loading branch information
Paul Moore committed Oct 10, 2008
1 parent 8157a49 commit f203f34
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: dfaebe9825ff34983778f287101bc5f3bce00640
refs/heads/master: a8134296ba9940b5b271d908666e532d34430a3c
5 changes: 4 additions & 1 deletion trunk/security/smack/smack_lsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -2179,7 +2179,10 @@ static int smack_socket_sock_rcv_skb(struct sock *sk, struct sk_buff *skb)
* This is the simplist possible security model
* for networking.
*/
return smk_access(smack, ssp->smk_in, MAY_WRITE);
rc = smk_access(smack, ssp->smk_in, MAY_WRITE);
if (rc != 0)
netlbl_skbuff_err(skb, rc, 0);
return rc;
}

/**
Expand Down

0 comments on commit f203f34

Please sign in to comment.