defining a new class in a policy module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I created a new policy inside the refpolicy. I am trying to define a new
class inside this module. When I compile, it fails with parsing error:

/usr/bin/checkmodule -M -m tmp/gsmd.tmp -o tmp/gsmd.mod
/usr/bin/checkmodule:  loading policy configuration from tmp/gsmd.tmp
policy/modules/services/gsmd.te:3:ERROR 'syntax error' at token 'Class'
on line 1185:

Class gsmd { send_sms_msg receive_sms_msg };
/usr/bin/checkmodule:  error(s) encountered while parsing configuration


Here is my class definition:
Class gsmd { send_sms_msg receive_sms_msg };

I would like to know how to define a new class in policy module?

Thanks,
-M Hassan


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux