[request-sponsor] Can this be a fix for Bug-6490935?

2007-12-28 Thread samir kumar mishra
Hi Carol,

Now , I have come to know that Ctrl-D doesnot generate a signal but signals EOF.
So , i made the following changes in the code again.

*

char *getresponse(char *oldval)
{
   charresp[MAX_INPUT_LEN];
   char*retval = NULL;
   int resplen;
   char c;
   c=getchar();
   if(c==EOF) {
 retval=c;
 fprintf(stderr,MSG_CTRL,c);
 passwd_exit(CTRL);
   }else   {

   (void) fgets(resp, sizeof (resp) - 1, stdin);
   resplen = strlen(resp) - 1;
   if (resp[resplen] == '\n')
   resp[resplen] = '\0';
   if (*resp != '\0'  strcmp(resp, oldval) != 0)
   retval = strdup(resp);
   return (retval);
}
}
***
n the above MSG_CTRL is a macro  defined  under the messages column as

#define MSG_CTRL\nYou have typed %c  (or Ctrl-D) which is
unacceptable\n

And CTRL is a macro defined under the exit values column as

#define CTRLD11   /*Exit value for typing Ctrl-D*/


Now we include this CTRLD macro under the switch-case block of
passwd-_exit() function
 before  the default block:

case CTRLD:
  (void) fprintf(stderr, %s\n, gettext(MSG_SHELL_UNCHANGED));
   break;
*

Now when we type 'passwd  -e' in the shell and when prompted for a new
shell, we type
Ctrl-D, the output is

You have pressed #(or Ctrl-D) which is unacceptable.
Login shell unchanged.
***
Note: # in the above refers to a unwanted character


I hope that this is definitely better than the previous one.

Regards,
Samir Kumar Mishra
3rd year , Electronics and Telecommunication Engg.
UCE, Burla(India)



On 12/27/07, samir kumar mishra samirkumar.mishra at gmail.com wrote:
 Hi Carol,
 This is Samir Kumar Mishra from India.
 I was just looking at this bug -6490935.(passwd does not handle
 Control-D input correctly)

 I think we can make the fix by doing the following changes in getresponse():
 **

 char *getresponse(char *oldval)
  {
   charresp[MAX_INPUT_LEN];
   char*retval = NULL;
   int resplen;
 char c;

 if(c==-2) {
   retval=c;
   fprintf(stderr,MSG_CTRL,c);
   passwd_exit(CTRL);
 }else   {

   (void) fgets(resp, sizeof (resp) - 1, stdin);
   resplen = strlen(resp) - 1;
   if (resp[resplen] == '\n')
   resp[resplen] = '\0';
   if (*resp != '\0'  strcmp(resp, oldval) != 0)
   retval = strdup(resp);
   return (retval);
  }
  }

 ***

 In the above MSG_CTRL is a macro  defined  under the messages column as

 #define MSG_CTRLYou have typed %c  (or Ctrl-D) which is
 unacceptable\n

 And CTRL is a macro defined under the exit values column as

 #define CTRL11   /*Exit value for typing Ctrl-D*/

 ***

 Now we include this CTRL macro under the switch-case block of
 passwd-_exit() function
  before  the default block:

 case CTRL:
(void) fprintf(stderr, %s\n,
 gettext(MSG_SHELL_UNCHANGED));
 break;
 

 Now when we type 'passwd  -e' in the shell and when prompted for a new
 shell, we type
 Ctrl-D, the output is

 You have pressed #(or Ctrl-D) which is unacceptable.
 Login shell unchanged.
 ***
 Note: # in the above refers to a unwanted character

 I have used c == -2 because when i wanted to test what number
 corresponds to the character
 generated by pressing Ctrl-D.

 Here is another idea.If we could know what signal is generated when
 Ctrl-D is pressed then we can do it more easily.


 I hope this works out. I would be happier if i can work as your
 team-member also.



 Regards,
 Samir Kumar Mishra
 3rd year , Electronics and Telecommunication Engg.
 UCE, Burla(India)




[request-sponsor] Can this be a fix for Bug-6490935?

2007-12-28 Thread samir kumar mishra
Hi all,

Unfortunately, I have worked on a bug that is already being sponsored
and i think i have got the fix ready and submitted the same.

BUG DETAILS:
**
Synopsis:passwd does not handle Control-D input correctly
Category:utility
SubCategory:security
**

Is it possible for me to team up with the Responsible Engineer?


Regards,
Samir Kumar Mishra



[request-sponsor] Can this be a fix for Bug-6490935?

2007-12-28 Thread samir kumar mishra
Hi all,

Special thanks to Casper for his guidance.OK, then we just modify the
getresponse () function as below:



char *getresponse(char *oldval)
   {
  charresp[MAX_INPUT_LEN];
  char*retval = NULL;
  int resplen;
  int c;
  c=getchar();
  if(c==EOF) {
fprintf(stderr,MSG_CTRL);
passwd_exit(CTRLD);
  }else   {

  (void) fgets(resp, sizeof (resp) - 1, stdin);
  resplen = strlen(resp) - 1;
  if (resp[resplen] == '\n')
  resp[resplen] = '\0';
  if (*resp != '\0'  strcmp(resp, oldval) != 0)
  retval = strdup(resp);
  return (retval);
   }
   }



And now, we just change the macro MSG_CTRL to

#define MSG_CTRL\nYou have typed  Ctrl-D  which is  unacceptable\n



The other macro CTRLD remains the same.

#define CTRLD 11 /*Exit value for typing Ctrl-D*/

*
Now when we type 'passwd  -e' in the shell and when prompted for a new
shell, we type Ctrl-D, the output is

You have pressed or Ctrl-D which is unacceptable.
Login shell unchanged.
*


Hope this solves the bug.



Regards,
Samir Kumar Mishra
3rd year , Electronics and Telecommunication Engg.
UCE, Burla(India)


On 12/28/07, Casper.Dik at sun.com Casper.Dik at sun.com wrote:

 Hi Carol,
 
 Now , I have come to know that Ctrl-D doesnot generate a signal but signals
 EOF.
 So , i made the following changes in the code again.
 
 *
 
 char *getresponse(char *oldval)
 {
charresp[MAX_INPUT_LEN];
char*retval = NULL;
int resplen;
char c;
c=getchar();

 getchar() returns an int and so c must be of type int.


 Casper





[request-sponsor] Submission of fix for Bug-6573754

2007-12-28 Thread samir kumar mishra
Hi all,

I think this can be the solution for the Bug--6573754

BUG Details
*
Synopsis timex error message when you forget a command is cryptic
State   1-Dispatched (Default State)
Category:  utility
Subcategory accounting

Link:http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6573754
*

Solution needs the following changes in timex.c
Link---http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/sa/timex.c

Step-1: Delete line no 99

if (optind = argc) diag(Missing command);



Step-2 : Insert the followig lines after line number 80 starting at
line number 81

if(optind=argc)  {
 fprintf(stderr,\nMissing command\n);
 diag(Usage: timex [-s][-o][-p[-fhkmrt]] cmd);
}



Now the output when we type 'timex' and forget to specify the program
is given below:

Missing command
Usage: timex [-s][-o][-p[-fhkmrt]] cmd

***

I would like to request a sponsor so that this fix can be evaluated

Regards,
Samir Kumar Mishra
3rd year , Electronics and Telecommunication Engg,
University College of Engineering, Burla(India)



[request-sponsor] AHCI driver patches for JMicron JMB363

2007-12-28 Thread Luke Deller
On Thu, 27 Dec 2007, Boris Derzhavets wrote:

 AHCI driver in SNV59, SNV66,75a,76 did work with JMicron JMB363 and 
 Intel ICH8R (set up in BIOS to AHCI mode) on ASUS P5B Deluxe. Just a 
 bit slow, but no more complaints.

That's interesting... perhaps the Asus BIOS configures the JMB363 
differently.  For the Intel ICH chips all the motherboard manufacturers 
seem to use the Intel AHCI BIOS, but I notice that Gigabyte has their 
own BIOS for the JMB363 controller... they even call it Gigabyte SATA 
with no reference to JMicron.

Are you able to send me the prtconf -v output from the Asus board when 
the JMB363 is set to AHCI mode in BIOS?  I'm particularly interested in 
seeing whether you have the AHCI and legacy IDE interfaces split into 
two separate PCI functions on the JMB363 device, and how long the regs 
property is for these functions.

Thanks,
Luke.



[request-sponsor] Bugs: 6615447,6248378 , 6445628, 6493125

2007-12-28 Thread Jayakara Kini


Avinash,

  Other contributors have already shown interest to work on two of these 
bugs:

  6248378 Archana/Veena/Sudersanan
  6445628 Rishi Nair

Regards,
Kini

On Thu, 27 Dec 2007 17:50 -, Avinash Joshi wrote:

}Hi all.
}
}I am interested in working on bugs 6615447,6248378 , 6445628, 6493125. 
}
}I will work on the bugs one by one. This is just to say the forum that i am 
interested in working on those bugs.
}
}Below are the synopsis and category/subcategory for each bug.
}
}
}Bug ID :: 6615447
}Synopsis :: r.manifest can use $smf_alive without ever setting it
}Category:Subcategory :: utility:smf
}
}
}
}Bug ID :: 6248378 
}Synopsis :: general/enabled problems aren't handled completely
}Category:Subcategory :: utility:smf
}
}
}
}Bug ID :: 6445628
}Synopsis :: Add a ::rootpage dcmd
}Category:Subcategory :: utility:mdb
}
}
}
}Bug ID :: 6493125
}Synopsis :: df options needlessly differ between /usr/bin/ and /usr/xpg4/bin/
}Category:Subcategory :: utility:filesystem
}
}
}My SCA number is OSO145.
}
}Thanks  Regards,
}Avinash Joshi
} 
} 
}This message posted from opensolaris.org
}___
}request-sponsor mailing list
}request-sponsor at opensolaris.org
}

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



[request-sponsor] Can this be a fix for Bug-6490935?

2007-12-28 Thread Jayakara Kini

Hi Samir,

I guess its ok to team up as long as the other contributor agrees with it.

I would say its not fair for the other contributor as you missed this bug 
in the request_sponsor page.

I see that you have already picked up another bug.

Two of your bugs were already being sponsored.  I can see that your 
enthusiasm has not diminised because of this.

Please be careful in picking up the bugs and continue to contribute.

Regards,
Kini


On Fri, 28 Dec 2007 01:17 -, samir kumar mishra wrote:

}Hi all,
}
}Unfortunately, I have worked on a bug that is already being sponsored
}and i think i have got the fix ready and submitted the same.
}
}BUG DETAILS:
}**
}Synopsis:passwd does not handle Control-D input correctly
}Category:utility
}SubCategory:security
}**
}
}Is it possible for me to team up with the Responsible Engineer?
}
}
}Regards,
}Samir Kumar Mishra
}___
}request-sponsor mailing list
}request-sponsor at opensolaris.org
}

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



[request-sponsor] Can this be a fix for Bug-6490935?

2007-12-28 Thread River Tarnell
Jayakara:

JK I guess its ok to team up as long as the other contributor agrees with it.

i was planning to submit this along with the fix for

  1214359 *passwd*:passwd does not allow -egh arguments for files repository

however, that got stalled somewhere and so neither fix has been
integrated.  i've no problems if someone else wants to take it over.

 - river.




[request-sponsor] Can this be a fix for Bug-6490935?

2007-12-28 Thread samir kumar mishra
Hi all,

Thanks for your support , i would like learn more and more and contribute.

Regards,
Samir

On 12/28/07, River Tarnell river at wikimedia.org wrote:
 Jayakara:

 JK I guess its ok to team up as long as the other contributor agrees with
 it.

 i was planning to submit this along with the fix for

   1214359 *passwd*:passwd does not allow -egh arguments for files
 repository

 however, that got stalled somewhere and so neither fix has been
 integrated.  i've no problems if someone else wants to take it over.

  - river.





[request-sponsor] Submission of fix for Bug-6573754

2007-12-28 Thread samir kumar mishra
On 12/28/07, samir kumar mishra samirkumar.mishra at gmail.com wrote:
 Hi all,

 I think this can be the solution for the Bug--6573754

 BUG Details
 *
 Synopsis   timex error message when you forget a command is cryptic
 State 1-Dispatched (Default State)
 Category:  utility
 Subcategory   accounting

 Link:http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6573754
 *

 Solution needs the following changes in timex.c
 Link---http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/sa/timex.c
 
 Step-1: Delete line no 99

 if (optind = argc)   diag(Missing command);

 

 Step-2 : Insert the followig lines after line number 80 starting at
 line number 81

 if(optind=argc)  {
  fprintf(stderr,\nMissing command\n);
  diag(Usage: timex [-s][-o][-p[-fhkmrt]] cmd);
 }

 

 Now the output when we type 'timex' and forget to specify the program
 is given below:

 Missing command
 Usage: timex [-s][-o][-p[-fhkmrt]] cmd

 ***

 I would like to request a sponsor so that this fix can be evaluated


This is to bring to your kind information that i have already
submitted my Sun Contriutor's agreement and waiting to get it.


 Regards,
 Samir Kumar Mishra
 3rd year , Electronics and Telecommunication Engg,
 University College of Engineering, Burla(India)




[request-sponsor] assignment request for Bug ID -6641990

2007-12-28 Thread Jayakara Kini

Hi Narendra,

  Which email id have you used in your Sun Contributor Agreement?  You should
have used the same email id to send requests.

  I believe you are a Campus Ambassador which means you are designated as an
intern at Sun.

  If you want to contribute as an intern, then you can do so without going
through request-sponsor process.  If you want to contribute as an individual,
then please use a non-sun email id.

  If you are participating in the CFF contest, then please note that it is
ending on Feb 14.  Please make your contribution at the earliest.

Regards,
Kini

On Fri, 28 Dec 2007 00:26 -, Narendra Pant wrote:

}
}
}hi
}i would like to work on this bug and want this assigned to me .it will
}take me  about one month to  come back with a contribution.
}
}
}Bug ID  6641990
}Synopsis   *svcs* should not show instances which don't have a 'general'
}property group
}
}
}Regrds
}

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



[request-sponsor] Submission of fix for Bug-6573754

2007-12-28 Thread Viswanathan Kannappan
Samir

Avinash Joshi (OS0145) worked in this bug before but now he have withdrawn.
Eric.Saxe at Sun.COM was sponsoring him before his withdrawal. So check with
Eric whether he is still sponsoring, otherwise I will sponsor you.

Regards
Viswa


samir kumar mishra wrote:
 On 12/28/07, samir kumar mishra samirkumar.mishra at gmail.com wrote:
   
 Hi all,

 I think this can be the solution for the Bug--6573754

 BUG Details
 *
 Synopsis  timex error message when you forget a command is cryptic
 State1-Dispatched (Default State)
 Category:  utility
 Subcategory  accounting

 Link:http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6573754
 *

 Solution needs the following changes in timex.c
 Link---http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/sa/timex.c
 
 Step-1: Delete line no 99

 if (optind = argc)  diag(Missing command);

 

 Step-2 : Insert the followig lines after line number 80 starting at
 line number 81

 if(optind=argc)  {
  fprintf(stderr,\nMissing command\n);
  diag(Usage: timex [-s][-o][-p[-fhkmrt]] cmd);
 }

 

 Now the output when we type 'timex' and forget to specify the program
 is given below:

 Missing command
 Usage: timex [-s][-o][-p[-fhkmrt]] cmd

 ***

 I would like to request a sponsor so that this fix can be evaluated

 

 This is to bring to your kind information that i have already
 submitted my Sun Contriutor's agreement and waiting to get it.


   
 Regards,
 Samir Kumar Mishra
 3rd year , Electronics and Telecommunication Engg,
 University College of Engineering, Burla(India)

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




[request-sponsor] Submission of fix for Bug -6626020

2007-12-28 Thread Viswanathan Kannappan
Samir

Looks like Chad have already sent a request for sponsor before you for
this bug fix. So I will be sponsoring Chad. Sorry for the confusion.
Chad please communicate with me directly to proceed from here.

Regards
Viswa


Chad Mynhier wrote:
 On Dec 27, 2007 6:10 AM, Viswanathan Kannappan
 Viswanathan.Kannappan at sun.com wrote:
   
 Samir

 I will sponsor you for this bug.
 Please contact me directly from now regarding this.

 Regards
 Viswa
 

 You might want to note that there's already a sponsor request for this bug.

 Chad
   




[request-sponsor] Bug : 6621767

2007-12-28 Thread Rejeesh Nath
Hi ,

I would like to work on the bug : 6621767  and will finish working on it
within a week. (I dont have a fix ready yet)

*Bug ID *: 6621767
*Synopsis*  : Need better error message when trying to delete non-existent
discovery address.

*Category:Subcategory* :   storage_target:iscsi

*My SCA number is*  : OS0186
*My opensolaris id* : rej

Thanks  Regards,
Rejeesh Nath
-- next part --
An HTML attachment was scrubbed...
URL: 
http://mail.opensolaris.org/pipermail/request-sponsor/attachments/20071228/1f01a491/attachment.html


[request-sponsor] Can this be a fix for Bug-6490935?

2007-12-28 Thread Jayakara Kini

That was very nice of you River.

Samir, this bug was being sponsored for River by Darren Moffat.
I don't think he'll mind sponsoring it for you ;)

Regards,
Kini

On Fri, 28 Dec 2007 13:32 -, samir kumar mishra wrote:

}Hi all,
}
}Thanks for your support , i would like learn more and more and contribute.
}
}Regards,
}Samir
}
}On 12/28/07, River Tarnell river at wikimedia.org wrote:
} Jayakara:
}
} JK I guess its ok to team up as long as the other contributor agrees with
} it.
}
} i was planning to submit this along with the fix for
}
}   1214359 *passwd*:passwd does not allow -egh arguments for files
} repository
}
} however, that got stalled somewhere and so neither fix has been
} integrated.  i've no problems if someone else wants to take it over.
}
}  - river.
}
}
}

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



[request-sponsor] Submission of fix for Bug-6573754

2007-12-28 Thread samir kumar mishra
Hi Eric,

I think I have worked out the fix for the bug-6573754 whose details
have been mentioned below. I wanted to know if you are still
sponsoring the Bug, so my fix has been ready, and I woder if we can
work together.
On 12/28/07, Viswanathan Kannappan Viswanathan.Kannappan at sun.com wrote:
 Samir

 Avinash Joshi (OS0145) worked in this bug before but now he have withdrawn.
 Eric.Saxe at Sun.COM was sponsoring him before his withdrawal. So check with
 Eric whether he is still sponsoring, otherwise I will sponsor you.

 Regards
 Viswa


 samir kumar mishra wrote:
  On 12/28/07, samir kumar mishra samirkumar.mishra at gmail.com wrote:
 
  Hi all,
 
  I think this can be the solution for the Bug--6573754
 
  BUG Details
 
 *
  Synopsistimex error message when you forget a command is cryptic
  State  1-Dispatched (Default State)
  Category:  utility
  Subcategoryaccounting
 
  Link:http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6573754
 
 *
 
  Solution needs the following changes in timex.c
 
 Link---http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/sa/timex.c
 
 
  Step-1: Delete line no 99
 
  if (optind = argc)diag(Missing command);
 
 
 
 
  Step-2 : Insert the followig lines after line number 80 starting at
  line number 81
 
  if(optind=argc)  {
   fprintf(stderr,\nMissing command\n);
   diag(Usage: timex [-s][-o][-p[-fhkmrt]] cmd);
  }
 
 
 
 
  Now the output when we type 'timex' and forget to specify the program
  is given below:
 
  Missing command
  Usage: timex [-s][-o][-p[-fhkmrt]] cmd
 
 
 ***
 
  I would like to request a sponsor so that this fix can be evaluated
 
 
 
  This is to bring to your kind information that i have already
  submitted my Sun Contriutor's agreement and waiting to get it.
 
 
 
  Regards,
  Samir Kumar Mishra
  3rd year , Electronics and Telecommunication Engg,
  University College of Engineering, Burla(India)
 
 
  ___
  request-sponsor mailing list
  request-sponsor at opensolaris.org
 





[request-sponsor] Bug:6608290

2007-12-28 Thread Jayakara Kini


Hi Rejeesh,

  This bug has already been fixed in build 76.

~Kini

On Fri, 28 Dec 2007 17:30 -, Rejeesh Nath wrote:

}Hi ,
}
}I would like to work on the bug : 6608290  and will finish working on it
}within a week. (I dont have a fix ready yet)
}
}Bug ID  6608290
}Synopsis : Missing word in description of -e option in logadm(1M)
}Category:Subcategory  manpage:section1m
}
}My SCA number is  : OS0186
}My opensolaris id : rej
}
}Thanks  Regards,
}Rejeesh Nath
}

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



[request-sponsor] Bug : 6608290

2007-12-28 Thread Rejeesh Nath
Hi,

i am sorry for the bug request.
-- next part --
An HTML attachment was scrubbed...
URL: 
http://mail.opensolaris.org/pipermail/request-sponsor/attachments/20071228/0ab6fca6/attachment.html


[request-sponsor] Submission of fix for Bug -6626020

2007-12-28 Thread samir kumar mishra
Dear Chad,

I have no words to thank you.But I wonder if we both could work together.

Regards,
Chad

On 12/28/07, Chad Mynhier cmynhier at gmail.com wrote:
 On Dec 28, 2007 5:34 AM, Viswanathan Kannappan
 Viswanathan.Kannappan at sun.com wrote:
  Samir
 
  Looks like Chad have already sent a request for sponsor before you for
  this bug fix. So I will be sponsoring Chad. Sorry for the confusion.
  Chad please communicate with me directly to proceed from here.
 
  Regards
  Viswa

 Actually, I'd be happy to withdraw my request and let Samir take this bug.

 But note that unlink(tnam); needs to happen before exit(1); so
 that we clean up after ourselves.

 Chad




[request-sponsor] Bugid: 6344436

2007-12-28 Thread Visakh M R
I am Visakh M.R from Amrita School of Engineering.  I am interested in
working on bugid 6344436.  I'll be submitting a fix tentatively by
10th Jan 2008.

6344436 : *mv* gives cryptic error when applied to unix domain sockets
Category/Subcategory: utility:file

I have initiated the process to get a SCA number.
 
 
This message posted from opensolaris.org



[request-sponsor] assignment request for Bug ID -6641990]

2007-12-28 Thread narendra pant
hi
i would like to work on this bug and want this assigned to me .it will
take me  about one month to  come back with a contribution.


Bug ID  6641990
Synopsis   *svcs* should not show instances which don't have a 'general'

property group


Regards

-- 
Narendra Pant
Campus Ambassador
Sun Microsystems
College Of Technology,Pantnagar
+91-9411707204
-- next part --
An HTML attachment was scrubbed...
URL: 
http://mail.opensolaris.org/pipermail/request-sponsor/attachments/20071228/8cb8000f/attachment.html


[request-sponsor] Request for sponsor for bug

2007-12-28 Thread Steve C. Peng
I will sponsor this.  I will contact you offline after I come back from winter 
break.

Steve
 
 
This message posted from opensolaris.org