Bugtraq mailing list archives
accpet(3n) under SOlaris 2.4
From: matt () uts EDU AU (Jas)
Date: Wed, 25 Jan 1995 19:24:59 +1000 (EST)
i recently tried to install identd on my new Solaris 2.4 machine.. i have since found out it has a problem with accept(3n). now.. im not sure why it spits the dummy at it, but here is the truss dump, so that those with either the source or more knowledge than myself could explain why it is barfing.. here below it starts right at the accept.. lines beginning with *** are from the source code.. *** fd = accept(0, &sad, &sadlen); 2428: sigaction(SIGCLD, 0xEFFFFC50, 0xEFFFFD50) = 0 2428: poll(0xEFFFDD90, 1, -1) = 1 2428: sigfillset(0xEF683BB0) = 0 2428: sigprocmask(SIG_SETMASK, 0xEFFFFC8C, 0xEFFFFCC0) = 0 2428: ioctl(0, I_STR, 0xEFFFFB10) = 0 2428: ioctl(0, I_GETSIG, 0xEFFFFB94) Err#22 EINVAL 2428: sigprocmask(SIG_SETMASK, 0xEFFFFCC0, 0xEFFFFC6C) = 0 *** if (fd == -1) *** ERROR1("main: accept. errno = %d", errno); anyway... the ioctl(0,I_GETSIG,xxxxx) seems to be the problem.. fd 0 is a socket (which will probably make a difference), just a straight normal tcp listen socket with no options. so anyway there is the problem... if anyone has a fix or knows what the problem is, it would be appreciated. Matt -- Matthew Keenan Systems Programmer Information Technology Division University of Technology Sydney Australia email: matt () uts edu au www: http://milliways.itd.uts.edu.au/~matt/ ph: +61 2 330 1390 fax: +61 2 330 1999 home: +61 2 416 5722 GCV 2.1 GAT/M/CS d--(-+) H-- s++:-- g+ p? !au a-(?) w+++ v+ C+++$ UVS++++$ P+>+++ L- 3+++ E-(++) N++ K W--- M+ V-- -po+(+) Y+ t+ !5>++ jx R+ G? !tv b+++ D++ B e+ u--(**) h- f+(*) r n- !y
Current thread:
- Re: Recent troubles der Mouse (Jan 24)
- Re: Recent troubles Darren Reed (Jan 24)
- preventing sequence number guessing David A. Wagner (Jan 24)
- Re: preventing sequence number guessing Darren Reed (Jan 24)
- accpet(3n) under SOlaris 2.4 Jas (Jan 25)
- Re: accpet(3n) under SOlaris 2.4 Casper Dik (Jan 25)
- Re: preventing sequence number guessing Timothy Newsham (Jan 25)
- IP Spoofing and Vendors' attitude Christopher Klaus (May 12)
- Re: IP Spoofing and Vendors' attitude Oliver Friedrichs (Jan 25)
- Re: IP Spoofing and Vendors' attitude Mark (Jan 26)
- Re: preventing sequence number guessing David A. Wagner (Jan 25)
- Re: preventing sequence number guessing Perry E. Metzger (Jan 25)
- <Possible follow-ups>
- Re: Recent troubles der Mouse (Jan 25)