nr_free_pages 61011 nr_zone_inactive_anon 259117 nr_zone_active_anon 286069 nr_zone_inactive_file 824047 nr_zone_active_file 273629 nr_zone_unevictable 1000 nr_zone_write_pending 676 nr_mlock 0 nr_bounce 0 nr_zspages 0 nr_free_cma 0 nr_unaccepted 0 numa_hit 246658671 numa_miss 0 numa_foreign 0 numa_interleave 938 numa_local 246658671 numa_other 0 nr_inactive_anon 259117 nr_active_anon 286069 nr_inactive_file 824047 nr_active_file 273629 nr_unevictable 1000 nr_slab_reclaimable 203292 nr_slab_unreclaimable 24641 nr_isolated_anon 0 nr_isolated_file 0 workingset_nodes 54788 workingset_refault_anon 15967 workingset_refault_file 878766 workingset_activate_anon 3934 workingset_activate_file 460004 workingset_restore_anon 3924 workingset_restore_file 149838 workingset_nodereclaim 66983 nr_anon_pages 484477 nr_mapped 53880 nr_file_pages 1141700 nr_dirty 676 nr_writeback 0 nr_writeback_temp 0 nr_shmem 35325 nr_shmem_hugepages 0 nr_shmem_pmdmapped 0 nr_file_hugepages 0 nr_file_pmdmapped 0 nr_anon_transparent_hugepages 413 nr_vmscan_write 82033 nr_vmscan_immediate_reclaim 0 nr_dirtied 7931055 nr_written 7393079 nr_throttled_written 0 nr_kernel_misc_reclaimable 0 nr_foll_pin_acquired 3623 nr_foll_pin_released 3623 nr_kernel_stack 9056 nr_page_table_pages 3644 nr_sec_page_table_pages 0 nr_iommu_pages 0 nr_swapcached 8698 pgpromote_success 0 pgpromote_candidate 0 :ˆl–äY>”ŠC]Š‚fãN\ªbÑ¿È 562Ça–ß=¿JJj"Tâ‚ ÆÚ¸!)‹FÿÆ2# This file is dual licensed under the terms of the Apache License, Version # 2.0, and the BSD License. See the LICENSE file in the root of this repository # for complete details. from __future__ import absolute_import, division, print_function from .__about__ import ( __author__, __copyright__, __email__, __license__, __summary__, __title__, __uri__, __version__, ) __all__ = [ "__title__", "__summary__", "__uri__", "__version__", "__author__", "__email__", "__license__", "__copyright__", ] $ˆl–Ým_Jµ!®Å8 Cp Üiå1hßÊ „d,²ÏÉ¿Ç?÷# Authors: Karl MacMillan # # Copyright (C) 2006-2007 Red Hat # see file 'COPYING' for use and warranty information # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; version 2 only # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # OVERVIEW # # # This is a parser for the refpolicy policy "language" - i.e., the # normal SELinux policy language plus the refpolicy style M4 macro # constructs on top of that base language. This parser is primarily # aimed at parsing the policy headers in order to create an abstract # policy representation suitable for generating policy. # # Both the lexer and parser are included in this file. The are implemented # using the Ply library (included with sepolgen). import sys import os import re import traceback from . import access from . import defaults from . import lex from . import refpolicy from . import yacc # ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: # # lexer # # ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: tokens = ( # basic tokens, punctuation 'TICK', 'SQUOTE', 'OBRACE', 'CBRACE', 'SEMI', 'COLON', 'OPAREN', 'CPAREN', 'COMMA', 'MINUS', 'TILDE', 'ASTERISK', 'AMP', 'BAR', 'EXPL', 'EQUAL', 'FILENAME', 'IDENTIFIER', 'NUMBER', 'PATH', 'IPV6_ADDR', # reserved words # module 'MODULE', 'POLICY_MODULE', 'REQUIRE', # flask 'SID', 'GENFSCON',