Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jan 2001 10:35:52 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        Amos Blackman <blackman@eecs.harvard.edu>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: kernel resource tracking/controlling 
Message-ID:  <200101191836.f0JIZqW01159@mass.osd.bsdi.com>
In-Reply-To: Your message of "Fri, 19 Jan 2001 03:36:18 EST." <Pine.OSF.4.20.0101190321400.20423-100000@wally> 

next in thread | previous in thread | raw e-mail | index | archive | help

The short answer to your question is "no".  You might want to talk to the
TrustedBSD people, though, since the access control mechanisms are
effectively the authentication side of resource control, and the gates 
that they are implementing could become part of a wider "resource" 
management infrastructure.

Note that the word "resource" is heavily overloaded in the kernel's 
context, and you might want to try looking for a more general term (if 
such a thing is possible).

> I've been digging through a lot of unfamiliar code trying to figure this
> out on my own, and have decided it would be more efficient to see if
> there's an expert around. :)
> 
> I'm trying to implement a kernel resource tracking/controlling system in
> as general a manner as possible.  Essentially, for any resources that are
> currently held by a process, I need to know which process holds it and
> which processes are blocked on it.  For example, if a given tty is owned
> by a process and three other processes are blocked waiting on it, i want
> to be able to track that. 
> 
> So, basically, my question is: are there some "central" locations in the
> kernel where I can place calls to my code when a process obtains a
> resource and when a process blocks on a resource held by another process?
> If so, pointers to the code (and any other thoughts) would be greatly
> appreciated.
> 
> Thanks!
> 
> -amos
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101191836.f0JIZqW01159>