[ Home | Liste | F.A.Q. | Risorse | Cerca... ]


[ Data: precedente | successivo | indice ] [ Argomento: precedente | successivo | indice ]


Archivio: Novembre 2001 ml@sikurezza.org
Soggetto: Re: info su VM kernel
Mittente: Andrea Campi
Data: 28 Nov 2001 10:10:48 -0000
On Tue, Nov 27, 2001 at 01:47:24PM +0100, Monaco Mauro (Rozzano) wrote:
> 
> su una macchina solaris, sistema operativo 2.6.
> 
> il problema lo trovo con la funzione  kvm_nlist, perchè il valore è nullo e
> quindi esce
> nel successivo controllo if (namelist[0].n_value == 0)

Potresti postare un pezzo un po' più lungo? Da quel che vedo qui, posso solo
commentare:


> 
> 
> struct nlist nl[] = {

              ^^^^

> #define N_TCB          0
>            { "_tcb" },
>            ""
> };
> 
> .......
> 
> 
> 
> 	if (kvm_nlist(kd, namelist)) {

                          ^^^^^^^^

Però forse è un errore di copia incolla, altrimenti dovresti avere ben
altri problemi (tipo non compilare nemmeno). ;-)

Ciao,
	Andrea


> 		nlisterr(namelist);
> 		return(0);
> 	}
> 	if (namelist[0].n_value == 0) {
> 		error("No symbols in namelist");
> 		return(0);
> 	}
> 
> Forse devo linkare qualche libreria dinamica o qualcosa del genere, perchè
> il codice mi sembra corretto.
> 
> Grazie della collaborazione.
> 
> 
> 
>  Cordiali saluti.
> 
> Mauro Monaco
> SARITEL S.p.A.
> DTM (Data Messaging)
> email: m.monaco@saritel.it
> Tel. +39-0289204238
> Fax.+39-0289204600
> 
> ----------------------------------------------------------------------------
> -------------------------------------------------------------
> AVVISO: Le informazioni contenute o allegate alla mail sono classificate -
> SARITEL - Uso interno - e sono dirette unicamente al destinatario in
> indirizzo che si impegna a mantenere riservate le informazioni relative alla
> presente. Chiunque riceva questa mail per errore è tenuto ad informare
> immediatamente il mittente ed a distruggere le informazioni in essa
> contenute. Si ringrazia per la collaborazione.
> NOTICE: This message contains Saritel classified information intended only
> for use of the addressed name above. If the reader of this message is not
> the intended recipient or the employee or agent responsible for delivering
> the message to the intended recipient, please note that dissemination,
> distribution or copying of this communication is strictly forbidden. Anyone
> who receives this communication in error should notify us immediately by
> mail at the above address and delete the information contained in the
> message.
> 
> 
> 
> ________________________________________________________
> http://www.sikurezza.org - Italian Security Mailing List

-- 
Andrea Campi                              mailto:a.campi@inet.it
I.NET S.p.A.                              http://www.inet.it
Direzione Tecnica - R&D			  phone: +39 02 32863 ext 1
v. Darwin, 85 - I-20019			  fax: +39 02 32863 ext 7701
Settimo Milanese (MI), Italy

________________________________________________________
http://www.sikurezza.org - Italian Security Mailing List




[ Home | Liste | F.A.Q. | Risorse | Cerca... ]

www.sikurezza.org - Italian Security Mailing List
(c) 1999-2005