Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Oct 2003 18:01:24 -0200
From:      "Daniel C. Sobral" <dcs@tcoip.com.br>
To:        Robert Watson <rwatson@freebsd.org>
Cc:        Current <current@freebsd.org>
Subject:   Re: Weird behavior with /dev/mem
Message-ID:  <3FA2BF94.4010103@tcoip.com.br>
In-Reply-To: <Pine.NEB.3.96L.1031031144544.90011F-100000@fledge.watson.org>
References:  <Pine.NEB.3.96L.1031031144544.90011F-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
[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



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