Re: Implementation of sched_rr_get_interval for NT systems.

2003-02-06 Thread Vaclav Haisman
Huh, I really don't know why I typed -c instead of -u. This is the same patch with addition of error checking on registry access as suggested by Robert Collins. Now with the right diff options. I am working on submitting the assignment too. Vaclav Haisman > You're not wrong and it does matter.

Re: ntsec odds and ends

2003-02-06 Thread Corinna Vinschen
On Wed, Feb 05, 2003 at 11:41:59AM -0500, Pierre A. Humblet wrote: > 2003-02-05 Pierre Humblet <[EMAIL PROTECTED]> > > * security.h: Introduce names UNKNOWN_UID and UNKNOWN_GID and delete > declaration of is_grp_member. > * uinfo.cc (internal_getlogin): Use UNKNOWN_GID. >

Re: ntsec odds and ends

2003-02-06 Thread Igor Pechtchanski
On Thu, 6 Feb 2003, Corinna Vinschen wrote: > On Wed, Feb 05, 2003 at 11:41:59AM -0500, Pierre A. Humblet wrote: > > 2003-02-05 Pierre Humblet <[EMAIL PROTECTED]> > > > > * security.h: Introduce names UNKNOWN_UID and UNKNOWN_GID and delete > > declaration of is_grp_member. > > * uinf

Re: ntsec odds and ends

2003-02-06 Thread Corinna Vinschen
On Thu, Feb 06, 2003 at 09:49:32AM -0500, Igor Pechtchanski wrote: > Umm, Corinna, suppose some misguided soul would actually create a user > named "mkpasswd" (or a group called "mkgroup")? What then? Perhaps a > note in the User Guide's ntsec section is in order? Or an FAQ? Feel free to write

Re: ntsec odds and ends

2003-02-06 Thread Max Bowsher
> On Thu, 6 Feb 2003, Corinna Vinschen wrote: >>> - char group_name [UNLEN + 1] = "mkgroup"; >>> + char group_name [UNLEN + 1] = "run mkgroup"; >> >> I didn't commit this change. >> >>> + if (myself->uid == UNKNOWN_UID) >>> + strcpy (group_name, "run mkpasswd"); /* Feedback... */ >>

Re: ntsec odds and ends

2003-02-06 Thread Igor Pechtchanski
On Thu, 6 Feb 2003, Corinna Vinschen wrote: > On Thu, Feb 06, 2003 at 09:49:32AM -0500, Igor Pechtchanski wrote: > > Umm, Corinna, suppose some misguided soul would actually create a user > > named "mkpasswd" (or a group called "mkgroup")? What then? Perhaps a > > note in the User Guide's ntsec

Re: ntsec odds and ends

2003-02-06 Thread Corinna Vinschen
On Thu, Feb 06, 2003 at 11:37:16AM -0500, Igor Pechtchanski wrote: > + > +If a user or group is not present in /etc/passwd (or > +if a group is not present in /etc/group), it will have > +a special user/group id of -1 (which would be shown by ls > +as 65535). In releases of Cygwin before 1.3.20, t

Re: Implementation of sched_rr_get_interval for NT systems.

2003-02-06 Thread Christopher Faylor
On Thu, Feb 06, 2003 at 01:16:17PM +0100, Vaclav Haisman wrote: >Huh, I really don't know why I typed -c instead of -u. Not a big deal but it's -u -p, actually. cgf

Re: ntsec odds and ends

2003-02-06 Thread Igor Pechtchanski
On Thu, 6 Feb 2003, Corinna Vinschen wrote: > On Thu, Feb 06, 2003 at 11:37:16AM -0500, Igor Pechtchanski wrote: > > + > > +If a user or group is not present in /etc/passwd (or > > +if a group is not present in /etc/group), it will have > > +a special user/group id of -1 (which would be shown by l

Re: ntsec odds and ends

2003-02-06 Thread Corinna Vinschen
On Thu, Feb 06, 2003 at 01:10:33PM -0500, Igor Pechtchanski wrote: > No problem, I'll rewrite this (after actually looking at the code this > time). However, at least on my machine, most of the files, especially in > /cygdrive/c, are owned by the Administrators group. If it's not in > /etc/passwd

Re: ntsec odds and ends

2003-02-06 Thread Christopher Faylor
On Thu, Feb 06, 2003 at 07:24:13PM +0100, Corinna Vinschen wrote: >On Thu, Feb 06, 2003 at 01:10:33PM -0500, Igor Pechtchanski wrote: >> No problem, I'll rewrite this (after actually looking at the code this >> time). However, at least on my machine, most of the files, especially in >> /cygdrive/c

Re: ntsec odds and ends

2003-02-06 Thread Igor Pechtchanski
On Thu, 6 Feb 2003, Christopher Faylor wrote: > On Thu, Feb 06, 2003 at 07:24:13PM +0100, Corinna Vinschen wrote: > >On Thu, Feb 06, 2003 at 01:10:33PM -0500, Igor Pechtchanski wrote: > >> No problem, I'll rewrite this (after actually looking at the code this > >> time). However, at least on my m

Re: ntsec odds and ends

2003-02-06 Thread Corinna Vinschen
On Thu, Feb 06, 2003 at 01:28:37PM -0500, Christopher Faylor wrote: > On Thu, Feb 06, 2003 at 07:24:13PM +0100, Corinna Vinschen wrote: > >I think we never get that right. The problem is that the ls entries > >only are 8 chars long, not enough to be really informative. Whatever > >you put in ther

[PATCH] w32api [jld@ecoscentric.com: PathRelativePathTo() declarations]

2003-02-06 Thread Christopher Faylor
Danny, I don't know if you read the cygwin mailing list but just in case... cgf - Forwarded message from John Dallaway <[EMAIL PROTECTED]> - From: John Dallaway <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: PathRelativePathTo() declarations Date: Tue, 4 Feb 2003 09:32:39 + Mail-

Re: ntsec odds and ends

2003-02-06 Thread Igor Pechtchanski
On Thu, 6 Feb 2003, Corinna Vinschen wrote: > On Thu, Feb 06, 2003 at 01:10:33PM -0500, Igor Pechtchanski wrote: > > No problem, I'll rewrite this (after actually looking at the code this > > time). However, at least on my machine, most of the files, especially in > > /cygdrive/c, are owned by th

Re: [PATCH] w32api [jld@ecoscentric.com: PathRelativePathTo() declarations]

2003-02-06 Thread Earnie Boyd
2003-02-04 Danny Smith <[EMAIL PROTECTED]> * include/shlwapi.h (PathRelativePathTo[AW]): Correct prototypes. Thanks to: John Dallaway <[EMAIL PROTECTED]>. Thanks, Earnie. Christopher Faylor wrote: Danny, I don't know if you read the cygwin mailing list but just in case... cgf - For