[rsbac] REG module

Tommy Tmy17 at inwind.it
Mon Apr 7 01:26:50 MEST 2003


Some "little" adds to the previous e-mail. I've done some tests and I've found 
that if I open a file for reading with rsbac_read_open(), close it and then 
reopen for writing with rsbac_write_open(), I get this, right when calling 
rsbac_write_open():

kernel BUG at dcache.c:900!
invalid operand: 0000
CPU:    0
EIP:    0010:[<c015d5fa>]    Not tainted
EFLAGS: 00010202
eax: 00000001   ebx: f7eb2080   ecx: f759d740   edx: f759d6c0
esi: c1c19bc0   edi: f759d740   ebp: f759d6c0   esp: f75578a0
ds: 0018   es: 0018   ss: 0018
Process syscall_prova (pid: 141, stackpage=f7557000)
Stack: c01514a1 c1c19bc0 c1c19bc0 c1c19bc0 c015c861 f7eb2080 c1c19bc0 c1c19bc0
       f7e55a00 c01a61e9 f759d740 f759d6c0 f7eb2080 f759d6c0 00000002 02000000
       f759d6c0 0000000a f7ced1c0 00000000 f759d740 f7d90308 f7557ac0 00000000
Call Trace:    [<c01514a1>] [<c015c861>] [<c01a61e9>] [<c02a8cbb>] 
[<c011bfdb>]
  [<c011c247>] [<fc9d8c7f>] [<fc9d83e4>] [<c01adb45>] [<c01b44ef>] 
[<c01b4607>]
  [<c01aa50d>] [<c01aac75>] [<c01b44ef>] [<c01adb45>] [<c01b4607>] 
[<c01aa6dc>]
  [<c01aa600>] [<c01d1877>] [<c01b44ef>] [<c01b4607>] [<c01aa6dc>] 
[<c01d1877>]
  [<c01d406e>] [<fc9d85c9>] [<c01d47ca>] [<c019f6df>] [<c01077f0>] 
[<c01076ff>]

Code: 0f 0b 84 03 3e 07 2c c0 8b 4f 08 85 c9 0f 84 33 01 00 00 f0
 Segmentation fault

Another thing I've noticed is that the uid is changed if I boot with a 
manteinance kernel, so, "perhaps" it is not enough to set current->uid...
The last information, I'm running an SMP system (Dual Athlon).

Hope anyone could help me :)

Bye :)


More information about the rsbac mailing list