LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 497|回复: 2

求SELinux的达人,解决如下问题

[复制链接]
发表于 2008-6-3 11:04:34 | 显示全部楼层 |阅读模式
http://www.ibm.com/developerworks/cn/linux/l-rbac-selinux/ 中的代码code_for_f8
运行环境RHEL5.1
make之后报错
[root@localhost cash_register]# make
Compiling targeted cash_register module
/usr/bin/checkmodule:  loading policy configuration from tmp/cash_register.tmp
cash_register.te:11:ERROR 'syntax error' at token 'domain_transition_pattern' on line 102291:
#line 11
        domain_transition_pattern(cashier_t, cash_register_exec_t, cashier_register_t);
/usr/bin/checkmodule:  error(s) encountered while parsing configuration
make: *** [tmp/cash_register.mod] 殍 1

我查看半天,没看到语法错误啊!郁闷!求达人指教
发表于 2008-6-3 11:34:05 | 显示全部楼层
RHEL最新貌似只有5.2哦,难道出了新版本???
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-3 12:00:52 | 显示全部楼层
不好意思!刚才笔误!环境是RHEL5.1
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表