Re: [TOMOYO 05/15](repost) Domain transition handler functions.

2007-10-15 Thread Tetsuo Handa
Hello. Peter Zijlstra wrote: > > append_function() { > > > > down(semaphore_for_write_protect); > > ... > > ptr = head; > > while (ptr->next) ptr = ptr->next; > > ptr->next = new_entry; > > ... > > up(semaphore_for_write_protect); > > > > } > > If at all possible, use struct mutex

Re: [TOMOYO 05/15](repost) Domain transition handler functions.

2007-10-15 Thread Tetsuo Handa
Hello. James Morris wrote: > > > It seems that standard kernel list API does not have singly-linked list > > > manipulation. > > > I'm considering the following list manipulation API. > > I'm pretty sure that the singly linked list idea has been rejected a few > times. Just use the existing AP

Re: [PATCH] Version 7 (2.6.23) Smack: Simplified Mandatory Access Control Kernel

2007-10-15 Thread Paul Moore
On Sunday 14 October 2007 11:30:53 pm Casey Schaufler wrote: > --- "Ahmed S. Darwish" <[EMAIL PROTECTED]> wrote: > > Hi Casey, > > > > On Sun, Oct 14, 2007 at 10:15:42AM -0700, Casey Schaufler wrote: > > > + > > > +CIPSO Configuration > > > + > > > +It is normally unnecessary to specify the CIPSO c

[PATCH 1/2 -mm] capabilities: clean up file capability reading

2007-10-15 Thread Serge E. Hallyn
This patch is a simple cleanup which should probably be applied to -mm (assuming I haven't messed it up). The next patch is an experimental patch which will require userspace support and is just RFC at this point. >From 9fc0782de6e1287aaeebe8ad653b008f09b22c11 Mon Sep 17 00:00:00 2001 From: Serge

[RFC] [PATCH 2/2] capabilities: implement 64-bit capabilities

2007-10-15 Thread Serge E. Hallyn
>From 7dd503c612afcb86b3165602ab264e2e9493b4bf Mon Sep 17 00:00:00 2001 From: Serge E. Hallyn <[EMAIL PROTECTED]> Date: Mon, 15 Oct 2007 20:57:52 -0400 Subject: [RFC] [PATCH 2/2] capabilities: implement 64-bit capabilities We are out of capabilities in the 32-bit capability fields, and several use