diff options
author | Jeff Garzik <jgarzik@pretzel.yyz.us> | 2005-06-22 21:50:57 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-06-22 21:50:57 -0400 |
commit | a5324343955997d1439f26518ddac567cd5d134b (patch) | |
tree | f43558389c41e3a0f076c4ee55d77c4aa1561779 /security/selinux/hooks.c | |
parent | 8199d3a79c224bbe5943fa08684e1f93a17881b0 (diff) | |
parent | a4936044001694f033fe4ea94d6034d51a6b465c (diff) |
Merge /spare/repo/linux-2.6/
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r-- | security/selinux/hooks.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index aae1e794fe48..87302a49067b 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c | |||
@@ -1945,6 +1945,7 @@ static int selinux_sb_copy_data(struct file_system_type *type, void *orig, void | |||
1945 | } while (*in_end++); | 1945 | } while (*in_end++); |
1946 | 1946 | ||
1947 | copy_page(in_save, nosec_save); | 1947 | copy_page(in_save, nosec_save); |
1948 | free_page((unsigned long)nosec_save); | ||
1948 | out: | 1949 | out: |
1949 | return rc; | 1950 | return rc; |
1950 | } | 1951 | } |
@@ -3419,7 +3420,7 @@ static int selinux_nlmsg_perm(struct sock *sk, struct sk_buff *skb) | |||
3419 | err = selinux_nlmsg_lookup(isec->sclass, nlh->nlmsg_type, &perm); | 3420 | err = selinux_nlmsg_lookup(isec->sclass, nlh->nlmsg_type, &perm); |
3420 | if (err) { | 3421 | if (err) { |
3421 | if (err == -EINVAL) { | 3422 | if (err == -EINVAL) { |
3422 | audit_log(current->audit_context, | 3423 | audit_log(current->audit_context, AUDIT_SELINUX_ERR, |
3423 | "SELinux: unrecognized netlink message" | 3424 | "SELinux: unrecognized netlink message" |
3424 | " type=%hu for sclass=%hu\n", | 3425 | " type=%hu for sclass=%hu\n", |
3425 | nlh->nlmsg_type, isec->sclass); | 3426 | nlh->nlmsg_type, isec->sclass); |