From: Travis M. (JIRA) <ji...@co...> - 2006-12-22 05:54:44
|
setuid doesn't correctly set the umask -------------------------------------- Key: JETTY-204 URL: http://jira.codehaus.org/browse/JETTY-204 Project: Jetty Issue Type: Bug Affects Versions: 6.1.0rc2 Reporter: Travis McLeskey Attachments: setuid.diff In the native code for the new (in 6.1) "setuid" feature, an invalid value is being passed to the umask function. In the file extras/setuid/src/main/native/org_mortbay_setuid_SetUID.c, a pointer to the umask function is cast to an integer and passed to the umask function. This is incorrect...the function argument should be passed to umask. The attached patch fixes the problem. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |