1. grace
date : 25 Nov 2002
version: 5.1.10-1
status : not reviewed
notes : http://cygwin.com/ml/cygwin-apps/2002-11/msg00322.html
votes : 2 (Lapo and Robert)
url: http://www.scytek.de/cygwin/grace-5.1.10-1.tar.bz2
http://www.scytek.de/cygwin/grace-5.1.10-1-src.tar.bz2
Hello,
I see in the event viewer entries like this coming from the nfs daemon:
Unable to seteuid(0): Invalid argument
I have a single directory exported - /home/ptsekov. The line from
/etc/exports looks like this:
/home/ptsekov myhost(rw,map_static=/etc/nfs/ptsekov.map)
The contents of
Your guard:
(char *)relocp (char *)relocs + size
wasn't tight enough.
My version:
(char *)relocp-SizeOfBlock (char *)relocs + size
seems to be.
What was the problem with this guard: Does it not fix the last entry of a
relocation block ?
Ralf
Ralf,
On Wed, Feb 12, 2003 at 01:48:09PM +0100, Ralf Habacker wrote:
Your guard:
(char *)relocp (char *)relocs + size
wasn't tight enough.
My version:
(char *)relocp-SizeOfBlock (char *)relocs + size
seems to be.
What was the problem with this guard:
To which
Pavel,
As always, thanks for testing :-)
Hello,
I see in the event viewer entries like this coming from the
nfs daemon:
Unable to seteuid(0): Invalid argument
Are you running nfsd as a service, or as a user process?
On the linux workstation I've arranged for the user 'ptsekov'
Unable to seteuid(0): Invalid argument
Grrr... I've been completely unable to reproduce this
problem. The only difference seems to be that I am
logged in to my W2K machine as a domain user, while
it looks like you're logged in locally.
Perhaps one of the gurus has an idea as to why
Samrobb,
On Wed, Feb 12, 2003 at 02:25:02PM -0500, Robb, Sam wrote:
Unable to seteuid(0): Invalid argument
Perhaps one of the gurus has an idea as to why seteuid(0) would fail?
Did you handle treating the uid of 18 (i.e., LocalSystem) under Cygwin
the same as uid of 0 (i.e., root) under
On Wed, Feb 12, 2003 at 02:25:02PM -0500, Robb, Sam wrote:
Unable to seteuid(0): Invalid argument
Grrr... I've been completely unable to reproduce this
problem. The only difference seems to be that I am
logged in to my W2K machine as a domain user, while
it looks like you're logged in
Only if you changed the uid of the Administrator account to 0 by hand.
I have *not* done anything on my system to add a root user or any user
with uid 0; and yet, seteuid(0) apparently succeeds.
If you actually switch the user context, the application must not rely
on having uid 0 == root or