Rearrange files interfaces.
This commit is contained in:
parent
6e48775f75
commit
6dadd3995e
@ -38,6 +38,27 @@ interface(`files_type',`
|
|||||||
typeattribute $1 file_type, non_security_file_type;
|
typeattribute $1 file_type, non_security_file_type;
|
||||||
')
|
')
|
||||||
|
|
||||||
|
########################################
|
||||||
|
## <summary>
|
||||||
|
## Make the specified type a file that
|
||||||
|
## should not be dontaudited from
|
||||||
|
## browsing from user domains.
|
||||||
|
## </summary>
|
||||||
|
## <param name="file_type">
|
||||||
|
## <summary>
|
||||||
|
## Type of the file to be used as a
|
||||||
|
## member directory.
|
||||||
|
## </summary>
|
||||||
|
## </param>
|
||||||
|
#
|
||||||
|
interface(`files_security_file',`
|
||||||
|
gen_require(`
|
||||||
|
attribute file_type, security_file_type;
|
||||||
|
')
|
||||||
|
|
||||||
|
typeattribute $1 file_type, security_file_type;
|
||||||
|
')
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
## <summary>
|
## <summary>
|
||||||
## Make the specified type usable for
|
## Make the specified type usable for
|
||||||
@ -78,6 +99,26 @@ interface(`files_mountpoint',`
|
|||||||
typeattribute $1 mountpoint;
|
typeattribute $1 mountpoint;
|
||||||
')
|
')
|
||||||
|
|
||||||
|
########################################
|
||||||
|
## <summary>
|
||||||
|
## Make the specified type usable for
|
||||||
|
## security file filesystem mount points.
|
||||||
|
## </summary>
|
||||||
|
## <param name="type">
|
||||||
|
## <summary>
|
||||||
|
## Type to be used for mount points.
|
||||||
|
## </summary>
|
||||||
|
## </param>
|
||||||
|
#
|
||||||
|
interface(`files_security_mountpoint',`
|
||||||
|
gen_require(`
|
||||||
|
attribute mountpoint;
|
||||||
|
')
|
||||||
|
|
||||||
|
files_security_file($1)
|
||||||
|
typeattribute $1 mountpoint;
|
||||||
|
')
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
## <summary>
|
## <summary>
|
||||||
## Make the specified type usable for
|
## Make the specified type usable for
|
||||||
@ -206,47 +247,6 @@ interface(`files_poly_member_tmp',`
|
|||||||
type_member $1 tmp_t:dir $2;
|
type_member $1 tmp_t:dir $2;
|
||||||
')
|
')
|
||||||
|
|
||||||
########################################
|
|
||||||
## <summary>
|
|
||||||
## Make the specified type a file that
|
|
||||||
## should not be dontaudited from
|
|
||||||
## browsing from user domains.
|
|
||||||
## </summary>
|
|
||||||
## <param name="file_type">
|
|
||||||
## <summary>
|
|
||||||
## Type of the file to be used as a
|
|
||||||
## member directory.
|
|
||||||
## </summary>
|
|
||||||
## </param>
|
|
||||||
#
|
|
||||||
interface(`files_security_file',`
|
|
||||||
gen_require(`
|
|
||||||
attribute file_type, security_file_type;
|
|
||||||
')
|
|
||||||
|
|
||||||
typeattribute $1 file_type, security_file_type;
|
|
||||||
')
|
|
||||||
|
|
||||||
########################################
|
|
||||||
## <summary>
|
|
||||||
## Make the specified type usable for
|
|
||||||
## security file filesystem mount points.
|
|
||||||
## </summary>
|
|
||||||
## <param name="type">
|
|
||||||
## <summary>
|
|
||||||
## Type to be used for mount points.
|
|
||||||
## </summary>
|
|
||||||
## </param>
|
|
||||||
#
|
|
||||||
interface(`files_security_mountpoint',`
|
|
||||||
gen_require(`
|
|
||||||
attribute mountpoint;
|
|
||||||
')
|
|
||||||
|
|
||||||
files_security_file($1)
|
|
||||||
typeattribute $1 mountpoint;
|
|
||||||
')
|
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
## <summary>
|
## <summary>
|
||||||
## Make the specified type a file
|
## Make the specified type a file
|
||||||
|
Loading…
Reference in New Issue
Block a user