-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change some magic numbers to enums so that the code is more readable
- Loading branch information
1 parent
1cc34be
commit 7f91cad
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
* fapolicyd-defs.h - Header file for defines & enums that cause loops | ||
* Copyright (c) 2019 Red Hat Inc. | ||
* All Rights Reserved. | ||
* | ||
* This software may be freely redistributed and/or modified under the | ||
* terms of the GNU General Public License as published by the Free | ||
* Software Foundation; either version 2, or (at your option) any | ||
* later version. | ||
* | ||
* 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; see the file COPYING. If not, write to the | ||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor | ||
* Boston, MA 02110-1335, USA. | ||
* | ||
* Authors: | ||
* Steve Grubb <[email protected]> | ||
*/ | ||
|
||
#ifndef FAPOLICYD_DEFS_HEADER | ||
#define FAPOLICYD_DEFS_HEADER | ||
|
||
typedef enum { OPEN_ACC, EXEC_ACC , ANY_ACC } access_t; | ||
typedef enum { RULE_FMT_ORIG, RULE_FMT_COLON } rformat_t; | ||
|
||
#endif |