Path: blob/master/security/selinux/include/netif.h
10817 views
/*1* Network interface table.2*3* Network interfaces (devices) do not have a security field, so we4* maintain a table associating each interface with a SID.5*6* Author: James Morris <[email protected]>7*8* Copyright (C) 2003 Red Hat, Inc., James Morris <[email protected]>9* Copyright (C) 2007 Hewlett-Packard Development Company, L.P.10* Paul Moore, <[email protected]>11*12* This program is free software; you can redistribute it and/or modify13* it under the terms of the GNU General Public License version 2,14* as published by the Free Software Foundation.15*/16#ifndef _SELINUX_NETIF_H_17#define _SELINUX_NETIF_H_1819int sel_netif_sid(int ifindex, u32 *sid);2021#endif /* _SELINUX_NETIF_H_ */22232425