From owner-freebsd-security Mon Sep 20 11: 6: 8 1999 Delivered-To: freebsd-security@freebsd.org Received: from gndrsh.dnsmgr.net (GndRsh.dnsmgr.net [198.145.92.4]) by hub.freebsd.org (Postfix) with ESMTP id D28D315ACE for ; Mon, 20 Sep 1999 11:06:03 -0700 (PDT) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: (from freebsd@localhost) by gndrsh.dnsmgr.net (8.9.3/8.9.3) id LAA59995; Mon, 20 Sep 1999 11:05:40 -0700 (PDT) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <199909201805.LAA59995@gndrsh.dnsmgr.net> Subject: Re: Real-time alarms In-Reply-To: <199909201600.QAA31235@loki.ideaglobal.com> from Kiril Mitev at "Sep 20, 1999 04:00:15 pm" To: kiril@ideaglobal.com (Kiril Mitev) Date: Mon, 20 Sep 1999 11:05:40 -0700 (PDT) Cc: ark@eltex.ru, security@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > Ouch. > > > > > > do you REALLY suggest things along the lines > > > > > > set proc/priv=(... , .... , .... ) > > > > Yes, at least the functionality, we don't have to use the VMS DCL > > interface to it. set proc/priv= just flips bits in the process > > header area. > > IIRC, it 'flips bits' in a dedicated VAXCPU register. You surely don't really know how it works if you think that. It sets bits in the process header area, or PCB. It does not directly set bits in any dedicated CPU register. Some process priviledges do effect what bits in the CPU you can fool with, like CMKRN allows your user land code to execute as if it was running in kernel mode. Basically your user code tries to do a Change Mode to Kernel instruction, VMS traps that, looks at your PCB, goes, ohh, okay he is allowed to do that, sets the bits in the register for you faking the instruction and returning to your code. > > > You have a better idea?? > > NO, so I will voluntarily shut up . :-). No need to do that, just find me a better idea!! I am open to anything, need more input.. need more input... need more COFFEE!!! -- Rod Grimes - KD7CAX - (RWG25) rgrimes@gndrsh.dnsmgr.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message