[request-sponsor] Bug 6309693

2008-01-07 Thread Ghee Teo
Pete Bentley wrote:
 On 5 Jan 2008, at 13:46, Archana wrote:
   
 Hello ,
 I had previously send the fix for this bug, but i cant find it now,  
 so I am sending it again.


 ASSERT(MUTEX_HELD(mod_lock));

  if ((fp = ctf_bufopen(ctfsect, symsect, strsect, error)) == NULL)
 +  dprintf(?cannot open ctf_bufopen()?); 
return (NULL);
 

 Even without looking at the bug report or the relevant source file,  
 it's obvious by inspection that this cannot be the correct fix, nor  
 can it have been tested.
   
   Agreed here.
 Judging from the number of similar postings, I'm guessing that some  
 professor at the Amrita School of Engineering has set Find and fix a  
 Solaris bug as a piece of coursework for an undergraduate course.
   
  Should the work be discussed in the open and the certain professor can 
access
their students' work here hence making sure sloppy  works just don't get 
marks :)
Hint, hint to Archana and all other students from Amrita!
 Now whilst it's good for Solaris' outreach to involve these students,  
 and good for their education, I have to question the value of the  
 exercise if the students don't take the time or care to develop  
 correct solutions and submit them in a useful way... It just ends up  
 offloading their education onto the people who sponsor the fixes.
   
   Yes. There is a danger as such. But this is norm associated with OS 
development.
However, this is a valuable experiences for all involved in this 
instance plus the
potential of some of these students may eventually be part of new blood for
OpenSolaris in the time to come.

-Ghee
 Pete.

 ___
 request-sponsor mailing list
 request-sponsor at opensolaris.org
   




[request-sponsor] requesting sponsor ...fix completed

2008-01-07 Thread visak mr
Bugid : 6344436
Synopsis: *mv* gives cryptic error when applied to
unix domain sockets
Category/Subcategory : utility:file

Path   : /solarisws/usr/src/cmd/mv/mv.c

this problem exist for unix domain sockets since 'mknod' (used in mv.c)
cannot create socket files.

value for S_IFSOCK = 49152(int)
   = c000(hex)

fix is, to check whether the file is a unix domain socket or not.





bash-3.00# diff -u mv.c.org mv.c
--- mv.c.orgTue Oct  2 20:15:24 2007
+++ mv.cSat Dec 29 11:15:49 2007
@@ -898,11 +898,21 @@
}
goto cleanup;
}
-   (void) fprintf(stderr,
-   gettext(%s: %s: unknown file type 0x%x\n), cmd,
-   source, (s1.st_mode  S_IFMT));
-   return (1);

+   if (( st.st_mode  S_IFMT) == S_IFSOCK) {
+   (void) fprintf(stderr,
+   gettext(%s: %s: cannot create unix socket file
\n), cmd, source);
+
+   return (1);
+   }
+   else {
+   (void) fprintf(stderr,
+   gettext(%s: %s: unknown file type 0x%x\n), cmd,
+   source, (s1.st_mode  S_IFMT));
+
+   return (1);
+   }
+
 cleanup:
if (unlink(source)  0) {
(void) unlink(target);

---
-- next part --
An HTML attachment was scrubbed...
URL: 
http://mail.opensolaris.org/pipermail/request-sponsor/attachments/20080107/9c722991/attachment.html


[request-sponsor] Bug 6309693

2008-01-07 Thread Alan Coopersmith
Frank Hofmann wrote:
 
 
 On Sat, 5 Jan 2008, Alan Coopersmith wrote:
 
 Pete Bentley wrote:
 Judging from the number of similar postings, I'm guessing that some
 professor at the Amrita School of Engineering has set Find and fix a
 Solaris bug as a piece of coursework for an undergraduate course.

 Actually it's Sun's fault - marketing decided to run a contest giving
 away iPods, laptops, and desktop computers to students in India who
 submit bug fixes to OpenSolaris or one of Sun's other open source 
 projects:
 http://in.sun.com/communities/univ/codeforfreedom/

 Though since there's also a bonus prize to the school with the most
 student submissions, some professor may have done that as well to
 win his school that prize.
 
 Nothing wrong with that.

Didn't mean to suggest there was anything wrong with it, other than we're
clearly unprepared for the amazing level of response we've gotten - I haven't
checked, but based on my memory of the e-mail levels on this list, I think we
got more sponsor requests this weekend than any other month since the program
started.

-- 
-Alan Coopersmith-   alan.coopersmith at sun.com
 Sun Microsystems, Inc. - X Window System Engineering



[request-sponsor] Bug id- 6455590

2008-01-07 Thread Jayakara Kini


Hi Jayahari,

  6455590 already has a 'Responsible Engineer' set.  Besides, this bug is 
being fixed with 6455603.

  Please make sure the 'Responsible Engineer' field is empty before 
picking up the bug.

Regards,
Kini

On Sat, 5 Jan 2008 13:12 -, Jayahari K R wrote:

}Hai
}We are Jayahari and Rohan from Amrita University. We would like to work on
}the bug id - 6455590.
}
}The details of the bug are as follows:
}
}   *Bug ID*
} 6455590
} *Synopsis*
} extern C++ atexit() not defined
} *State*
} 4-Defer (Accepted, but the fix may not be made soon.)
} *Category:Subcategory*
} c++:sunwlibc
} *Keywords*
} dpwebbug
} *Responsible Engineer*
} Terrence Miller
}
}
}We are awaiting our SCA numbers.We would let you know as soon as possible.
}
}Thanking You
}Jayahari  Rohan
}

-- 
Sun Microsystems - India Engineering Centre
http://blogs.sun.com/jkini



[request-sponsor] Bug 4937374 assertion failed: tmrp-t_ccc_listp == NULL, file: ghd_timer.c, line 704

2008-01-07 Thread Rishi M Nair
Hi ,

I would like to work on the bug :4937374 and will finish working on it
within 3 Days.
Bug ID  4937374
Synopsis  assertion failed: tmrp-t_ccc_listp == NULL, file: ghd_timer.c,
line 704
Category:Subcategory  driver:disk-other
My SCA number is  : OS0148
My opensolaris id : rishios

Thanks  Regards,
Rishi M Nair
-- next part --
An HTML attachment was scrubbed...
URL: 
http://mail.opensolaris.org/pipermail/request-sponsor/attachments/20080107/df5cba66/attachment.html


[request-sponsor] Bug 6457482 remove unnecessary calls for initgroups() from sshd

2008-01-07 Thread Rishi M Nair
 Hi ,

 I would like to work on the bug :6457482 and will finish working on it
 within 3 Days.
 Bug ID  6457482
 Synopsis  remove unnecessary calls for initgroups() from sshd
 Category:Subcategory  ssh:commands

My SCA number is  : OS0148
My opensolaris id : rishios


 Thanks  Regards,
 Rishi M Nair


-- next part --
An HTML attachment was scrubbed...
URL: 
http://mail.opensolaris.org/pipermail/request-sponsor/attachments/20080107/5bbcf6f2/attachment.html


[request-sponsor] BUg 6469178 clean up scp.c and make it cstyle clean

2008-01-07 Thread Mark Martin
On Jan 7, 2008 11:36 AM, Rishi M Nair rishi.bugs at gmail.com wrote:

  sir i also like to know more about cstyle clean


Review here: 
http://www.opensolaris.org/os/community/documentation/getting_started_docs/cstyle.ms.pdf
and here: 
http://www.opensolaris.org/os/community/on/devref_toc/devref_7/#7_2_style_guide

(gathered at http://www.genunix.org/wiki/index.php/New_Developers_Guide)

Mark



[request-sponsor] bug 6392640

2008-01-07 Thread Bonnie Corwin
Hi Balagopal,

Your email cites two different bugs:

6392640
6319973

6319973 already has a contribution offered.  It is #75 under Awaiting 
Sponsor on the request-sponsor table.

Do you want to request a sponsor for 6392640?

Thank you.

Bonnie

Balagopal R wrote:
 I am Balagopal from Amrita School of Engineering. I am interested in
 working on bugid 6392640
 
 6319973 : rpcgen -h -T output does not compile with gcc 4.x
 Category/Subcategory: network:rpc
 
 I have initiated the process to get a SCA number.
 
 Thanks  Regards,
 Balagopal R
  
  
 This message posted from opensolaris.org
 ___
 request-sponsor mailing list
 request-sponsor at opensolaris.org




[request-sponsor] BUg 6469178 clean up scp.c and make it cstyle clean

2008-01-07 Thread Jan Pechanec
On Mon, 7 Jan 2008, Rishi M Nair wrote:

Hi ,

I would like to work on the bug :6469178 and will finish working on it
within 1 week.
Bug ID  6469178
Synopsis  clean up scp.c and make it cstyle clean
Category:Subcategory  ssh:commands

Rishi, this CR already has a responsible engineer. What's more, we 
should probably not make it cstyle clean since we don't have our code there 
(I thought we might so, that's why the CR was filed some time ago.) Thanks, 
Jan.

-- 
Jan Pechanec



[request-sponsor] Bug 5082979 erroneous message, Corrupted MAC on inupt displayed when memory is low

2008-01-07 Thread Jan Pechanec
On Mon, 7 Jan 2008, Rishi M Nair wrote:

Hi ,

I would like to work on the bug :5082979  and will finish working on it
within 1 week.
Bug ID  5082979
Synopsis  erroneous message, Corrupted MAC on inupt displayed when memory
is low
 Category:Subcategory  ssh:commands

I can work on it with you. Jan.

-- 
Jan Pechanec



[request-sponsor] Bug 6457482 remove unnecessary calls for initgroups() from sshd

2008-01-07 Thread Jan Pechanec
On Mon, 7 Jan 2008, Rishi M Nair wrote:

 Hi ,

 I would like to work on the bug :6457482 and will finish working on it
 within 3 Days.
 Bug ID  6457482
 Synopsis  remove unnecessary calls for initgroups() from sshd
 Category:Subcategory  ssh:commands

My SCA number is  : OS0148
My opensolaris id : rishios

I can work on it with you. Jan.

-- 
Jan Pechanec



[request-sponsor] Fix ready for Bug ID 6355611

2008-01-07 Thread Souvik Das Gupta
Hello

I have the fix ready for the following bug:

Bug ID: 6355611
Synopsis: setbuf misuse
Description: A subtle bug exists in fmt.c (using the source cross referencer 
the bug is visible else where). main() calls setbug passing a buffer that 
exists in main's stack. It can occur that the data in the buffer is not used 
until exit causes the buffer to be flushed, however the buffer is technically 
out-of-scope and should not be used.
Category: utility   Sub-Category: formatter

I would request someone to sponsor this bug.

I have have already submitted my Sun Contributor Agreement, but I am still 
awaiting my SCA number.

Regards
Souvik Das Gupta
 
 
This message posted from opensolaris.org