From owner-freebsd-current@FreeBSD.ORG Fri Oct 31 12:01:31 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 475B716A4D6; Fri, 31 Oct 2003 12:01:31 -0800 (PST) Received: from mail.tcoip.com.br (erato.tco.net.br [200.220.254.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D19643F85; Fri, 31 Oct 2003 12:01:29 -0800 (PST) (envelope-from dcs@tcoip.com.br) Received: from tcoip.com.br (dcs@[10.0.2.6]) by mail.tcoip.com.br (8.11.6/8.11.6) with ESMTP id h9VK1Pb05688; Fri, 31 Oct 2003 18:01:25 -0200 Message-ID: <3FA2BF94.4010103@tcoip.com.br> Date: Fri, 31 Oct 2003 18:01:24 -0200 From: "Daniel C. Sobral" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031030 X-Accept-Language: en-us, en, pt-br, ja MIME-Version: 1.0 To: Robert Watson References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Current Subject: Re: Weird behavior with /dev/mem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2003 20:01:31 -0000 [trimming CC list and quotes] Robert Watson wrote: > > Are you using kdm/xdm to log in, or using startx? It's fairly likely > xdm/kdm aren't setting your label on login, and so you're getting the > label from the context they were run from. Whereas when you log in using > login(1) login, your label is set properly. getpmac should reveal whether > this is the case. Put this in ttys: ttyvb "/usr/sbin/setpmac mls/equal /usr/X11R6/bin/xdm -nodaemon" xterm on secure Indeed, my label is mls/equal. As X works, I'm satisfied for now. :-) This machine only run mac so I can test stuff in it anyway. -- Daniel C. Sobral (8-DCS) Gerencia de Operacoes Divisao de Comunicacao de Dados Coordenacao de Seguranca VIVO Centro Oeste Norte Fones: 55-61-313-7654/Cel: 55-61-9618-0904 E-mail: Daniel.Capo@tco.net.br Daniel.Sobral@tcoip.com.br dcs@tcoip.com.br Outros: dcs@newsguy.com dcs@freebsd.org capo@notorious.bsdconspiracy.net The means-and-ends moralists, or non-doers, always end up on their ends without any means. -- Saul Alinsky