Re: Weird behavior with /dev/mem

From: Daniel C. Sobral <dcs_at_tcoip.com.br>
Date: Fri, 31 Oct 2003 18:01:24 -0200
[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_at_tco.net.br
         Daniel.Sobral_at_tcoip.com.br
         dcs_at_tcoip.com.br

Outros:
	dcs_at_newsguy.com
	dcs_at_freebsd.org
	capo_at_notorious.bsdconspiracy.net

The means-and-ends moralists, or non-doers,
always end up on their ends without any means.
		-- Saul Alinsky
Received on Fri Oct 31 2003 - 11:01:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:27 UTC