Merge tag 'mvebu-dt64-4.8-1' of git://git.infradead.org/linux-mvebu into next/dt64
[deliverable/linux.git] / security / selinux / include / netif.h
CommitLineData
1da177e4
LT
1/*
2 * Network interface table.
3 *
4 * Network interfaces (devices) do not have a security field, so we
5 * maintain a table associating each interface with a SID.
6 *
7 * Author: James Morris <jmorris@redhat.com>
8 *
9 * Copyright (C) 2003 Red Hat, Inc., James Morris <jmorris@redhat.com>
e8bfdb9d 10 * Copyright (C) 2007 Hewlett-Packard Development Company, L.P.
82c21bfa 11 * Paul Moore <paul@paul-moore.com>
1da177e4
LT
12 *
13 * This program is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License version 2,
15 * as published by the Free Software Foundation.
16 */
17#ifndef _SELINUX_NETIF_H_
18#define _SELINUX_NETIF_H_
19
cbe0d6e8
PM
20#include <net/net_namespace.h>
21
615e51fd
PM
22void sel_netif_flush(void);
23
cbe0d6e8 24int sel_netif_sid(struct net *ns, int ifindex, u32 *sid);
1da177e4
LT
25
26#endif /* _SELINUX_NETIF_H_ */
27
This page took 0.633369 seconds and 5 git commands to generate.