Blame sysdeps/x86/cet-tunables.h

Packit Service c82647
/* x86 CET tuning.
Packit Service 78f55d
   This file is part of the GNU C Library.
Packit Service c82647
   Copyright (C) 2018 Free Software Foundation, Inc.
Packit Service d34d2f
Packit Service d34d2f
   The GNU C Library is free software; you can redistribute it and/or
Packit Service d34d2f
   modify it under the terms of the GNU Lesser General Public
Packit Service d34d2f
   License as published by the Free Software Foundation; either
Packit Service d34d2f
   version 2.1 of the License, or (at your option) any later version.
Packit Service d34d2f
Packit Service d34d2f
   The GNU C Library is distributed in the hope that it will be useful,
Packit Service d34d2f
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service d34d2f
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service d34d2f
   Lesser General Public License for more details.
Packit Service d34d2f
Packit Service d34d2f
   You should have received a copy of the GNU Lesser General Public
Packit Service d34d2f
   License along with the GNU C Library; if not, see
Packit Service d34d2f
   <http://www.gnu.org/licenses/>.  */
Packit Service d34d2f
Packit Service c82647
/* Valid control values:
Packit Service c82647
   0: Enable CET features based on ELF property note.
Packit Service c82647
   1: Always disable CET features.
Packit Service c82647
   2: Always enable CET features.
Packit Service c82647
   3: Enable CET features permissively.
Packit Service c82647
 */
Packit Service c82647
#define CET_ELF_PROPERTY	0
Packit Service c82647
#define CET_ALWAYS_OFF		1
Packit Service c82647
#define CET_ALWAYS_ON		2
Packit Service c82647
#define CET_PERMISSIVE		3
Packit Service c82647
#define CET_MAX			CET_PERMISSIVE