[rsbac] problem about MAC

unimatter rsbac@rsbac.org
Tue Apr 2 10:11:01 2002


  I do exactly as "RSBAC for beginners" told me.
  I login as "test" and creat /tmp/mactest, then set
  /tmp/mactest's MAC security level to 2 and test's 
  security level to 2.
  The problem is:
  I can write /tmp/mactest, but I cannot read it.

  I add some printk to the kernel code, and I found that
  no matter what security level and category I set for user test,
  when run, test's security level is always 0, and category
  always 1.
  Why ?



新浪免费电子邮箱 (http://mail.sina.com.cn)
新浪分类信息:二手市场走一走,该出手时就出手! (http://classad.sina.com.cn/2shou/)