~ubuntu-branches/ubuntu/lucid/linux-rt/lucid

« back to all changes in this revision

Viewing changes to security/selinux/include/netlabel.h

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2009-08-05 23:00:52 UTC
  • Revision ID: james.westby@ubuntu.com-20090805230052-7xedvqcyk9dnnxb2
Tags: 2.6.31-1.1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
int selinux_netlbl_inet_conn_request(struct request_sock *req, u16 family);
57
57
void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family);
58
58
int selinux_netlbl_socket_post_create(struct sock *sk, u16 family);
59
 
int selinux_netlbl_inode_permission(struct inode *inode, int mask);
60
59
int selinux_netlbl_sock_rcv_skb(struct sk_security_struct *sksec,
61
60
                                struct sk_buff *skb,
62
61
                                u16 family,
127
126
{
128
127
        return 0;
129
128
}
130
 
static inline int selinux_netlbl_inode_permission(struct inode *inode,
131
 
                                                  int mask)
132
 
{
133
 
        return 0;
134
 
}
135
129
static inline int selinux_netlbl_sock_rcv_skb(struct sk_security_struct *sksec,
136
130
                                              struct sk_buff *skb,
137
131
                                              u16 family,