Weird behavior with /dev/mem

Daniel C. Sobral dcs at tcoip.com.br
Fri Oct 31 12:01:31 PST 2003


[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



More information about the freebsd-current mailing list