IPC bugs.


From: Stanislav Ievlev <inger@linux.ru.net>
Subject: IPC bugs.
Date: Sat, 09 Dec 2000 13:23:04 +0300

Next Article (by Subject): Re: IPC bugs. Amon Ott
Previous Article (by Subject): Re: IPC bugs / FIFOs Amon Ott
Next in Thread: Re: IPC bugs. Amon Ott
Articles sorted by: [Date] [Author] [Subject]


Hello All!

There are problems with some IPC objects:

1. FIFO.

a) RSBAC create FIFO file as T_FILE target (see do_mknod() );

b) While opening FIFO RSBAC see it as T_IPC ( see filp_open() and
open_namei() ) and get wrong ACI information as a result.

c) rsbac_get_attr_n() function doesn't allow to see any FIFO's
attributes (Only for Regular, Block and Character Devices)


2. AF_UNIX sockets

a) sys_rsbac_set_attr and sys_rsbac_get_attr work with socket using
virtual inode.

b) While open socket ( open_namei() ) RSBAC see ordinal inode (not
virtual), and apply wrong sock structure (wrong ACI) as a result.

Note: virtual inode's value you can see in proc (ls -al /proc/1266/fd/*)
      real inode you can see using stat (stat ~/my_socket).


Any solutions?
------------------
With best regards
Stanislav Ievlev.
<inger@linux.ru.net>
-
To unsubscribe from the rsbac list, send a mail to
majordomo@rsbac.org with
unsubscribe rsbac
as single line in the body.

Next Article (by Subject): Re: IPC bugs. Amon Ott
Previous Article (by Subject): Re: IPC bugs / FIFOs Amon Ott
Next in Thread: Re: IPC bugs. Amon Ott
Articles sorted by: [Date] [Author] [Subject]


Go to Compuniverse LWGate Home Page.