[rsbac] REG module

Amon Ott ao at rsbac.org
Mon Apr 7 10:15:47 MEST 2003


On Monday 07 April 2003 00:26, Tommy wrote:
> 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

What file are you trying to open? These functions can only operate within the 
rsbac.dat directory, and the filename used must be a basename without /. 
Additionally, you must be very careful with locking and memory segment issues.

Generally, if you want to store some attributes, I _strongly_ recommend to 
use the generic lists. The reg_sample3 shows how to use them, and there is 
the reg.htm document.

On some filesystems (e.g. MSDOS), the filename (=listname) also has other 
limits. I recommend to use max. 7 or 8.2 chars, because the automatic backup 
appends a 'b'.

Amon.
--
http://www.rsbac.org - GnuPG: 2048g/5DEAAA30 2002-10-22


More information about the rsbac mailing list