[About SA_SIGINFO] Getting signal sender's PID and RUID

2002-10-26 Thread Leslie Jackson
printf("sending process ID: %d\n", info->si_pid); printf("sending process real user ID: %d\n", info->si_uid); } --8<-- Anything i've missed? Are there any alternative w

Re: Thanx and another question

2001-12-20 Thread Leslie Jackson
corecode has written: >On Thu, 20 Dec 2001 14:2:16 +0800 Leslie Jackson <[EMAIL PROTECTED]> >wrote: > >> Now i think i've got a basic knowledge about the BIOS data area. >> But reading the code of boot0.s, i got another question as in the >> follo

Thanx and another question

2001-12-19 Thread Leslie Jackson
Mike Smith has written: >> I'm now learing the PCs boot procedure by reading boot0.s. > >Ooh, that's bad. Not a really good place to start. 8) But for your help & insight, it would have been bad. :) Besides the PCs boot procedure, i wanted to learn more about assembly language (AT&T synta

Re: Re: boot0/boot0.s

2001-12-19 Thread Leslie Jackson
Mike Smith has written > >If you're confused about what the code is doing there; it's comparing >the number of hard drives in the system (stored in the BIOS data area >at 0x475) with the drive number that's in al to verify whether the >drive number is valid according to the BIOS. Thanks for your

boot0/boot0.s

2001-12-19 Thread Leslie Jackson
Hi. I'm reading the code /usr/src/sys/boot/i386/boot0/boot0.s. And i've found that the FreeBSD Boot Manager is really smart & cool. But i've got some problems in this source code. I got puzzled from this line: cmpb cmpb NHRDRV,%al. I don't know what it's for and got no idea about the following co