Roberto Gordo Saez | 2 Jan 17:46 2006

dazuko_access -> file_mode is never filled

Hello again.

I've noticed that field file_mode from structure dazuko_access is always
unset. I don't know if it is done this way on purpose, but anyway, since
I've already hacked the changes for my own purpose, I post them here.

The key/value pair already exists and it is "FM=xxx". It is passed to
user space on function dazuko_handle_request_get_an_access. Is
missing the corresponding code to read the value in function
dazukoGetAccess_TS.

--- dazuko-2.1.0.orig/dazukoio_core.c   2005-07-05 21:57:25.000000000
+0200
+++ dazuko-2.1.0/dazukoio_core.c        2006-01-02 16:40:30.000000000
+0100
 <at>  <at>  -910,6 +910,11  <at>  <at> 
                        temp_acc->file_device = atoi(buffer);
                        temp_acc->set_file_device = 1;
                }
+               if (dazuko_get_value("\nFM=", request->reply_buffer,
buffer, sizeof(buffer)) == 0)
+               {
+                       temp_acc->file_mode = atoi(buffer);
+                       temp_acc->set_file_mode = 1;
+               }
        }

        free_request(&request);
John Ogness | 3 Jan 08:29 2006
Picon

Re: dazuko_access -> file_mode is never filled

Roberto Gordo Saez wrote:
> I've noticed that field file_mode from structure dazuko_access is always
> unset. I don't know if it is done this way on purpose, but anyway, since
> I've already hacked the changes for my own purpose, I post them here.

Thanks. I have made the changes in CVS.

John Ogness

--

-- 
Dazuko Maintainer
John Ogness | 20 Jan 22:58 2006
Picon

2.1.1 Released

Hi,

Version 2.1.1 of Dazuko has now been officially released. The changes
since the 2.1.0 release have focussed on supporting the many flavors of
Linux 2.6 LSM, device, and suspend API's that have been coming out over
the past few months.

Other changes have included minor internal cleanups to improve the
code's portability.

FreeBSD 6 support was also officially added.

My next immediate task is preparing a special birthday pre-release for
Dazuko's upcoming 4th birthday. It will be an early pre-release of
Dazuko version 3.0, which is based purely on DazukoFS. NetBSD support
will for sure be included and I am working to get Linux support added as
well. This will be quite an early pre-release, so people waiting for
DazukoFS shouldn't get too excited yet. But it will be nice to get
something working "out on the table".

For the 2.x branches, I have no immediate plans, but I can forsee the
following agenda:

2.1.x: minor fixes, support Linux API changes

2.2.x: support for system call hooking with Linux 2.6, support for
OpenBSD, support for fine-grained masking

John Ogness

(Continue reading)


Gmane