use device_node attribute instead of individual calls per type
This commit is contained in:
parent
a65611d2e2
commit
28567af291
@ -44,10 +44,6 @@ interface(`dev_node',`
|
||||
')
|
||||
|
||||
typeattribute $1 device_node;
|
||||
|
||||
fs_associate($1)
|
||||
fs_associate_tmpfs($1)
|
||||
files_associate_tmp($1)
|
||||
')
|
||||
|
||||
########################################
|
||||
|
@ -195,3 +195,13 @@ files_associate_tmp(xconsole_device_t)
|
||||
# this should be removed
|
||||
type devfs_control_t;
|
||||
dev_node(devfs_control_t)
|
||||
|
||||
########################################
|
||||
#
|
||||
# Rules for all device nodes
|
||||
#
|
||||
|
||||
fs_associate(device_node)
|
||||
fs_associate_tmpfs(device_node)
|
||||
|
||||
files_associate_tmp(device_node)
|
||||
|
Loading…
Reference in New Issue
Block a user