mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 16:02:57 +00:00
security_get_bool_value(int bool) argument "bool" conflicts with in-kernel macros such as BUILD_BUG(). This patch changes this to index which isn't a type. Cc: Paul Moore <[email protected]> Cc: Stephen Smalley <[email protected]> Cc: Eric Paris <[email protected]> Cc: James Morris <[email protected]> Cc: "Serge E. Hallyn" <[email protected]> Cc: Rasmus Villemoes <[email protected]> Cc: Andrew Perepechko <[email protected]> Cc: Jeff Vander Stoep <[email protected]> Cc: [email protected] Cc: Eric Paris <[email protected]> Cc: Paul Moore <[email protected]> Cc: David Howells <[email protected]> Signed-off-by: Prarit Bhargava <[email protected]> Acked-by: David Howells <[email protected]> [PM: wrapped description for checkpatch.pl, use "selinux:..." as subj] Signed-off-by: Paul Moore <[email protected]>
23 lines
618 B
C
23 lines
618 B
C
/*
|
|
* Interface to booleans in the security server. This is exported
|
|
* for the selinuxfs.
|
|
*
|
|
* Author: Karl MacMillan <[email protected]>
|
|
*
|
|
* Copyright (C) 2003 - 2004 Tresys Technology, LLC
|
|
* 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.
|
|
*/
|
|
|
|
#ifndef _SELINUX_CONDITIONAL_H_
|
|
#define _SELINUX_CONDITIONAL_H_
|
|
|
|
int security_get_bools(int *len, char ***names, int **values);
|
|
|
|
int security_set_bools(int len, int *values);
|
|
|
|
int security_get_bool_value(int index);
|
|
|
|
#endif
|