|
From: Chris B. <buc...@us...> - 2012-11-21 17:18:07
|
Update of /cvsroot/sblim/sfcb
In directory vz-cvs-3.sog:/tmp/cvs-serv23993
Modified Files:
sfcBroker.c ChangeLog NEWS
Log Message:
[ 3452703 ] Default http uid used causes unexpected behavior
Index: NEWS
===================================================================
RCS file: /cvsroot/sblim/sfcb/NEWS,v
retrieving revision 1.725
retrieving revision 1.726
diff -u -d -r1.725 -r1.726
--- NEWS 19 Nov 2012 23:07:47 -0000 1.725
+++ NEWS 21 Nov 2012 17:18:04 -0000 1.726
@@ -26,6 +26,7 @@
- 3528056 sfcbd --version doesn't always work
- 3381209 Memory leak inside getClass() used by invokeMethod()
- 3588557 Object path in deliverIndication can remain resident
+- 3452703 Default http uid used causes unexpected behavior
Changes in 1.3.15
=================
Index: sfcBroker.c
===================================================================
RCS file: /cvsroot/sblim/sfcb/sfcBroker.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- sfcBroker.c 9 Nov 2012 22:22:41 -0000 1.66
+++ sfcBroker.c 21 Nov 2012 17:18:04 -0000 1.67
@@ -406,10 +406,7 @@
mlogf(M_ERROR,M_SHOW,"--- Error retrieving http user info from config file.\n");
exit(2);
}
- if (httpSFCB) {
- // This indicates that we should use the SFCB user by default
- httpuid = -1;
- } else {
+ if (!httpSFCB) {
// Get the user specified in the config file
if (getControlChars("httpUser",&httpUser)) {
mlogf(M_ERROR,M_SHOW,"--- Error retrieving http user info from config file.\n");
@@ -434,7 +431,7 @@
}
if (pid == 0) {
currentProc=getpid();
- if (httpuid != -1 ) {
+ if (!httpSFCB) {
// Set the real and effective uids
rc=setreuid(httpuid,httpuid);
if (rc == -1) {
Index: ChangeLog
===================================================================
RCS file: /cvsroot/sblim/sfcb/ChangeLog,v
retrieving revision 1.810
retrieving revision 1.811
diff -u -d -r1.810 -r1.811
--- ChangeLog 19 Nov 2012 23:07:47 -0000 1.810
+++ ChangeLog 21 Nov 2012 17:18:04 -0000 1.811
@@ -1,3 +1,8 @@
+2012-11-21 Chris Buccella <buc...@li...>
+
+ * sfcBroker.c:
+ [ 3452703 ] Default http uid used causes unexpected behavior
+
2012-11-19 Chris Buccella <buc...@li...>
* brokerUpc.c:
|