ports in symlink server (was: Re: ssh as user: setrlimit failed)

2001-10-08 Thread Moritz Schulte
James Morrison <[EMAIL PROTECTED]> writes: > Off the current topic I've been looking at the symlink server > recently and there are two mach_port_t 's that I noticed. One is > realnode and the other is realnodenoauth. What is the difference > between these port_t's. realnode comes from the fs

Re: ssh as user: setrlimit failed

2001-10-07 Thread James Morrison
--- Roland McGrath <[EMAIL PROTECTED]> wrote: > > For now at least for RLIMIT_CORE I think we should just accept > any hard > > maximum. However, to implement core dumps would that be a core > server > > that actually implemented limits on core sizes and such? > > Yes. If the limit is zero, then

Re: ssh as user: setrlimit failed

2001-10-07 Thread Roland McGrath
> For now at least for RLIMIT_CORE I think we should just accept any hard > maximum. However, to implement core dumps would that be a core server > that actually implemented limits on core sizes and such? Yes. If the limit is zero, then you don't call the crash server at all (we don't call it t

Re: ssh as user: setrlimit failed

2001-10-07 Thread Roland McGrath
> I have found the offending piece of code. > >original_real_uid = getuid(); > original_effective_uid = geteuid(); > > #ifdef HAVE_SETRLIMIT > /* If we are installed setuid root be careful to not drop > core. */ > if (original_real_uid != original_effective_uid) {