Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Oct 1997 18:48:24 +0200 (MET DST)
From:      Marcus Haebler      <mh@muenster.net>
To:        freebsd-questions@freebsd.org
Subject:   ktrace and getlogin args
Message-ID:  <Pine.BSF.3.95.971025183518.11983A-100000@ns.muenster.net>

next in thread | raw e-mail | index | archive | help
Hi,

I am trying to run some SCO Binary und ibcs2 and I ran into some problems.
I started a ktraced the calls. The part where the program fails looks
like this:

   826 _mprstrt CALL  getlogin(0,0x4f00fefa,0,0x50001,0,0x4f00fefa)
   826 _mprstrt RET   getlogin 327680/0x50000
   826 _mprstrt CALL  getlogin(0x1,0x50000,0x2,0xefbfdba4,0x50000,0xefbfdbb0)
   826 _mprstrt RET   getlogin 0
   826 _mprstrt CALL  getlogin(0x1,0x50001,0x2,0xefbfdba4,0,0)
   826 _mprstrt RET   getlogin 0
   826 _mprstrt CALL  getpid
   826 _mprstrt RET   getpid 826/0x33a
   826 _mprstrt CALL  getlogin(0x2,0x50000,0x40ba48,0x960,0x1,0x800)
   826 _mprstrt RET   getlogin -1 errno 11 Resource deadlock avoided
   826 _mprstrt CALL  getlogin(0x1,0x50000,0x2,0xefbfdb8c,0,0x49134)
   826 _mprstrt RET   getlogin 0

My problem right now is, that I don't have any idea what those six
args to getlogin are. The man pages says that getlogin is (void).
In the kernel it looks like getlogin has three args. Can someone
give me any useful tips where I can find some information about
this or what those args are?


Thanks in advance,

Marcus Haebler




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.971025183518.11983A-100000>