Skip to content
Snippets Groups Projects
Select Git revision
  • e3d4966fc777fee2757b2b9cdca5c6e7e98eeee4
  • openEuler-1.0-LTS default protected
  • openEuler-22.09
  • OLK-5.10
  • openEuler-22.03-LTS
  • openEuler-22.03-LTS-Ascend
  • master
  • openEuler-22.03-LTS-LoongArch-NW
  • openEuler-22.09-HCK
  • openEuler-20.03-LTS-SP3
  • openEuler-21.09
  • openEuler-21.03
  • openEuler-20.09
  • 4.19.90-2210.5.0
  • 5.10.0-123.0.0
  • 5.10.0-60.63.0
  • 5.10.0-60.62.0
  • 4.19.90-2210.4.0
  • 5.10.0-121.0.0
  • 5.10.0-60.61.0
  • 4.19.90-2210.3.0
  • 5.10.0-60.60.0
  • 5.10.0-120.0.0
  • 5.10.0-60.59.0
  • 5.10.0-119.0.0
  • 4.19.90-2210.2.0
  • 4.19.90-2210.1.0
  • 5.10.0-118.0.0
  • 5.10.0-106.19.0
  • 5.10.0-60.58.0
  • 4.19.90-2209.6.0
  • 5.10.0-106.18.0
  • 5.10.0-106.17.0
33 results

test_lpm_map.c

Blame
  • hooks.c 150.14 KiB
    /*
     *  NSA Security-Enhanced Linux (SELinux) security module
     *
     *  This file contains the SELinux hook function implementations.
     *
     *  Authors:  Stephen Smalley, <sds@epoch.ncsc.mil>
     *	      Chris Vance, <cvance@nai.com>
     *	      Wayne Salamon, <wsalamon@nai.com>
     *	      James Morris <jmorris@redhat.com>
     *
     *  Copyright (C) 2001,2002 Networks Associates Technology, Inc.
     *  Copyright (C) 2003-2008 Red Hat, Inc., James Morris <jmorris@redhat.com>
     *					   Eric Paris <eparis@redhat.com>
     *  Copyright (C) 2004-2005 Trusted Computer Solutions, Inc.
     *			    <dgoeddel@trustedcs.com>
     *  Copyright (C) 2006, 2007, 2009 Hewlett-Packard Development Company, L.P.
     *	Paul Moore <paul@paul-moore.com>
     *  Copyright (C) 2007 Hitachi Software Engineering Co., Ltd.
     *		       Yuichi Nakamura <ynakam@hitachisoft.jp>
     *
     *	This program is free software; you can redistribute it and/or modify
     *	it under the terms of the GNU General Public License version 2,
     *	as published by the Free Software Foundation.
     */
    
    #include <linux/init.h>
    #include <linux/kd.h>
    #include <linux/kernel.h>
    #include <linux/tracehook.h>
    #include <linux/errno.h>
    #include <linux/sched.h>
    #include <linux/security.h>
    #include <linux/xattr.h>
    #include <linux/capability.h>
    #include <linux/unistd.h>
    #include <linux/mm.h>
    #include <linux/mman.h>
    #include <linux/slab.h>
    #include <linux/pagemap.h>
    #include <linux/proc_fs.h>
    #include <linux/swap.h>
    #include <linux/spinlock.h>
    #include <linux/syscalls.h>
    #include <linux/dcache.h>
    #include <linux/file.h>
    #include <linux/fdtable.h>
    #include <linux/namei.h>
    #include <linux/mount.h>
    #include <linux/netfilter_ipv4.h>
    #include <linux/netfilter_ipv6.h>
    #include <linux/tty.h>
    #include <net/icmp.h>
    #include <net/ip.h>		/* for local_port_range[] */
    #include <net/sock.h>
    #include <net/tcp.h>		/* struct or_callable used in sock_rcv_skb */
    #include <net/inet_connection_sock.h>
    #include <net/net_namespace.h>
    #include <net/netlabel.h>
    #include <linux/uaccess.h>
    #include <asm/ioctls.h>
    #include <linux/atomic.h>
    #include <linux/bitops.h>
    #include <linux/interrupt.h>
    #include <linux/netdevice.h>	/* for network interface checks */
    #include <net/netlink.h>
    #include <linux/tcp.h>
    #include <linux/udp.h>
    #include <linux/dccp.h>
    #include <linux/quota.h>
    #include <linux/un.h>		/* for Unix socket types */