apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Re: resend [PATCH] set process attribute uid
Date Mon, 17 Jan 2005 10:27:53 GMT
Joe Orton wrote:
 > On Fri, Jan 14, 2005 at 12:18:04PM +0100, Mladen Turk wrote:
 >>It's been couple of months since I proposed a patch
 >>that will allow setting uid/gid for newly created
 >>processes using apr_proc_create.
 > New warnings:
 > threadproc/unix/proc.c: In function `apr_proc_create':
 > threadproc/unix/proc.c:421: warning: unused variable `rv'
 > threadproc/unix/proc.c:431: warning: unused variable `rv'

I'll remove those two 'apr_status_t rv;' unused declarations.

 > I think it would be much better to define the apr_procattr_user_set
 > interface to fail with some particular (new?) APR_E* error code if the
 > password is not given on platforms which require a password, than to use
 > an apr.h feature flag for this.

to give the users application hint whether to use or disregard
the password.
Also NULL password should mean empty password (I'll fix the win32
code to accept that), so there is no EINVAL.


View raw message